Created At

Oct 24, 2017

Last Update

Dec 14, 2018

Platforms

HC 2

Views

8693

Download

414

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)

30 Comments,  Want to add comment please login
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.

9280e39ac3a30f33262549c4fce5fff5

How did you "enable all those blank buttons to deploy the .vfib successfully"? I'm also stuck at "Unable to create button...".

993d4912d41d0289abdef50f18bcd455

Ok - I got to the bottom of it - it looks like in Fibaro HC2 4.511 (Beta) the ID (even if setup unique for each) for blank buttons is ignored. I had to enable all those 'blank' buttons to deploy the .vfib successfully. Looks like a Fibaro bug to me - I will see if I can report it somehow.

993d4912d41d0289abdef50f18bcd455

Hello, I'm facing an issue adding the Virtual Device through importing the .vfib file - "Unable to create button - selected ID already exists." Is there any way to work around that? Thanks