I have a Linear “auxiliary” loadless z-wave wall switch (the kind often used for three-way switch setups). I want to use it as the “master” switch for all my basement lights – a shortcut if you will. When someone taps up on it, I want to active a scene (Basement All On) and when they tap down, a different scene (Basement All Off).
I can’t simply use automation state change to do this, because all the lights in my basement can change in a variety of ways – other scenes activate via other automations, so often times someone will tap the switch down when it’s already in an “off” state.
I noticed when tailing my Z-Wave log on my Hass.io installation that the switch still sends an event when it’s already off and is pressed “off” again (it sets “level=0” both times)
2017-12-28 09:23:59.412 Detail, Node042, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x2a, 0x03, 0x20, 0x01, 0x00, 0xfa
2017-12-28 09:23:59.412 Detail,
2017-12-28 09:23:59.412 Info, Node042, Received Basic set from node 42: level=0. Sending event notification.
2017-12-28 09:23:59.412 Detail, Node042, Notification: NodeEvent
2017-12-28 09:25:18.087 Detail, Node042, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x2a, 0x03, 0x20, 0x01, 0x00, 0xfa
2017-12-28 09:25:18.087 Detail,
2017-12-28 09:25:18.087 Info, Node042, Received Basic set from node 42: level=0. Sending event notification.
2017-12-28 09:25:18.087 Detail, Node042, Notification: NodeEvent
I can’t find where in Home Assistant I can react to these events, though. Does anyone know how I can read those events? Or is there some simpler way to do what I’m aiming for?