Your home at your fingertips

Custom media control – Sony Bravia TV

Home >> Node-RED App Library

This flow demonstrates how to integrate a Smart TV Sony Bravia and control it by offline voice.

These steps show how to integrate  Smart TV Sony Braviawith Aragon. The features allow Snips, the voice assistant to control your Smart TV Sony Bravia such as :

  • switch on/off TV
  • control the volume
  • next/previous
  • pause/play
  • change/choose channels

Step 1 : Install Bravia node

At the top right menu, go to manage palette and install node-red-contrib-bravia nodes which consists of two nodes :

Step 2 : Download the flow via URL below

To place the flow in the Node-Red, first download the flow and import it by clicking the menu on the top right

Select the json file. The flow should now be appeared in Node-Red

Step 3 : Assign the IP address and the Pre-Shared Key (PSK)

At the top right menu, go to configuration nodes and select Sony Bravia TV.

NOTE : It is advised to set a static IP, see the network settings of the TV.

Enter the IP address of your TV and the PSK that you have defined in the set-up. The PSK is defined in the TV Settings | Network menu. You can find the IP of the TV in the Settings under Network Status.

Step 4 : Define siteId of  the TV

This step is important for Snips to know in which site (room) your TV is located and to be able to control it by voice commands. When a hotword is detected, the Aragon will mute the TV. By default, the site id of the TV is “Living room”.

To change it, go to this flow below and double-click the blue node.

Change the name of the room according to the location of your TV. Click Done and save Node-Red.

Step 5 : Train new words

This step is essential for the Aragon to know the updates on the TV favorites. For this, the easiest way is to restart the system by asking it “Hey Snips, please restart”, or click the “restart snips” button in the Snips configuration.


For more details : Pro-BRAVIA | Developer SONY

Download Code: custom-media-sony-bravia-tv.json

How-to import: Video Tutorial