U4 APIs

Moderators: Gully, peteru

Post Reply
mrcell
Apprentice
Posts: 53
Joined: Fri Jan 02, 2015 10:57

U4 APIs

Post by mrcell » Wed Jun 07, 2023 22:01

Hi,

Just checking if anyone knows whether there are APIs exposed by the U4 that I could hook into from my own apps?

Long story short - the pause button on my remote must have some dust underneath it or something and has become very stubborn. I'm a bit ham fisted and don't want to try opening the remote to clean under the buttons (I'd only break it). I don't like using the Beyonwiz phone app as a remote because the phone time outs make it painful for regular use.

I have my own Windows app that lets me pause the U4 by sending mouse clicks to a browser tab that has an expanded remote widget showing and ideally I'd like to further develop something that talks to the U4 directly rather manipulating a browser tab. My dream is to incorporate voice recognition to have a fully voice controlled remote app if I can find a voice component.

First things first though and I'll be happy for now if there are APIs I can use to send commands to the box. Anyone know the lay of the land on that front?

Regards
Steve

prl
Wizard God
Posts: 32714
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: U4 APIs

Post by prl » Thu Jun 08, 2023 11:15

Do you mean something like the Web API that Open Webif uses? That's documented here: https://dream.reichholf.net/e2web/
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

mrcell
Apprentice
Posts: 53
Joined: Fri Jan 02, 2015 10:57

Re: U4 APIs

Post by mrcell » Thu Jun 08, 2023 11:50

Yes, it's the OpenWebif API I was talking about.

It looks like /web/remotecontrol?command=&type=&rcu= is what I need. I just need to find a list of button codes e.g. 352 means the "OK" button on RCU.

Thanks for pointing me in the right direction.

prl
Wizard God
Posts: 32714
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: U4 APIs

Post by prl » Thu Jun 08, 2023 16:15

mrcell wrote:
Thu Jun 08, 2023 11:50
I just need to find a list of button codes e.g. 352 means the "OK" button on RCU

This may help: https://bitbucket.org/beyonwiz/easy-ui- ... /keyids.py

In particular, "KEY_PLAYPAUSE": 164.
mrcell wrote:
Thu Jun 08, 2023 11:50
Thanks for pointing me in the right direction.

No problem.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Post Reply

Return to “Networking”