Hi all, I really want this component to work on my homeassistant installation… but I’m using docker on synology.
How can I install this plugin ? or when will it be available in the releases ? Does somebody know this ?
thanks!
Hi all, I really want this component to work on my homeassistant installation… but I’m using docker on synology.
How can I install this plugin ? or when will it be available in the releases ? Does somebody know this ?
thanks!
I found a list with commands…
Standby
Back
Find
RedColour
GreenColour
YellowColour
BlueColour
Home
VolumeUp
VolumeDown
Mute
Options
Dot
Digit0
Digit1
Digit2
Digit3
Digit4
Digit5
Digit6
Digit7
Digit8
Digit9
Info
CursorUp
CursorDown
CursorLeft
CursorRight
Confirm
Next
Previous
Adjust
WatchTV
Viewmode
Teletext
Subtitle
ChannelStepUp
ChannelStepDown
Source
AmbilightOnOff
PlayPause
Pause
FastForward
Stop
Rewind
Record
Online
I want to edit the custom media player file… but have no idea how to start … somebody wants to help
I’m not able to make the pairing succesfull…
Could somebody try to specify how its done?
I saved the philips_2016.py to a new folder (custom) and in my config, i tried to call it… Not any respons or somewhere to find the possibility.
Help
TV: 49PUS6561
I got this working on my 55pus727212, i.e. got the pairing code and could then use the component in home assistant (change volume worked fine).
However, after maybe 5-10 volume adjustment tests, it suddenly stopped working and I have not been able to pair it any more (i.e. nothing happens when doing this). Tried restarting the TV etc, but nothing. Any ideas?
Nice! Please let me know if you want/need any assistance. How did you get the tv to start accepting connections again?
Nice, well … also very interessted to get this solved … so just let us know if you need any help in this matter :slight_smile
I was just trying to set this up too, but was failing from a HASS point of view.
What has to go in configuration.yaml and where does the script have to be saved with what name?
Hello,
In configuration.yaml you have to put:
media_player:
- platform: philips_2016
name: Philips TV
host: 192.168.xxx.xx (your TV Ip address)
username: username (to get this, pair your TV with HomeAssistant using the python script mentioned above)
password: password (to get this, pair your TV with HomeAssistant using the python script mentioned above)
After that, you have to copy the philips_2016.py file to:
/home/homeassistant/.homeassistant/custom_components/media_player
(if you don’t have media_player folder, create it, make sure that you are on homeassistant user if you are running Hassbian)
For my 55PUS6561/12 i have modified the philips_2016.py script to retrieve the TV state and to show the turn on button when TV is OFF, but i cannot upload because i am a new user and i am not allowed to do it. If someone is interested, please reply and i will find a way.
Thanks
How to get the username/password from the python script??
Running the linked script from above will create / display username and password (as mentioned in the first posting, step #2).
Copy philips.py from here on your Raspberrry Pi in a folder (i did it while i was logged with homeassistant user)
Run the script
A code will appear on the TV, write it in the console
After that, username and password will be displayed in the console
I’ll do that tonight…
Do I need first to make the script executable?
No, .py extension is from a python script. Just copy the file to the raspberry pi and run the following command (make sure that before running the command you are in the same location where you put the file):
python philips.py --host 192.168.xx.xx pair
(change your ip address with your TV IP address)
You will see a 4digit code on your TV, insert it in the console and after that you should see the username and password
Awesome that people are working on it. I started on a component, but got frustrated the with the API.
It’s such a bummer that it apparently has less functionality and no documentation at all.
Starting apps is possible judging from the Android TV remote app.
GET activities/current
returns
{‘component’: {‘className’: ‘com.google.android.apps.youtube.tv.cobalt.activity.ShellActivity’, ‘packageName’: ‘com.google.android.youtube.tv’}}
POST activities/launch
That payload needs to be send to the TV.
The TV should then execute the following code:
intent.setComponent(new ComponentName(pkgName, classPathToActivity)
So exactly the same thing the get is returning.
But I get a Bad Request 400, when posting it like this.
Source: https://github.com/suborb/philips_android_tv/issues/5
Thanks @an20dei. It’s working now, but it this all it provides out of the box?
Can it be enhanced / customized somehow?
yeah its pretty limit what you can pull out with the current knowlegde of the API.
lets hope someone are skilled enough to find fix a proper working component
Hi guys,
Is there anyone who managed to make any progress here?
I manage to pair 55POS9002 and set up the component. It can change the volume and mute/unmute the tv.
However, my biggest disappointment is that it’s not even possible to get correct on/off state of the tv. Does anyone know if it’s possible to at least fix the state?
I read in the manual that it’s possible to request API from the manufacturer. Would someone here be able to implement it?
I will put tonight my file (i have modified it a little even i don t know python at all). What is improved:
Such good news! Where will be possible to find your fIle? Will you post here?
Very good news, so i am also interested in the update Python file … Because the current Philips support in HA isn’t working well with my TV.