Hi, I need help.
I switched to Openhab2, but kept using zwave-1 binding, switching other bindings to 2-nd version step-by-step. Everything worked well on zwave-1, but now it’s turn for this binding to be upgraded. So, yesterday I uninstalled zwave-1 binding and intalled the latest stable zwave-2.1.0.
I have several TZ66D Dual Paddle Wall Switches. They have two paddles - the left one is for swithing on/off the locally connected load, the right one is for switching remote devices via BASIC command class associations. In my setup the right paddle group is associated with the controller in order to trigger some rules on switching them. But at the same time I of course need to know the state of the switch itself (which is controlled by the left paddle).
With z-wave version 1 binding I solved this problem in the following way:
Switch Light_Hall "Hall Light" {zwave="7:command=switch_binary,refresh_interval=30"}
Switch Somebody_At_Home "Somebody At Home" {zwave="7:command=basic"}
The “Light_Hall” item is for the switch state itself (left paddle) - I can see in UI and use in rules the actual state of the switch.
“Somebody_At_Home” item is for the right paddle state - when I “switch it off” (tap down), the leave home rule is triggered, when I “switch it on” (tap up), the return home rule is triggered.
In z-wave version 2 binding I see the only channel “zwave:device:875a08ad:node7:switch_binary”, and it’s pretty clear that if I do like this:
Switch Light_Hall "Hall Light" {channel="zwave:device:875a08ad:node7:switch_binary"}
Switch Somebody_At_Home "Somebody At Home"
{channel="zwave:device:875a08ad:node7:switch_binary"}
My leave home/return home rules will be triggered each time I switch my Hall light on/off using its left paddle.
So, I cannot figure out how to solve this quiz using 2-nd version of the binding. And it’s the critical part of my system, as I have several switches of this kind, and in all of them the right paddle is associated with the controller to trigger different rules. Does anybody know?