Closed Skons closed 4 years ago
The official app does not support changing to HDMI input directly either, though i can open the sources menu. So i threw Burp Suite in between and the app showed me that it sent the following commands: {"key":"Source"} {"key":"CursorDown"} (repeat until HDMI is hit) {"key":"Confirm"}
I do not know if this ideal, but it allows for a sequence of sending commands
While i am at it, the following keys are sent by the app, but are not available in the current ha_philips_android.py. Maybe it is overkill, but they are documented now anyhow :) /6/input/key {"key":"Home"} {"key":"CursorLeft"} {"key":"CursorRight"} {"key":"Subtitle"} {"key":"RedColour"} {"key":"YellowColour"} {"key":"BlueColour"} {"key":"GreenColour"} {"key":"Info"} {"key":"Options"} {"key":"Back"} {"key":"Record"} {"key":"WatchTV"} #switch to television {"key":"PowerOff"}
With a GET on the following url, it tries to get the logo of a channel. The 418 is variable /6/channeldb/tv/channelLists/all/418/logo
It appears that all those buttons already have been documented and used elsewhere https://github.com/eslavnov/Pylips
The discussion around this feature has also been held https://community.home-assistant.io/t/philips-android-tv-component/17749/226
See my reaction for a possible solution https://community.home-assistant.io/t/philips-android-tv-component/17749/420?u=ensconce
Sources like HDMI are not available to switch to. I can see all Channels and all installed Apps. I have the 43PUS6412.
Please let me know if any more information is needed or how I can resolve this issue.