Open bvdbos opened 7 years ago
I tried at the time. The commands listed are the only ones I got to work. Switching sources can be done by sending a remote key which obviously isn't ideal.
I didn't look into the android remote side of things so it might be possible to switch source directly using that interface.
On 2 Jul 2017, at 15:55, Bas van den Bosch notifications@github.com wrote:
judging : http://www.supportforum.philips.com/en/showthread.php?18281-HTTP-Request-for-55PUS8909-TV&p=103119&viewfull=1#post103119 more options should be possible to control the tv, including source etc?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I just got your script paired and running with my TV 55PUS7101. Found the following reference about the JointSpace API http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html and tried to get some more methods working.
I succeeded in changing the ambilight colors.
Check the current ambilight mode
GET 6/ambilight/mode
When it is internal you need to switch it to manual by doing a POST.
POST 6/ambilight/mode
{ "current" : "manual" }
Next retrieve the current led colors using:
GET 6/ambilight/cached
And change them by doing a POST again.
POST 6/ambilight/cached
{"layer1":{"left":{"0":{"r":255,"g":0,"b":0},"1":{"r":255,"g":0,"b":0},"2":{"r":255,"g":0,"b":0},"3":{"r": ...etc. etc.
Also tried to get the current source (ie hdmi1) and change it but I get a 404 not found on that endpoints unfortunately.
judging : http://www.supportforum.philips.com/en/showthread.php?18281-HTTP-Request-for-55PUS8909-TV&p=103119&viewfull=1#post103119 more options should be possible to control the tv, including source etc?