zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

lights problem

Open ankokdog opened this issue 2 years ago • 43 comments

What happened?

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. i have a filling that the problem is the availability option in z2m because when is enabled i have hundred of ping errors.

What did you expect to happen?

solve the issue with an update

How to reproduce it (minimal and precise)

Screenshot 2024-10-11 175228

Zigbee2MQTT version

1.40.2

Adapter firmware version

20240710

Adapter

zigstar usg-1

Setup

pc with i5 8th gen 16gb ram and m2 ssd 512gb

Debug log

No response

ankokdog avatar Oct 11 '24 14:10 ankokdog

Got the same Problem since like an Week, Door Sensors, Remotes and Plugs still work but the lights not. Happens like every 24 Hours. Also on this Version 1.40.2 in Home Assistent on an Raspi 4, SLZB-06p7 Coordinator.

zyankali333 avatar Oct 12 '24 08:10 zyankali333

Got the same Problem since like an Week, Door Sensors, Remotes and Plugs still work but the lights not. Happens like every 24 Hours. Also on this Version 1.40.2 in Home Assistent on an Raspi 4, SLZB-06p7 Coordinator.

i also have SLZB-06p7 and set it as coordinator for zha. Remove some of the lights (8 tuya e14) from z2m and pair them to zha and work fine.

ankokdog avatar Oct 12 '24 09:10 ankokdog

Similar issue here. All devices are online. Anythings looks fine also in HA, I get status from sensors, lights switches. But I cannot turn on / off any devices. This starts with 1.40.2. I'm usng the docker image image: koenkk/zigbee2mqtt:latest -> (1.40.2) Updateing coordinator (type zStack3x0 )to version 20240710 does not solve the problem.

Restarting Z2M solve problem temporarly. With next restart I have the same problem again. I switched back to 1.40.1 . This seems to be the last working version for me.

purche42 avatar Oct 14 '24 06:10 purche42

The last stable for me was 1.39.... but i do not have backup of it.

On Mon, Oct 14, 2024, 09:46 purche42 @.***> wrote:

Similar issue here. All devices are online. Anythings looks fine also in HA, I get status from sensors, lights switches. But I cannot turn on / off any devices. This starts with 1.40.2. I'm usng the docker image image: koenkk/zigbee2mqtt:latest -> (1.40.2) Updateing coordinator (type zStack3x0 )to version 20240710 does not solve the problem.

Restarting Z2M solve problem temporarly. With next restart I have the same problem again. I switched back to 1.40.1 . This seems to be the last working version for me.

— Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/24293#issuecomment-2410175480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4DLE2ADJTTKQCP26DYQQTZ3NSDRAVCNFSM6AAAAABPZC23PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQGE3TKNBYGA . You are receiving this because you authored the thread.Message ID: @.***>

ankokdog avatar Oct 14 '24 07:10 ankokdog

Similar issue here. All devices are online. Anythings looks fine also in HA, I get status from sensors, lights switches. But I cannot turn on / off any devices. This starts with 1.40.2. I'm usng the docker image image: koenkk/zigbee2mqtt:latest -> (1.40.2) Updateing coordinator (type zStack3x0 )to version 20240710 does not solve the problem.

Restarting Z2M solve problem temporarly. With next restart I have the same problem again. I switched back to 1.40.1 . This seems to be the last working version for me.

Same thing for me, it stopped working with latest version 1.40.2. Restarting z2m docker container solves it temporarily

jerkovicl avatar Oct 14 '24 12:10 jerkovicl

+1. Since 1.40.2-1. Exactly the same symptoms: light switches stop working after some hours, but motion sensors, air quality sensors still continue to work. So it seems not an adapter problem. Restarting addon make switches work again for some hours, but after some time they stop working again. The cycle goes on and on.

woutervdkolk avatar Oct 16 '24 09:10 woutervdkolk

I have pir sensors, mmwave sensors, door sensors, many many switches, the only problem is with the lights.

ankokdog avatar Oct 16 '24 11:10 ankokdog

Same problem, only lights

ben33880 avatar Oct 16 '24 12:10 ben33880

