-
-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Identify dead devices #4207
Comments
Hi. Which controller do you have? Can you also set logging for zwavejs to debug and save it to a file, so we can see what's happening when things are dying. |
I use a Z-Wave.Me UZB. Yes, I can do that. I just removed the battery from a smoke sensor. |
48 hours after removing the battery and there is not a single entry for the node in the log. And the status is still asleep. |
Sorry, I read this post too quickly. There's been so many post about 700-series sticks to stall and ending up nodes turning dead. I somehow see your worries in situations where you wake up another fire alarm (e.g if it supports FLirs) if one triggers, but would you rely on it? I would rather trust association groups, or built in communication protocols if they have? Not sure how you would expect a node to wake up if they don't supports the the WakeUpCC? They have to wake up to receive it - and respond to it, either automatic or manually. Maybe the controller can presume the device is dead if it hasn't reported alive within the wakeup interval x 2? (The time it should wake up itself + repond to a ping if the first one failed). I don't know. |
My question wasn't aimed at waking up devices. Also, for example, a temperature sensor that no longer works because the battery is empty can be annoying. That's right, with Z-Wave you have the wakeup interval. As far as I know, there is no such thing with Zigbee. In this respect, you don't have to assume a fixed 25h, but the wakeup interval + x%. At least for passive/battery powered devices. (I read about the problems with the 700 series. Luckily before I bought one.) |
The usecase behind this issue makes sense, but I'm not decided yet what is the best way to do this. |
No, but to be able to ping a device it needs to support to be woken up. That's why I though maybe mark it as «presumed dead» when
|
Right now all entities but the node status sensor get marked as unavailable when a device is marked dead by the driver. We were actually just having a separate discussion about whether this is the right behavior because there are cases where the driver may think the device is dead but the next action against the device would cause it to respond and make the node alive again, but there's a catch 22 because the entity is unavailable in HA so you can't perform normal actions against the device to revive it (you can ping it, but there's no UI component to do that so it's not as easy of a recovery setup). In your example, the false alarm above would be after the fire alarm was marked dead but you put the battery back in - something needs to happen to tell the driver that the node is alive, otherwise it's still dead even though it's functioning again. A polling mechanism reduces the false positives in either direction (we think it's dead but it's alive or we think it's alive but it's dead) but comes at a cost of battery life and extra processing cycles. I don't know what the optimal solution is here either but these two discussions are somewhat related and I will be keeping an eye on this accordingly. |
Okay, that's correct. However, in the case of Zigbee2mqtt, sleeping devices are not pinged either.
I tested it: you are right. I don't know why I remembered it differently.
At least the devices I tested report back automatically as soon as they have power.
If it only pings mains powered devices, it will not affect a battery. |
I have at least one that doesn't. Only when you physically interact with it, or try to control it via Z-Wave. To reiterate, we need to solve these points:
And at the same time we need to
|
Some thoughts:
As there is a fear of false positives why not implement a broad Active / Passive approach but let users opt into it as a beta feature and provide feedback.. it may be a good idea to allow excluding device classes and individual devices if it becomes a problem. |
Just to make sure I understand this... if a battery powered device fails to check in with the controller it will stay "asleep" into perpetuity? Isn't that in direct contrast with the principles of zwave guaranteeing reliability?
|
Because this issue is still open and a solution has not been implemented yet. |
I think a working report/notification for devices battery level would go a long way here to solve some of this at least. None of my battery devices reports any change in battery level, and I found this quite annoying, especially since the battery sensor entity is discovered. |
Is your feature request related to a problem? Please describe.
Hi. I'm new to Z-Wave, but have more experience with Zigbee.
Above all, I miss the fact that devices that do not report regularly are marked as dead.
Describe the solution you'd like
Zigbee2mqtt solves this e.g. like this:
See https://www.zigbee2mqtt.io/guide/configuration/device-availability.html for more details.
Describe alternatives you've considered
Is this the right approach? Or is there already a solution to the problem that I'm not aware of?
How do you identify a dead passive device such as a smoke detector?
Additional context
Wouldn't it be correct to set the entities of dead nodes to "unavailable" when working with Home Assistant? Except possibly the node status.
The text was updated successfully, but these errors were encountered: