I haven’t seen anything regarding this but I suppose it’s possible if you know the usual commands from here and the URIs from above?
You could create an automation based on the usual inputs to search a program and start it? Might be a long automation to call each up, down, left, right, return etc.
I used the Curl command on Windows CMD specifically to retrieve the URI’s so I could build a custom media player card which I did using Kalkih’s Mini Media Player.
Another reason I wanted the Curl was to generate a Sensor/List with all the URI’s. But couldn’t get that working… My thread is here if your interested.
Looks good that.
I’ve no use for a remote yet as I tend to use the apps built into my Sky Q box (TV service).
But I thought it may be good to possibly have a button in ha that swaps picture modes over.
Hi Guys, I am new here, and I have been trying a long time to create my Sony TV Bravia control at HA. I need your help…
I ve installed HACS and Bravia TV PSK
I ve connected the TV and HA, It iss working (created de TV on CONFIGURATIO.YAML)
media_player:
- platform: braviatv_psk
host: 192.168.20.20
psk: sony
mac: CC:98:8B:0E:47:D1
amp: True
android: True
time_format: 12H
user_labels: True
name: MyBraviaTVnew
It is working
After that I ve edited services.yaml (inside the braviatv_psk) and created a service:
No need to create a new service, and you shouldn’t really be modifying the services.yaml that comes with the integration. The standard HASS media player support I think two ways of doing channel up/down for this integration.
Use media_player.next_track service (or previous_track) which I can see the integration does a channel up/down for.
Use media_player.play_media (not media_play - that is play/pause) with a media_id of “ChannelUp” or “ChannelDown”. This method can also be used to send pretty much any button from the remote.
Also it looks like there is also a bravia_psk.bravia_command service which takes command_id the same as for play_media.
Like @RogTP
I am all set up but also i would like to create a button Netflix on the dashboard, that would start Netflix.
I found this script, i am not sure what to do with it.
In what way did it not work? Did it not start Netflix? Or did the script error? Were there any errors in the logs?
Bear in my I never used this, you just asked what you should do with the script to trigger it from the UI, so I pointed you at how to use a button to trigger a script. I have no idea if the script you have actually works.