I have got the same problem. Everything works fine for two years with ~90 devices and then out of the blue I get random timeouts. Always a different device. Lights, switches, thermostats, just about everything except sensors ans wallplugs it seems. A power cycle of the unresponsive device or a restart of z2m fixes in temporarily and sometimes it works for a day or two and sometimes just 2 minutes. Often I have to remove the device and re-pair it, which gets kind of annoying. I'm using the sonoff 3.0 dongle cc2652p and a raspberry pi 4b. Any help is appreciated. Thanks in advance.

taenzelnderFlamingo avatar Oct 27 '24 19:10 taenzelnderFlamingo

I have got the same problem. Everything works fine for two years with ~90 devices and then out of the blue I get random timeouts. Always a different device. Lights, switches, thermostats, just about everything except sensors ans wallplugs it seems. A power cycle of the unresponsive device or a restart of z2m fixes in temporarily and sometimes it works for a day or two and sometimes just 2 minutes. Often I have to remove the device and re-pair it, which gets kind of annoying. I'm using the sonoff 3.0 dongle cc2652p and a raspberry pi 4b. Any help is appreciated. Thanks in advance.

Hi taenzelnderFlamingo

you should switch back to an older release (1.40.1) at least solve the On/Off problem for me. I have even updated the coordinator, removed and/or re-paired some devices, which does not solve the issue.

I also have some disconnects with door sensors in the last week - but this could be also caused by empty batteries of 5-6 sensors at the same time. I hope the next Z2M version will revert the changes in 1.40.2 which causes our problems.

purche42 avatar Oct 28 '24 11:10 purche42

Versions 1.40.xxx are very unstable. I home they fix them soon. I replace some zigbee bulbs to old wifi that i had because they do not work whatever i do.

ankokdog avatar Oct 28 '24 12:10 ankokdog

Thanks for the advice. I tried to use a backup with some 1.39 version (i think), I cannot remember which one, but I had the same issues. Shortly after I updated back to the current version. I guess I have to wait for the next release and hope it will be resolved.

taenzelnderFlamingo avatar Oct 31 '24 19:10 taenzelnderFlamingo

It seems update 1.41.0-1 fixed it for me. At least today everything worked as it did the past year. Thanks for the quick fix. I hope it helps others as well.

Well, on day two it started to malfunction again :/

taenzelnderFlamingo avatar Nov 01 '24 22:11 taenzelnderFlamingo

Same problem with 1.41

ben33880 avatar Nov 02 '24 02:11 ben33880

Same problem re-occurs with 1.41 . Not fixed - back to 1.40.1. I hope that changes which causes errors will be checked and fixed with next version.

This is the first severe error of this kind with Z2M in the last years.

purche42 avatar Nov 02 '24 17:11 purche42

I re-pair the lights and i think that they respond a little bit better. The problem is still there...

On Sat, Nov 2, 2024, 19:47 purche42 @.***> wrote:

Same problem re-occurs with 1.41 . Not fixed - back to 1.40.1. I hope that changes which causes errors will be checked and fixed with next version.

This is the first severe error of this kind with Z2M in the last years.

— Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/24293#issuecomment-2453060545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4DLE4P3BEWIADRCULFP6LZ6UF3JAVCNFSM6AAAAABPZC23PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGA3DANJUGU . You are receiving this because you authored the thread.Message ID: @.***>

ankokdog avatar Nov 02 '24 17:11 ankokdog

Hi ankokdog I have deleted and repaired lights. This did not help. I have also updated coordinator with no effect. It turns out that a change from 1.40.1 to 140.2 caused the error.

The only solution as of today is the downgrade to the last working release. Lights on / off feature is not unimporttant for me ;)...

purche42 avatar Nov 02 '24 18:11 purche42

@purche42 could you provide the debug log of:

  • Start z2m 1.40.1 -> control light -> works
  • Start z2m 1.41.0 -> control light -> doesn't work

Koenkk avatar Nov 02 '24 19:11 Koenkk

i just find out that one bulb that i have to the backyard works fine, it is the Tuya TS0505B_1_1 all the others that i have problem are Tuya CK-BL702-AL-01

ankokdog avatar Nov 02 '24 20:11 ankokdog

@purche42 could you provide the debug log of:

  • Start z2m 1.40.1 -> control light -> works
  • Start z2m 1.41.0 -> control light -> doesn't work

Hi Koen

here you'll find debug log of 2 test runs

first run - all light on / off works coorectly 2nd run - lights status visible but cannot switch

I hope logs helps

purche42 avatar Nov 02 '24 21:11 purche42