I have a few ZigBee Nous A1Z switches that keep turning off for no reason. HA version: 2025.4.1
There is no automation for it, and there is nothing special in the logs.
In the picture below, you can see the switch turning off for no reason. After that, I switched it on using a physical switch, and later, it went off again.
Since there is also times when the device is unavailable, it seems communication problems might be the culprit, or the device loosing power.
If there is no cause listed in HA, it can be an event originating from the device. Either control from the device itself, or power loss, followed by the default behaviour of the device when power is restored.
But if it is communication problems, the list of possible causes is very long. The obvious: make sure your zigbee stick is on an extension cord, away from other devices. Make sure you have enough zigbee router devices. The k if your Zigbee channel overlaps with your wifi channels (be aware: they use different numbering systems). Never cut power from zigbee router devices. (Do you have other bulbs or mains powered things that get cut from power?).
Unavailable is only because I’ve disconnected the plug. I have a few such plugs and most of them (not all) had the same problem at that day, around 12-14. The plug should not turn off, when it has no conectivity (I really hope so), so there must be something what triggers it…
In order to fight this problem I’ve created automation, that will turn those switches on every 30 minutes. This works fine as you can see below, however short time after going on, switch goes off. And this happens for a few switches from 12 to 14, however no exactly at the same time, but short time after switching on.
One switch goes off arount 13:01, this is the log:
2025-04-10 12:55:00.065 INFO (MainThread) [homeassistant.components.automation.maciek_air_humidifier_off_at_45] Maciek - Air Humidifier - Off: Running automation actions
2025-04-10 12:55:00.065 INFO (MainThread) [homeassistant.components.automation.maciek_air_humidifier_off_at_45] Maciek - Air Humidifier - Off: Executing step device automation
2025-04-10 13:00:00.274 INFO (MainThread) [homeassistant.components.automation.plugs_power_measurement_on] Plugs Power Measurement On: Running automation actions
2025-04-10 13:00:00.275 INFO (MainThread) [homeassistant.components.automation.plugs_power_measurement_on] Plugs Power Measurement On: Executing step call service
2025-04-10 13:00:00.450 INFO (MainThread) [homeassistant.components.automation.maciek_air_humidifier_off] Artur - Air Humidifier - Off: Running automation actions
2025-04-10 13:00:00.450 INFO (MainThread) [homeassistant.components.automation.maciek_air_humidifier_off] Artur - Air Humidifier - Off: Executing step device automation
2025-04-10 13:02:14.242 INFO (MainThread) [custom_components.hacs] HACS is enabled
2025-04-10 13:02:14.256 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
At 11:30 it also goes off, and there is a communication error im log:
2025-04-10 11:30:00.424 INFO (MainThread) [homeassistant.components.automation.artur_air_humidifier_on_at_43] Artur - Air Humidifier - On: Running automation actions
2025-04-10 11:30:00.425 INFO (MainThread) [homeassistant.components.automation.artur_air_humidifier_on_at_43] Artur - Air Humidifier - On: Executing step device automation
2025-04-10 11:30:05.711 ERROR (MainThread) [homeassistant.components.automation.plugs_power_measurement_on] Plugs Power Measurement On: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
2025-04-10 11:30:05.712 ERROR (MainThread) [homeassistant.components.automation.plugs_power_measurement_on] Error while executing automation automation.plugs_power_measurement_on: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
2025-04-10 11:32:14.121 INFO (MainThread) [custom_components.hacs] HACS is enabled
2025-04-10 11:32:14.133 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started```
I’ve created ping timer, that sends turn on signal every minute. Now they stay on. It looks like they go off, when there is no communication. Not sure why the plug cannot remember that is was suppose to be on
Depending on the screenshots it seems to be that the power off state is triggered 9 hours after switching on any time. Isn’t it? In that case check your automations. Maybe there is another trigger? Enable the debug option for ZHA can help to identify the problem.
These devices having a countdown timer as well. Maybe it is active on the device? Can’t tell you how to check it with ZHA.
Updating firmware is useful as well. The stock versions are not on the lastest firmware and they had some issues as I remember. Check ZHA