Page 1 of 2

Zigbee devices not responding after long power outage

Posted: Monday 12 August 2019 10:52
by pocock
In one location where I have the Raspberry Pi, Domoticz and Zigate, there was a power outage for approximately 8 hours.

After the power came back, the devices were not communicating with the Zigate any more.

Is this a problem with the Zigate, the devices or something else?

Most of the devices are temperature sensors around a large house. There are also a few smart sockets and bulbs. The smart sockets and bulbs couldn't be controlled from the Zigate after the outage and I had to re-join them but some things are not joining again even when I put the Zigate in Permit Join mode and press the buttons on the devices.

Re: Zigbee devices not responding after long power outage

Posted: Monday 12 August 2019 12:18
by pipiche
I'm afraid this is a normal behaviours of Zigbee network. When a device cannot reach its controller , then it send a Leave message and look to join a network. After a while , The device (and especially the Xiaomi) just stop working and need to be repaired.

Re: Zigbee devices not responding after long power outage

Posted: Tuesday 08 October 2019 22:33
by domogijs
I have the same problem with a bulb. I had to cut the power but now i am not able to join the bulb again. Zigate is in permit join mode and i tried:
Give on /off command from domoticz
Join again by 6 times on and off
Soft restart zigate

What to do?

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 10:01
by pipiche
What type of Bulb do you have ? How long what the power outage ? If it is few minutes , the bulb should be back right without any interaction.

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 18:04
by domogijs
It is an IKEA bulb, the power outage was a day.

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 18:09
by pipiche
domogijs wrote: Wednesday 09 October 2019 18:04 It is an IKEA bulb, the power outage was a day.
will do a test and let you know.

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 19:55
by domogijs
Ok thank, if you need a log or something. Let me know

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 21:24
by pipiche
At least, I have done during the past days a power outage of Legrand devices for about 8 to 9 hours ( Smart Plug, Switches and micromodule) without trouble.
Will do the Ikea Bulb now

In case you want to share logs, please feel free to drop the file here.

Re: Zigbee devices not responding after long power outage

Posted: Wednesday 09 October 2019 22:02
by lost
pipiche wrote: Monday 12 August 2019 12:18 I'm afraid this is a normal behaviours of Zigbee network. When a device cannot reach its controller , then it send a Leave message and look to join a network. After a while , The device (and especially the Xiaomi) just stop working and need to be repaired.
How crazy is this?!! Was considering to go zigbee because of device cost vs z-wave... but when I remove power from my heaters in april and switch back in october or november, I'm happy that qubino modules driving them wake-up immediately without hassle after 7month. For PIR/door sensors, is this protocol made to make robbers happy?!

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 8:10
by pipiche
I do confirm the issue is only happening with Xiaomi devices, for those like Ikea and others which are fully Zigbee compliant, there is no issue at all.


Envoyé de mon iPhone en utilisant Tapatalk

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 9:17
by pipiche
lost wrote: Wednesday 09 October 2019 22:02
pipiche wrote: Monday 12 August 2019 12:18 I'm afraid this is a normal behaviours of Zigbee network. When a device cannot reach its controller , then it send a Leave message and look to join a network. After a while , The device (and especially the Xiaomi) just stop working and need to be repaired.
How crazy is this?!! Was considering to go zigbee because of device cost vs z-wave... but when I remove power from my heaters in april and switch back in october or november, I'm happy that qubino modules driving them wake-up immediately without hassle after 7month. For PIR/door sensors, is this protocol made to make robbers happy?!
Looks this is the Xiaomi behavior with the Zigate due to a not fully Zigbee compliant implementation.
I did test for Legrand, Ikea and some other main powered devices and after a power outage they do what is required by the Zigbee norm to re-integrate the network in a transparent way for the user.

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 9:41
by lost
pipiche wrote: Thursday 10 October 2019 9:17 Looks this is the Xiaomi behavior with the Zigate due to a not fully Zigbee compliant implementation.
I did test for Legrand, Ikea and some other main powered devices and after a power outage they do what is required by the Zigbee norm to re-integrate the network in a transparent way for the user.
Well, that's better, but why the hell leaving the network without some device exclude/reset triggered by some internal switch??? If, meantime, you have a close neighbor including devices in his own network this'll still go wrong! :cry:

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 9:45
by pipiche
lost wrote: Thursday 10 October 2019 9:41
pipiche wrote: Thursday 10 October 2019 9:17 Looks this is the Xiaomi behavior with the Zigate due to a not fully Zigbee compliant implementation.
I did test for Legrand, Ikea and some other main powered devices and after a power outage they do what is required by the Zigbee norm to re-integrate the network in a transparent way for the user.
Well, that's better, but why the hell leaving the network without some device exclude/reset triggered by some internal switch??? If, meantime, you have a close neighbor including devices in his own network this'll still go wrong! :cry:
I'm sorry, I do not understand what you mean!

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 18:33
by domogijs
For me the IKEA bulb doesnt re integrate. So if this is not een generic issue. Any ideas what is going wrong?

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 21:14
by pipiche
If fact for the IKEA bulb, it will depend what is the situation

