I’ve been using Home Assistant for over a year now and love it. Z-Wave is a PITA to setup, however, and is quite technical. I am using the latest version of Home Assistant on an Intel NUC. I have around z-wave 20 nodes and they were all working fine with my rules (after many hours of setup). Recently, 1 out of the 5 motion sensors stopped detecting motion (possibly after it ran out of batteries, or a NUC restart, or both?), yet it continues to report the other values such as temperature and light. I know the MultiSensors are all meant to have Parameter 5 (Command Set) set to Binary Sensor Report, and not Basic Set. I have tried the sensor on a different network and it works totally fine. I have even bought a new sensor and it connects fine to my z-wave network with home assistant but also does not detect motion. I’ve even disconnected one of the existing sensors and reconnected and now it does not detect motion also, either!
The z-wave log in the z-wave integration shows that the change command is successfully sent and received for Parameter 5 in the same way for both the working and non-working sensors. For example, I can change Parameter 5 on a working sensor to Basic Set, and motion stops detecting, and then I can set it back to Binary Sensor Report and it works again. No amount of changing the command for non-working sensors, and previously working sensors which have been removed and added to the network, will get motion being detected again.
I have had a look to the zwcfg_0xnnnnnnnn.xml file to compare working and non-working nodes and have found that the nodes that do work look like this:
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
<Instance index="1" />
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
<SensorMap index="0" type="45" />`
<SensorMap index="0" type="61" />
<SensorMap index="0" type="194" />
<SensorMap index="0" type="210" />
</CommandClass>
Whereas the nodes that do not work, look like this:
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
<Instance index="1" />
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
<SensorMap index="0" type="240" />
</CommandClass>
All Aeotec MultiSensor 6 motion sensors are set to Binary Sensor Report.
So it looks like they are missing some sensor maps. I know this is not a hardware issue and the simple act of removing the node and re adding it (which HA does successfully according to the logs and the successful functioning of the rest of the sensor) produces a node with 1 sensor map in zwcfg and which does not detect motion.
I’ve spent days on this problem, anyone got any ideas? I really don’t want to reset my Aeotec Z-wave stick and start again with pairing all devices and setting up all the rules again due to changed IDs! Please save me!