All my ZWave devices are suddenly unavailable, but still mostly work

Hi,
I’m running 2021.7.4 as a docker container on a QNAP NAS.
An Aeotec Gen5 Z-Stick is plugged into the device and mapped into the container.
HA still uses the “classic” zwave: integration configured via configuration.yaml.
This has been working for years now.

Yesterday, I had to install a firmware update on the NAS and reboot it - not sure if the FW update is of any relevance here.
When HA came back up, I noticed that all my zwave.* devices were (and still are) reported as Unavailable - except for the Z-Stick, which is in Ready state.

Most of the devices create some associated sensor.DEVICE oder binary_sensor.DEVICE entities which seem to be working ok - for example, I have an Aeotec Multisensor 6 in my kitchen named “aeotec_ms6_kitchen” and all the associated sensors like e.g. sensor.aeotec_ms6_kitchen_relative_humidity report sensible values.
On the other hand, I also have a couple of Everspring Window sensors and their binary_sensor.everspring_sm103_door_window_sensor_sensor_N entities are also shown as Unavailable.

The log file does not reveal anything to me; there’s a lot of “complaining” about nodes that are not ready on HA startup, which I think is normal.

# grep homeassistant.components.zwave home-assistant.log
2021-07-29 21:30:04 INFO (MainThread) [homeassistant.components.zwave] Z-Wave USB path is /dev/ttyACM0
2021-07-29 21:30:07 INFO (MainThread) [homeassistant.components.zwave] Z-Wave network autoheal is enabled
2021-07-29 21:30:22 INFO (SyncWorker_1) [homeassistant.components.zwave] Starting Z-Wave network
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 1 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 2 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 3 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 4 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 5 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 6 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 17 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 23 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 27 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 28 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 30 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 31 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 32 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 33 not ready after 30 seconds, continuing anyway
2021-07-29 21:30:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 34 not ready after 30 seconds, continuing anyway
2021-07-29 21:31:24 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Sensor (node_id: 28) ready after 1 seconds
2021-07-29 21:31:24 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Sensor (node_id: 30) ready after 1 seconds
2021-07-29 21:31:25 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Sensor (node_id: 31) ready after 2 seconds
2021-07-29 21:31:34 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Battery Level (node_id: 28) ready after 11 seconds
2021-07-29 21:31:36 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Battery Level (node_id: 30) ready after 13 seconds
2021-07-29 21:31:38 INFO (Dummy-11) [homeassistant.components.zwave] Z-Wave network is ready for use. All awake nodes have been queried. Sleeping nodes will be queried when they awake
2021-07-29 21:31:38 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity AEON Labs ZW100 MultiSensor 6 Battery Level (node_id: 31) ready after 15 seconds
2021-07-29 21:31:38 INFO (MainThread) [homeassistant.components.zwave] Z-Wave ready after 75 seconds
2021-07-29 21:31:38 INFO (SyncWorker_6) [homeassistant.components.zwave] Z-Wave polling interval set to 60000 ms
2021-07-29 21:31:44 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 32 Sensor (node_id: 32) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:47 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 33 Sensor (node_id: 33) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:49 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 34 Sensor (node_id: 34) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 28 Alarm Type (node_id: 28) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 28 Alarm Level (node_id: 28) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 30 Alarm Type (node_id: 30) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 30 Alarm Level (node_id: 30) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 31 Alarm Type (node_id: 31) not ready after 30 seconds, continuing anyway
2021-07-29 21:31:53 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 31 Alarm Level (node_id: 31) not ready after 30 seconds, continuing anyway
2021-07-29 21:32:49 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Danfoss Z Thermostat 014G0013 Battery Level (node_id: 2) ready after 1 seconds
2021-07-29 21:33:51 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Danfoss Z Thermostat 014G0013 Battery Level (node_id: 6) ready after 1 seconds
2021-07-29 21:34:43 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Danfoss Z Thermostat 014G0013 Battery Level (node_id: 5) ready after 1 seconds
2021-07-29 21:38:51 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Danfoss Z Thermostat 014G0013 Battery Level (node_id: 3) ready after 1 seconds
2021-07-29 21:39:30 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Everspring SM103 Door/Window Sensor Battery Level (node_id: 32) ready after 2 seconds
2021-07-29 21:39:58 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 32 Alarm Type (node_id: 32) not ready after 30 seconds, continuing anyway
2021-07-29 21:39:58 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 32 Alarm Level (node_id: 32) not ready after 30 seconds, continuing anyway
2021-07-29 21:43:47 INFO (SyncWorker_0) [homeassistant.components.zwave] Z-Wave test_network have been initialized
2021-07-29 22:00:00 INFO (SyncWorker_7) [homeassistant.components.zwave] Z-Wave heal running
2021-07-29 23:16:09 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGK10x Door Opening Sensor Sensor (node_id: 23) ready after 3 seconds
2021-07-29 23:16:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGK10x Door Opening Sensor Battery Level (node_id: 23) ready after 4 seconds
2021-07-29 23:16:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGK10x Door Opening Sensor Alarm Type (node_id: 23) ready after 4 seconds
2021-07-29 23:16:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGK10x Door Opening Sensor Alarm Level (node_id: 23) ready after 4 seconds
2021-07-29 23:49:07 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGMS001-ZW5 Motion Sensor Sensor (node_id: 17) ready after 1 seconds
2021-07-29 23:49:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGMS001-ZW5 Motion Sensor Battery Level (node_id: 17) ready after 4 seconds
2021-07-29 23:49:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGMS001-ZW5 Motion Sensor Alarm Type (node_id: 17) ready after 4 seconds
2021-07-29 23:49:10 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity FIBARO System FGMS001-ZW5 Motion Sensor Alarm Level (node_id: 17) ready after 4 seconds
2021-07-30 01:13:14 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Everspring SM103 Door/Window Sensor Battery Level (node_id: 34) ready after 2 seconds
2021-07-30 01:13:42 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 34 Alarm Type (node_id: 34) not ready after 30 seconds, continuing anyway
2021-07-30 01:13:42 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 34 Alarm Level (node_id: 34) not ready after 30 seconds, continuing anyway
2021-07-30 10:04:34 INFO (Dummy-11) [homeassistant.components.zwave] Z-Wave network is complete. All nodes on the network have been queried
2021-07-30 10:04:35 INFO (MainThread) [homeassistant.components.zwave] Z-Wave entity Everspring SM103 Door/Window Sensor Battery Level (node_id: 33) ready after 2 seconds
2021-07-30 10:05:03 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 33 Alarm Type (node_id: 33) not ready after 30 seconds, continuing anyway
2021-07-30 10:05:03 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave entity Unknown Node 33 Alarm Level (node_id: 33) not ready after 30 seconds, continuing anyway

Does anyone have an idea what’s happening here?

Sebastian

I’ve had host updates kill Zwave
Always keep backup of stick

Power cycle a few devices and see if they connect

You may need reconnect devices

This never happened to me before and I’ve been running HA with ZWave for years now.
The devices are connected - except for the Everspring Window sensors, everything seems to be working, e.g. automations based on the Aeotec motion sensors get triggered; I can set my thermostats without any issues - it’s just that they (i.e. the zwave.* entities) all show up as unavailable although they clearly are working just fine.
I also see all the nodes’ chatter in OZW_log.txt.

Sebastian

Possibly a cache corruption, it’s not an uncommon occurrence with the legacy z-wave integration. To confirm, you can stop HA and check your zwcfg*.xml file. If it looks like there’s a lot of missing information about the nodes (names, mfg, all the command class info), it means the cache was corrupted. You would then either need to restore from a backup, or delete it and re-interview all of the nodes to re-create it.

2 Likes

Thanks! That seems to have been the issue - my zwcfg_*.xml file was basically empty - I restored it from backup and now everything looks good again, HA-wise.

Sebastian