- If the bulb have been remove from the Zigate and plugin, indeed you have to follow the pairing process

- If the bulb has just a power outage, by just switch main power back the bulb will join the network in a transparent way.

They are plenty of users , having such behaviour as the Ikea bulb remains on a socket which can be powered off/on, and they do not have issues

Re: Zigbee devices not responding after long power outage

Posted: Thursday 10 October 2019 23:26
by lost
pipiche wrote: Thursday 10 October 2019 9:45 I'm sorry, I do not understand what you mean!
A device should not be able detach from it's controller/network without user action. IMO, that's just to save the price of a push button. Power lost = device reset... Crazy.
This puts zigbee out of any serious/reliable business IMO. Xiaomi selling alarm sensor & function based on a such a flawed by design protocol: It must be a joke!

Re: Zigbee devices not responding after long power outage

Posted: Friday 11 October 2019 13:42
by domogijs
pipiche wrote: Thursday 10 October 2019 21:14 If fact for the IKEA bulb, it will depend what is the situation

- If the bulb have been remove from the Zigate and plugin, indeed you have to follow the pairing process

- If the bulb has just a power outage, by just switch main power back the bulb will join the network in a transparent way.

They are plenty of users , having such behaviour as the Ikea bulb remains on a socket which can be powered off/on, and they do not have issues
For me it is the second. And no it not joins the network again.

it feels a little strange you seem not to be interested what is going wrong. And rely on 'there are plenty of users (..) and they do not have issues'

But never mind I will go for option one. And will remove the bulb from zigate plugin and try to repair again.

Greets Gijs

Re: Zigbee devices not responding after long power outage

Posted: Friday 11 October 2019 16:36
by Thorgal789
lost wrote: Thursday 10 October 2019 23:26 A device should not be able detach from it's controller/network without user action. IMO, that's just to save the price of a push button. Power lost = device reset... Crazy.
This puts zigbee out of any serious/reliable business IMO. Xiaomi selling alarm sensor & function based on a such a flawed by design protocol: It must be a joke!
I m not sure, I haven't one for test and I have different return, but it seems you can turn off the xiaomi gateway 24h without loosing device.

Re: Zigbee devices not responding after long power outage

Posted: Friday 11 October 2019 19:18
by pipiche
domogijs wrote: Friday 11 October 2019 13:42
pipiche wrote: Thursday 10 October 2019 21:14 If fact for the IKEA bulb, it will depend what is the situation

- If the bulb have been remove from the Zigate and plugin, indeed you have to follow the pairing process

- If the bulb has just a power outage, by just switch main power back the bulb will join the network in a transparent way.

They are plenty of users , having such behaviour as the Ikea bulb remains on a socket which can be powered off/on, and they do not have issues
For me it is the second. And no it not joins the network again.

it feels a little strange you seem not to be interested what is going wrong. And rely on 'there are plenty of users (..) and they do not have issues'

But never mind I will go for option one. And will remove the bulb from zigate plugin and try to repair again.

Greets Gijs
Don't get me wrong, it is not about not willing to see what is going wrong, but as wrote earlier, you can provide logs and I'll have a look

Re: Zigbee devices not responding after long power outage

Posted: Saturday 12 October 2019 7:55
by lost
Thorgal789 wrote: Friday 11 October 2019 16:36 I m not sure, I haven't one for test and I have different return, but it seems you can turn off the xiaomi gateway 24h without loosing device.
Maybe because they auto-re-attach them when plugged back on, if detach from a missed controller is the normal zibgee device behavior. But this may not save you from any detach related situation: This also means anyone doing an attach nearby would get your devices in his own network?!!