Need way to check if zigbee is offline and STAYS offline

i have the following rule for detecting a zigbee crash usually on low memory but recently when i was try to re-pair a device i restarted zigbee and it fired.. i don;t see a way to say is oflline and stays that way for x time, or even use a delay with an if and recheck.. any suggestions thanks..

@bravenel

1 Like

A location event does not result in a state that can be tested, so Stays is not available. Perhaps you could use a Wait for Event with a timeout to get the same outcome. Wait for ZigbeeOn...

1 Like

Good idea thanks sonof ot tomes out it is still.off and i reboot.

I find it useful to find out about an unwanted zigbee radio reboot.

ok next question how do i detect the timeout as it is not a device.. ie

your example
Set Timeout to %device%
IF (Timeout = 'timeout') THEN
xxxxx
ELSE
yyyyy
ENDIF

most likely wont work here. thanks.

Timeout is part of the Wait for Event, not something separate.

So the Wait will complete in the first to occur or 2:00 or ZigbeeOn. You can tell which by inspecting %value%, which will be "timeout" if that is what happened. You have to set a String variable with %value&, and then test that against "timeout".

2 Likes

On my hub the very occasional zigbeeOff events usually recover in a few seconds with a zigbeeOn event (YMMV). I use the following RM to report on these hub conditions.

not working.. any idea thanks..


it does seem to work with device not value as you mentioned..


ok new final rule.. thanks for all the help

Sorry, bad memory about what gets set by timeout.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.