SONY OpenHAB binding


#1

Hi,
I am a new and inexperienced user of OpenHAB on a RPi3.
I have installed the SONY binder to control my KD-65XE8577. It binds “simpleip” and “scalar”.
I have managed to create “buttons” and “switches” with {channels} discovered as scalar or simpleip,
I have also extracted the IRCC commands from my TV. What I CANNOT do is send a command or create a switch with an IRCC command. I have no idea how to syntax the {channel}…
Any thoughts?


#2

Go to the transform directory in your openhab2 conf directory. Then open the one that contains ircc in its name. You can find the commands there.


#3

Thanks for the reply.
I have read the scalarxxxxxxxxxxxx.map
and for example I need to create a button that sends the following command (found on the .map)
CursorRight=AAAAAgAAAJcAAABOAw%3D%3D
Should I create an item with this command? (how?)

A real example I use with scalar command to open NETFLIX is the following:

In the items file:
Switch Sony_TV_Netflix “Netflix” {channel=“sony:scalar:71d8a8fe-6683-44df-aa48-857dc5f9408a:appControl-com__0sony__0dtv__0com__0netflix__0ninja__0com__0netflix__0ninja__0MainActivity-appstatus”}

in the sitemap file:
Switch item=Sony_TV_Netflix icon=“netflix” visibility=[Sony_TV_Power==ON]


#4

You don’t need to create an item with the command, just link the scalar item in paperUI.

Here’s an example (for ircc, maybe scalar is different)