i’ve looked at the ozw_log and can provide a bit furter information.
a single press returns
2017-12-29 15:38:26.458 Detail, Node006, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x06, 0x05, 0x5b, 0x03, 0x4c, 0x00, 0x03, 0xe4
2017-12-29 15:38:26.458 Detail,
2017-12-29 15:38:26.463 Info, Node006, Received Central Scene set from node 6: scene id=3 in 0 seconds. Sending event notification.
2017-12-29 15:38:26.463 Detail, Node006, Refreshed Value: old value=0, new value=0, type=int
2017-12-29 15:38:26.463 Detail, Node006, Changes to this value are not verified
2017-12-29 15:38:26.463 Detail, Node006, Notification: ValueChanged
“scene id=3” is button 3 and I can register that in ha.
“value 0” is single press, i guess
a long press returns:
2017-12-29 15:38:50.325 Detail, Node006, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x06, 0x05, 0x5b, 0x03, 0x4d, 0x02, 0x03, 0xe7
2017-12-29 15:38:50.325 Detail,
2017-12-29 15:38:50.326 Info, Node006, Received Central Scene set from node 6: scene id=3 in 2 seconds. Sending event notification.
2017-12-29 15:38:50.326 Detail, Node006, Refreshed Value: old value=0, new value=2, type=int
2017-12-29 15:38:50.326 Detail, Node006, Changes to this value are not verified
2017-12-29 15:38:50.326 Detail, Node006, Notification: ValueChanged2017-12-29 15:38:50.388 Detail, Node006, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x06, 0x05, 0x5b, 0x03, 0x4e, 0x02, 0x03, 0xe4
2017-12-29 15:38:50.388 Detail,
2017-12-29 15:38:50.388 Info, Node006, Received Central Scene set from node 6: scene id=3 in 2 seconds. Sending event notification.
2017-12-29 15:38:50.388 Detail, Node006, Refreshed Value: old value=2, new value=2, type=int
2017-12-29 15:38:50.389 Detail, Node006, Changes to this value are not verified
2017-12-29 15:38:50.389 Detail, Node006, Notification: ValueChanged2017-12-29 15:38:50.797 Detail, Node006, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x06, 0x05, 0x5b, 0x03, 0x51, 0x01, 0x03, 0xf8
2017-12-29 15:38:50.798 Detail,
2017-12-29 15:38:50.798 Info, Node006, Received Central Scene set from node 6: scene id=3 in 1 seconds. Sending event notification.
2017-12-29 15:38:50.798 Detail, Node006, Refreshed Value: old value=2, new value=1, type=int
2017-12-29 15:38:50.798 Detail, Node006, Changes to this value are not verified
2017-12-29 15:38:50.798 Detail, Node006, Notification: ValueChanged
again “scene id=3” is button 3.
I guess that value=2 is button pressed, since it will keep firing (the middle section of the log example will appear multiple times) as long as i press down on the button.
and “value=1” is button released, since it always ends with that.
does anybody have an idea how that can be registered in HA?
i can trigger an automation by registering the event “zwave.scene_activated” on the scene id.
but what about the value changed?
how do i trigger on that, or can i use a condition template or something