Description
The problem
Since 3 years I have HA with zha(with sonoff donlgep channel 15). it was almost (except some small bugs in some releases long time ago) really stable.
But somehow it got really unstable /unusable since end of 2024/beginning2025
there was no new HA release which caused this as it started by around end of december, so there was around 3 stable weeks with 2024.12
the behaviour:
- ALL zha devices getting "unavailble" / zha is reinitializing which takes a long time
- after initialising is done all seems to be visible/available again - but changing the state of a switch/light is not working most of the time. "no response from device" sometimes after this zha is immeditaly reinitialising itself (but not all of the time). somtimes after the timeout the changed device is changing its state (for example a light is getting on)
- sometimes (I am still not sure why/when) somehow the network is getting stable, fast,responsible. and then over night without interacting it is completly lost
see in this screenshot - at the left stable for a few hours. then a lot of self reinitialisings. then over night completly lost
in the last 2/3 months I already tried:
- switching some devices to Z2M (conbee III with zigbee-channel 11) to get them out of the zha network
- wifi is on wifi-channel 11 (so far enough from zigbee-channel 15)
- tried other z-stack firmware (started with 20230507, no success with 20240710 and currently on 20221226) without success
- deleted/removed devices from network when I believed they are causing this behaviour when I touched them(changed their states) - also without success. then other devices did the same
Somehow I got lost
i am desperate and would be very grateful for further tips or maybe someone can see a reason in the debuglog
home-assistant_zha_2025-03-06T07-43-24.805Z.log.tar.gz
I did not completly switched from zha to z2m as I was so happy with zha for a long time and I could not successful pair some devices with z2m (lidl bulbs, even if they are offically supported). so maybe these bulbs are the faulty devices. but I need to know this clearly if it is like that or if it is some other device.
ah and I think 2 or 3 weeks ago I had an issue with the zigbee.db file. it looked like the database got corrupted and zha is not starting anymore. but the error was gone after (maybe ~20-30 retries)
so if the zigbee.db is corrupted maybe it could be fixed?
What version of Home Assistant Core has the issue?
core-2025.3.0
What was the last working version of Home Assistant Core?
core-2024.11.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
zha
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response