Does anyone have a script that summarizes broken Zigbee and Z-Wave devices?
This script shows āunavailableā devices:
But I donāt know if "unavailable"is the same like ābrokenā.
If you know a good way to determine how a device shows it is ābrokenā we might be able to create something, as just ānot reported in a dayā (which already has a few HomeyScripts for that purpose) doesnāt mean it is broken, example, I have Aeotec doorsensors that only sends the battery level if it has changed from previous value, and some doors I donāt open in the winter so donāt send anything for several weeks.
The āIāve woken upā signal isnāt available for anything besides the Homey Z-Wave core.
Zigbee does have a ālast seenā option, but that is also for only Homey Pro (early 2023), it isnāt there for the older versions (I believe).
It is pretty hard to determine if a device is broken yes or no with Homey, especially with the mix of battery and mains powered (and for Z-Wave also FLiRS devices).
Also for Z-Wave the āUnavailableā tag doesnāt always mean it is broken (99.9% of the time it doesnāt).
Hmmmm @Caseda I didnāt knew that.
Too bad, I hoped that every device would send a āheartbeatā every day, that would have made it a lot easier to check.
And I know there is a lot to do about ābrokenā" devices.
In general at this moment I donāt have a lot of ābroken deviceā issues.
But for example, a doorsensor didnāt report a door open doesnāt by definition mean the door isnāt opened but could also mean the device is broken.
I am not a programmer, and not by far familiar with Homey Script and I copy pasted something and played around with the ālast seenā option for Zigbee.
This kind of idea works for me at this moment for Zigbee.
But it is ā¦ how shall I call it, amateur ārumbling in the marginsā.
And I had hoped that there was a somebody who created a nice clean script voor Zigbee aswell as Z-Wave.
You can try this flow below, script is included.
Itās not 100% accurate, but helps me a lot to report on āsuspectā devices.
Thank You @Peter_Kawa !