What am i doing wrong here? I’m trying to listen for zwave events/notifications so I can start to build my integrations but i never see any in the log. Am I doing this right?
I have zwavejs configured fine and i’m able to turn lights on and off from within HA. I’ve triggered a bunch of value changes and scenes but they don’t show up as events here.
Scene events (both Activation and Central) arrive as zwave_js_value_notification events. Make sure you don’t have any whitespace in the text box or it won’t work. Otherwise, you can watch the driver logs to see if scene events are actually being emitted. https://www.home-assistant.io/integrations/zwave_js/#how-to-access-the-z-wave-logs
I’ll have to dig more. I assume I should also be seeing the events when my lights are turned on and off (the lights do have an association to report realtime as this was working on Homeseer)
–LOG–
Scene example
2022-11-04 18:24:32.598 INFO Z-WAVE: Node 9: value notification: 43-0-sceneId 14
2022-11-04 18:24:32.599 INFO Z-WAVE: Node 9: value updated: 43-0-dimmingDuration default => 0s
2022-11-04 18:24:32.620 INFO Z-WAVE: Node 9: value notification: 43-0-sceneId 14
2022-11-04 18:24:32.620 INFO Z-WAVE: Node 9: value updated: 43-0-dimmingDuration 0s => 0s
2022-11-04T18:25:29.720Z CNTRLR [Node 009] treating BasicCC::Set as a report
2022-11-04 18:25:29.752 INFO Z-WAVE: Node 9: value added 9-32-0-currentValue => 0
2022-11-04 18:25:29.753 INFO Z-WAVE: Node 9: value updated: 32-0-currentValue 0 => 0
Switch example
2022-11-04 18:30:56.884 INFO Z-WAVE: Node 49: value updated: 38-0-targetValue 20 => 58
2022-11-04 18:30:56.885 INFO Z-WAVE: Node 49: value updated: 38-0-duration 0s => 0s
2022-11-04 18:30:56.886 INFO Z-WAVE: Node 49: value updated: 38-0-currentValue 20 => 58
No, you won’t see events for the switch turning on and off, that’s what entity states are for, unless you use the trigger platform events, which are not visible in Dev Tools.