zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

1.40.0 - Unstable light entities control

Open FredyReady opened this issue 2 years ago • 6 comments

What happened?

Upgraded from 1.39.0 to 1.40.0 and since then all my light entities are acting strange. The behaviour is random and so far I have not recognized any pattern.

Some light do not turn on on command, I receive error messages within Z2M UI. Some lights turn on but with different parameters (intensity, colours). Some lights do not response to any commands (On, off, change intensity or colour).

The issue seems to not differentiate between hardware versions as it occurs on light bulbs from IKEA and LED controllers from Gledopto (I do not own any other brands of lights).

It does not happen all the time but few hours spread across the day.

Restart some times helps and some times it does not.

It does not matter if I control the lights from dashboard, automation or directly from Z2M UI.

Managed to catch the errors when control of light group failed after timeout.

Screenshot_2024-09-02-20-45-44-57_c3a231c25ed346e59462e84656a70e50 Screenshot_2024-09-02-20-48-01-22_c3a231c25ed346e59462e84656a70e50

What did you expect to happen?

Responsive behaviour of light entities.

How to reproduce it (minimal and precise)

Update to 1.40.0. and try to control light entities - random behaviour.

Zigbee2MQTT version

1.40.0

Adapter firmware version

20221226

Adapter

Sonoff_Zigbee_3.0_USB_Dongle_Plus

Setup

Add-on on Home Assistant OS on Intel NUC

Debug log

No response

FredyReady avatar Sep 07 '24 08:09 FredyReady

I have had nearly the same problem with light entities (Philips Hue Lights, Philips Hue Smart Plug, Ikea lights) and version 1.40; not possible to control lights anymore due to timeout errors. Unfortunately I don not have the error message any more, went back to 1.39.1 and had to restart mqtt-broker. Than everything turns normal

kwlorenz avatar Sep 07 '24 10:09 kwlorenz

It looks like your coordinator crashed, I recommend to update your coordinator to the latest version first (https://www.zigbee2mqtt.io/guide/adapters/zstack.html)

Koenkk avatar Sep 07 '24 10:09 Koenkk

Thanks Koenkk for taking a look at this, much appreciated! I am out of home for now but once I am back I will perform the update and see if it solves the issue.

I'll keep the thread open for others or until I can confirm the solution viability, then I'll close it.

Thanks ✌️

FredyReady avatar Sep 08 '24 12:09 FredyReady

Updated the stick to the newest firmware yesterday and installed 1.40.1 afterwards. No problems in the moment. Thanks very much...

kwlorenz avatar Sep 08 '24 14:09 kwlorenz

i have about the same problems. All of my lights have strange behavior or do not respond only after a restart works for a while and the same behavior happen again, also they go offline. I have about 90 devices most of them routers. My old coordinator was a sonoff zb3 plus and replaced by a zigstar uzg-1 and flashed to the latest updates and firmware. also i have two sonoff zb3 plus flashed as routers. nothing changed. the same problems. restart home assistant restart z2m i have trayed everything. i set up another zha and pair the lights there with another coordinator and they work just fine. I use channel 25 and my wifi is at 11 channel. for about two years i had no problems and the last month i cant make it work.

ankokdog avatar Oct 11 '24 13:10 ankokdog

I can confirm that updating the coordinator FW fixed the network stability and system is fully operational without any issues.

Closing as the original root of issue was identified and resolved.

Thanks for the support ✌️

FredyReady avatar Oct 11 '24 14:10 FredyReady