I have a window sensor (Neo NAS-DS01Z) paired to my Aeotec gen 5 stick and exposed to HA via zwavejs2mqtt.
The binary sensor of the device shows as “unknown” in HA but the state shows correctly (false) in the zwavejs2mqtt control panel.
I never look at that sensor so I’m not sure how long it has been like that.
And I have 3 other of the same model sensors that work perfectly fine so I know it’s not a compatibility issue. I can’t see anything obviously different in the configuration of this device compared to the others that are working correctly.
I downloaded the diagnostics info from within the device configuration section and I believe that it’s showing up correctly in there as “false” as well so I think HA should be reading the state correctly.
Are you using the websocket connection or MQTT? In case of MQTT, can you check the correct value is published? Does re-interviewing the device help? Does the value update in ZWaveJS2MQTT web interface when the state changes? Can you verify the notification report settings and the group associations for the nodes that are and aren’t working?
I don’t see any configuration settings for those in the zwavejs control panel.
but as far as I can see there is no differences in the config between the three working sensors and the single non-working one.
well that’s going to be a problem…
I just tried to open the window and it’s stuck. hard.
as I said I never look at that sensor because the window rarely gets used. So I guess i’ll need to fix that before I can test if the detector actually changes state. Gotta love old houses.
but right now in zwavejs the binary sensor representing the state is false but the notification is undefined. the other working ones actually have a state in there (“door/window is closed” or “door/window is open”).
I guess the HA binary sensor gets updated by the “notification” in zwavejs and not the “binary sensor” as I assumed?
non-working device:
working device:
I guess I could un-pair it an re-pair it to see if that helps.
But if the window doesn’t open I guess having a sensor for it is kind of moot now.
2.Basic Set Level
Basic Set Command will be sent where contains a value when the door/window is
opened or closed, Z-Wave controller or Z-Wave gateway will take it for
consideration; for instance, if a lamp module receives the Basic Set Command of
which value is decisive as to how bright of dim level of lamp module shall be.
Function: Basic Set
Parameter Number: 2
Parameter Size: 1 Byte
Available Settings: 0, 1 - 99 or 255.0 - OFF, Alarm cancelling or turning a device
off;1 - 99 or 255 - ON (Binary Switch Device); Dim Level (MuItilevel Switch Device)
Default Setting: 255
Same goes for the “Binary Sensor Report Command” I think.
That might be different between the working/non-working devices. Could you verify?