Page 1 of 1
Alive check in the Zigbee network
Posted: Sunday 26 September 2021 12:37
by ensingg
How can I detect a not working device ?
When I disconnect my INNR SP220, I cannot see a 'dead' sign anywhere on the dashboard.
So there is not keep-alive communication in idle?
When I sent a command to the SP220 the timeout counter is starting to increase. Is this my only way of seeing that something is wrong?
Re: Alive check in the Zigbee network
Posted: Sunday 26 September 2021 13:18
by keros
Re: Alive check in the Zigbee network
Posted: Sunday 26 September 2021 13:32
by EddyG
If you are using zigbee2mqtt then you can look here:
https://www.zigbee2mqtt.io/information/ ... ation.html
In particular availability_timeout
Re: Alive check in the Zigbee network
Posted: Sunday 26 September 2021 17:17
by pipiche
What is the problem you want to solve ?
Re: Alive check in the Zigbee network
Posted: Sunday 26 September 2021 19:10
by Thorgal789
Its not possible to detect immediately a "disconnected" device, because the device can't send a message to say it is disconnected.
The only way to do that is monitoring the delay with the last time the device have send a request, but this don't work at the second. Some solution can check for device response and mark it as disconnected if there is a timeout, but you need to send a request for that.
And on zigbee, you need to never disconnect yours devices.
Re: Alive check in the Zigbee network
Posted: Tuesday 28 September 2021 22:44
by FlyingDomotic
What you can do is sending report very minute from the device you want to check, and check every minute in Domoticz if you got some update.
If device is powered, you may decrease the interval to few seconds, but load will increase...
Re: Alive check in the Zigbee network
Posted: Tuesday 28 September 2021 22:56
by pipiche
For me , I think the 1st question is what is the problem you want to solve, then we can think about solutions
Re: Alive check in the Zigbee network
Posted: Wednesday 29 September 2021 12:23
by EddyG
I don't there is a problem anymore, as @ensingg does not respond.

Re: Alive check in the Zigbee network
Posted: Wednesday 29 September 2021 12:26
by ensingg
I must be sure that a switch is working.
As an administrator i like to monitor as best as in can.
I think for now I know enought.
Made a scheduled script that check via rest api.
Thanks
Re: Alive check in the Zigbee network
Posted: Wednesday 29 September 2021 21:09
by keros
If you want to be really be sure if a switch is On or Off, you can check the power usage with a wattmeter.