Hi, Y’all,
I can’t seem to find a way to provide the equivalent of Z-Wave scene/key functionality in OH2. E.g., the HomeSeer WS100+ allows multiple taps on the switch paddle to cause different scene activation. In OH1/ZW1.9, the item would be specified like this:
Switch GarageLights "Garage Lights" { zwave="15:command=SWITCH_BINARY,refresh_interval=60" }
Number GarageLights_1TU "Garage Lights_Scene 1TU" { zwave="15:command=CENTRAL_SCENE,scene=1,key=0" }
Number GarageLights_2TU "Garage Lights_Scene 2TU" { zwave="15:command=CENTRAL_SCENE,scene=1,key=3" }
Number GarageLights_3TU "Garage Lights_Scene 3TU" { zwave="15:command=CENTRAL_SCENE,scene=1,key=4" }
Number GarageLights_1TD "Garage Lights_Scene 1TD" { zwave="15:command=CENTRAL_SCENE,scene=2,key=0" }
Number GarageLights_2TD "Garage Lights_Scene 2TD" { zwave="15:command=CENTRAL_SCENE,scene=2,key=3" }
Number GarageLights_3TD "Garage Lights_Scene 3TD" { zwave="15:command=CENTRAL_SCENE,scene=2,key=4" }
(NB: An item receives an update when its corresponding multi-tap takes place. Rules can then take advantage of these updates to do clever things.)
Unfortunately, after the Thing is found in OH2, the only relevant channels that show up are two channels called Scene Number with no further descriptions or options:
Which of these is the correct channel? Is there any difference between the two?
I’ve done my best Googling and have come up dry, so any help you can provide will likely be useful for many others to come.
(I do love the fact that I have OH1 on one SD card and OH2 on the other, so swapping cards WOW THOSE THINGS ARE TINY is all that’s required to revert to my old installation. Highly recommend this path to anybody considering going from OH1 to OH2 as long as your eyesight and manual dexterity are both in good shape.)
Thanks,
Bill
[Edited based on the details found in this post. Whereas I assumed, before and incorrectly, that there would be one channel created per scene and key combination, it seems that the channel passes the scene and key back as a single decimal value in the form scene.key
.]