Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.99k stars 1.67k forks source link

Z2M bridge randomly disconnecting from HA and EcoDIM light flickers #23119

Open samuele2723 opened 4 months ago

samuele2723 commented 4 months ago

What happened?

I've a large setup with 190 devices and a Sonoff ZDongle P with latest Koenkk Zstack coordinator firmware from 2023

Since last month i noticed two bulbs randomly flickering. flickering lights:

Screenshot 2024-06-20 alle 22 04 35

From the log i could not find much, there is nothing reported, nevertheless i've found and noticed from HA entity register that the bridge randomly disconnect for few seconds randomly. Seems those two events are conned

Screenshot 2024-06-20 alle 21 58 48

What did you expect to happen?

No bridge disconnection No lights flickering randomly

How to reproduce it (minimal and precise)

Randomly happens

Zigbee2MQTT version

1.38.0

Adapter firmware version

20230507

Adapter

Zigbee 3.0 USB Dongle Plus

Setup

Home assistant OS with MQTT and Z2m Addon

Debug log

this is log registered during flickering periods from filament lights

Info 2024-06-20 22:04:47MQTT publish: topic 'zigbee2mqtt/Filament Bagnetto', payload '{"brightness":198,"color_mode":"color_temp","color_temp":380,"last_seen":"2024-06-20T20:04:47.200Z","linkquality":36,"power_on_behavior":"on","state":"ON"}' Info 2024-06-20 22:04:48MQTT publish: topic 'zigbee2mqtt/Filament Cucina 2', payload '{"brightness":74,"color_mode":"color_temp","color_temp":274,"do_not_disturb":true,"last_seen":"2024-06-20T20:04:48.472Z","linkquality":36,"state":"OFF"}' Info 2024-06-20 22:05:04MQTT publish: topic 'zigbee2mqtt/Filament Cucina 1', payload '{"brightness":76,"color_mode":"color_temp","color_temp":274,"do_not_disturb":true,"last_seen":"2024-06-20T20:05:04.223Z","linkquality":36,"state":"OFF"}' Info 2024-06-20 22:05:48MQTT publish: topic 'zigbee2mqtt/Filament Bagnetto', payload '{"brightness":198,"color_mode":"color_temp","color_temp":380,"last_seen":"2024-06-20T20:05:48.201Z","linkquality":14,"power_on_behavior":"on","state":"ON"}' Info 2024-06-20 22:05:49MQTT publish: topic 'zigbee2mqtt/Filament Cucina 2', payload '{"brightness":74,"color_mode":"color_temp","color_temp":274,"do_not_disturb":true,"last_seen":"2024-06-20T20:05:49.462Z","linkquality":14,"state":"OFF"}' Info 2024-06-20 22:06:05MQTT publish: topic 'zigbee2mqtt/Filament Cucina 1', payload '{"brightness":76,"color_mode":"color_temp","color_temp":274,"do_not_disturb":true,"last_seen":"2024-06-20T20:06:05.220Z","linkquality":40,"state":"OFF"}'

samuele2723 commented 4 months ago

Update: i can reproduce issue of those light flickers whenever i also reboot the Z2M custom components. So it confirms whenever they get a "disconnect" message from the bridge, they flickers.

So:

1) i would understand why these lights behave like that in general flickering upon bridge disconnection 2) i would try to solve my random 10s disconnection i see in the bridge, that solve light issue but also in general should be better i guess