Hi,
I have an TKB TZ68G Z-Wave socket (link).
I have mapped it as item and can use classic UI or OpenHAB Android app to control it (state does change, socket is turned on/off).
I have a very simple rule to detect the state change, and initiate other actions:
rule LightsOnEZ
when
Item Light_GF_EZ_Schrank changed
then
logInfo("Light", "Licht EZ Schrank " + Light_GF_EZ_Schrank.state)
sendCommand(Light_GF_EZ_Vitrine, Light_GF_EZ_Schrank.state)
end
The socket has also a physical on/off switch. When I press it, the socket is turned on/off. But the rule above is not executed, it receives no event.
Any idea how I can catch the event of the physical button on the socket?