antonioparraga / braviarc

Python library for Sony Bravia TV remote control
MIT License
79 stars 41 forks source link

Is possible to send to Bravia a command for open a youtube video/url? #37

Open Barabba11 opened 3 years ago

Barabba11 commented 3 years ago

Hi mates, please excuse me to open an issue to ask a question, I hope you may help to clear my problem, the way to open Youtube app is welle discussed and supported, but what is the sense to open app without play a video? I don't understand there is any documentation about passing Youtube some parameters, my goal is to create with Node Red scenarios where TV is used, for example showing a fireplace. If it's not supported, any other way/trick to achive that? Maybe creating a shortcut on the home containing the url too?

In all the documentation I read I've found this that may sound interesting somehow.. Thank you for your suppport!

REST-API HTTP Request Example (Pre-Shared Key: “1234”)

POST /sony/system HTTP/1.1
Host: 192.168.0.1
Accept: */*
Cache-Control: no-cache
Connection: close
Content-Type: application/json; charset=UTF-8
Pragma: no-cache
X-Auth-PSK: 1234
Content-Length: 70

{"method": "getPowerStatus", "params": [], "id": 50, "version": "1.0"}