Alive check in the Zigbee network

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
ensingg
Posts: 65
Joined: Saturday 22 April 2017 17:35
Target OS: Windows
Domoticz version:
Contact:

Alive check in the Zigbee network

Post 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?
keros
Posts: 77
Joined: Saturday 27 July 2019 0:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alive check in the Zigbee network

Post by keros »

There are somes scripts in the wiki : https://github.com/pipiche38/Domoticz-Z ... md#scripts
Moderator on Easydomoticz.com, the French DomoticZ forum.
French writer for ZigBeeForDomoticZ Plugin Wiki
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Alive check in the Zigbee network

Post by EddyG »

If you are using zigbee2mqtt then you can look here: https://www.zigbee2mqtt.io/information/ ... ation.html
In particular availability_timeout
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Alive check in the Zigbee network

Post by pipiche »

What is the problem you want to solve ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Alive check in the Zigbee network

Post 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.
FlyingDomotic
Posts: 349
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Alive check in the Zigbee network

Post 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...
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Alive check in the Zigbee network

Post by pipiche »

For me , I think the 1st question is what is the problem you want to solve, then we can think about solutions
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Alive check in the Zigbee network

Post by EddyG »

I don't there is a problem anymore, as @ensingg does not respond. ;)
ensingg
Posts: 65
Joined: Saturday 22 April 2017 17:35
Target OS: Windows
Domoticz version:
Contact:

Re: Alive check in the Zigbee network

Post 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
keros
Posts: 77
Joined: Saturday 27 July 2019 0:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alive check in the Zigbee network

Post 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.
Moderator on Easydomoticz.com, the French DomoticZ forum.
French writer for ZigBeeForDomoticZ Plugin Wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest