Created At

Oct 24, 2017

Last Update

Dec 14, 2018

Platforms

HC 2

Views

9973

Download

482

FUNCTIONS

  • VD enable to control basic functions 

INSTALATION

TV Setup

  • Go to the Settings -> Network -> Home network -> IP control
  • Set Simple IP control to On
  • Set Authentication to Normal and Pre shared key
  • Set your own Pre shared key

Scenes

  • login to your Fibaro Home Center
  • go to the Scenes tab
  • create a new one scene called Sony Bravia Pilot
  • set Max. running instances to 1
  • set Run scene to manual
  • select Scene hidden
  • go to advanced tab
  • paste sony-bravia-pilot.lua content to the textfield ()
  • save your scene
  • scroll down and copy scene
  • paste sony-bravia-app-control.lua content to the textfield
  • back to the general tab
  • rename copied scene as Sony Bravia App Control
  • save your scene 

Variable 

  • go to the Panels tab
  • click on the Variables Panel at the left menu
  • create variables: SB_APP, SB_APPCTRL_SCENEID, SB_IRCC, SB_PILOT_SCENEID, SB_PSK, SB_IP
  • set your sony bravia key to the SB_PSK variabe
  • set your Sony Bravia Pilot scene id to the SB_PILOT_SCENEID
  • set your Sony Bravia App Control scene id to the SB_APPCTRL_SCENEID 

Virtual Device

  • go to Devices tab
  • click on the Add or remove device at the left menu
  • scroll down to the To add the Virtual Device section and import a fibaro-sony-bravia-pilot.vfib
  • set ip of your Sony Bravia TV
  • assign a new created device to your room

If you want to control more than one device just import fibaro-sony-bravia-pilot.vfib multiple times. (scenes and variables should be created only once)

Latest version you can find here or inside attachment.

Changelog:

17.05.2018: 1.2.1.1

  • add instruction how to setup your Sony Bravia TV to be ready to be controlled by Fibaro Sony Bravia Remote Control

28.04.2018: 1.2.1

  • add dedicated IRCC code for the TV and TV/RADIO buttons

28.04.2018: 1.2

  • added support for multiple devices

16.04.2018: 1.1

  • added ON/OFF buttons (at the bottom of the remote)

33 Comments,  Want to add comment please login
7dbed89cddeabb4f53d1d5369983f3e6

Is it possible to read information from the TV? On/Off, EPG...?

7dbed89cddeabb4f53d1d5369983f3e6

and it seems like HC2 makes a mess of the button ID after saving :/ v.4.560

7dbed89cddeabb4f53d1d5369983f3e6

You have to change the ID of the buttons. On line 1 (SRC) I started with 0_0 on the button furthest to the left, next 0_1, third button 0_2... On line 2 I started with 1_0 and so on

E7984793c33e50a0f1521c666cf93a46

I'm also getting the error message "Unable to create buttons", how do we go about fixing this?

2459ec47513490e03445724ad9d1cc88

Worth mentioning that TV port has to be 20060 and I had to hardcode tv password to the lua script because variable panel does not accept string value.