Sony BRAVIA Android TV - Made to Entertain
Integrate and control your Sony Android TV with Homey
Introduction
Ricardo, the developer of this app, transfered the app to me. He restarted Homey development and added SDK 3 support for Homey Pro 2023. But for lack of time he can’t continue app support. So I will continue app support and development.
The app
This app imports your Sony BRAVIA Android TV as device into Homey.
Currently some basic controls are available like on/off, volume up/down, channel up/down, mute.
Via flow you can use additional actions like input selection.
Add your TV
In pair view, the Sony TV should be found automatically fi it’s accessible in your network.
You have to set a preshared key in your Sony TV settings to allow app access to your TV. This key is needed during pairing. The pair dialog provides a good explaination and a video showing how to setup your TV (thanks to Ricardo for this).
If the TV can’t be found, you can add it using the IP address in manual pair dialog. It’s shown automatically if no Bravia device could be found in your network.
The Sony API
The app uses the Sony API (IP Control)
It contains an IRCC IP API for sending remote control commands and a REST API to interact with the device.
TVs standby mode
To turn on your TV via app it’s needed to activate the “Powered on by apps” or “On (Network standby)” in network setting. You get this dialog in TV settings, Network & Internet, Remote start.
The option “Power on by apps” increases stand-by power consumption by ~25 W (~220 kWh/year).
If "On (Network standby) is activated, a short poll intervall can still precent the TV going to sleep. Depending on the TV it can stay online (no deep sleep mode) if the poll interval is less than 2 minutes.
In this case, please increase the poll interval until your TV goes into sleep mode.
When selected “off” and the TV is in sleep mode, you can try to ude the WoL (wake on LAN) flow action to wake up the device. The flow card check the device availability for ~20 seconds. If the flow card finished, you can switch on the device from the app or flow.