Issue with Zigbee Bulbs Resetting After Power Outages

Hi everyone,

I have a lot of Zigbee bulbs in my network, and I live in an area where power outages are very frequent. The problem is that the power goes out intermittently for a few seconds, which makes my bulbs think I’m trying to reset them. As a result, they go into pairing mode (after a lot of frustration) and lose many configurations, including Zigbee2MQTT groups, scenes, and automations, which I then have to manually restore.

Installing a UPS is not really an option since I would need to cover my entire electrical installation, and I haven’t found any reasonably priced UPS that could handle that. Also, modifying my electrical panel to integrate a UPS would be quite complicated.

Is there any way to prevent the bulbs from resetting after the typical “three power cuts in a row”? Or does anyone have any suggestions on how to deal with this issue?

This is becoming a major inconvenience, as I have a lot of groups and automations that depend on these configurations, and I end up having to redo everything almost every week.

Has anyone else experienced this? How did you solve it?

Thanks a lot!

How long do you wait? My power failures are rare- maybe once a year- and sometimes do “flicker” before going off. But I’ve never noticed any of my Zigbee devices failing to revert back to the last setup after the pairing times out.

  1. What Z2M coordinator are you using?

  2. Are all ZigBee devices trying to repair or a specific manufacturer?

Usually, mains powered zigbee devices only go back into pairing mode after a rapid on off sequence, of maybe 3-5 times.

Is your electricity supply that bad ?

I’m using the SLZB-07 adapter, and this happens with all my devices. It’s not an issue with Home Assistant, the controller, or Z2M—it’s purely a problem with my power supply.

What I need to know is whether there is a way to configure the devices so that they don’t interpret power cuts as a reset action.

Unfortunately, power outages are quite frequent for me—at least a couple of times per month, each lasting several hours.

The issue is that the power outage itself isn’t a simple cut. Before the main outage happens, there are a series of micro power cuts, which cause the devices to detect them as a reset action. Only after these microcuts does the full outage occur, which then takes a long time to be restored.

If the power simply went out once and stayed off, I wouldn’t have any issues. But because of these repeated small power cuts, that’s when the problems arise.

Yes, my power supply is really unstable, and I experience constant micro power cuts. The electricity goes on and off within milliseconds, which causes devices to detect a reset action instead of just a power loss.

In my case, the issue starts with a series of these micro power cuts (around 20 within half a minute), almost as if the system is trying to reset itself. When it fails, we end up without power for hours until, I assume, it is manually fixed.

This happens throughout my entire neighborhood, so it’s not just an isolated case. My neighbors are already used to it, but for home automation, it’s a real nightmare. The short power cuts are interpreted as a reset command rather than just a power outage, which causes a lot of issues with my Zigbee devices.

I realize this is rather a “dumb” solution, but you could talk to an electrician about cutting the power entirely after the first interruption - for say 30 seconds (I would envision the device automatically restoring power after the time expired).

That way you won’t get three pulses in a row - just a single 30 second outage.

No idea on what the pricing of such a device would be relative to the price of a high end UPS.

An Automatic Transfer Switch (ATS) for a single 15A circuit can be as low as $75, or for whole-house, upwards of $3,000.

If you go ahead with the whole-house ATS, then later when you can afford a generator, you are already wired for it.