-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA crash-looping when trying to use custom quirks in ZHA #125789
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, @TheJulianJES, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
I seem to have the same problem. Although the symptoms I am seeing are a bit different, my Home Assistant continues to the function but ZHA freezes and all of my ZHA devices either react really slow or not at all. Only after reloading the ZHA integration things come back to life and start reacting again. Have to reload ZHA 2 or 3 times a day now. Seemed to be working back in version 2024.8 Context information: Home Assistant: ZHA with Sonoff Zigbee 3.0 USB Dongle E (EFR32MG21) Running 1 quirk for my Aqara T1M ceiling light https://github.com/zigpy/zha-device-handlers/pull/3070 Error logs:
and
and
and
|
Disabled the quirk, lot less errors in the logs but still after a certain amount of time ZHA freezes. Still have this error though:
|
Hello, I've recently hit the same symptoms, where the ZHA integration was causing Home Assistant to get into a crash-loop. It always crashed after initializing the ZHA integration. Notably, disabling the integration brought Home Assistant back alive. After some searching, not finding the causes of the ZHA crash (and subscribed to some issues, under which this one). I decided to update the firmware of the Combee II stick that is attached to my Home Assistant. After updating that, I attached it to Home Assistant again and enabled the integration. This worked for me! Sockets and lights were working directly, and the motion sensors had to be reactivated to get them available inside Home Assistant. No idea if resolves it for you, but give it a try I guess. Looks like my Combee II stick had an old firmware which Home Assistant couldn't work with anymore. I have no idea which firmware version was on it, but now it's updated to |
@alexkok Amazing! Thank you! Updating the Conbee firmware helped(along with other updates, e.g. HA) |
Great! Good to hear it worked! 🚀 |
The problem
I have a device that is not yet officially supported by ZHA, so I found a pull request that supposed to fix that and decided to try that out. zigpy/zha-device-handlers#3075
However, I am having problems even before applying the code from the above PR:
I changed
configuration.yaml
to enable custom quirks and now my HA keeps crash looping(constantly restarts) and I am also having hard time getting meaningful logs from it. I only saw two meaningful exception over time(see below). Every time HA restarts - all logs are empty.What version of Home Assistant Core has the issue?
core-2024.9.1
What was the last working version of Home Assistant Core?
No response
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
I added to configuration.yaml
Please note that zha_quirks folder is empty. But for what its worth - it does not matter what I put there.
Anything in the logs that might be useful for us?
At one point I left the system to crash loop for a while and then it finally loaded and I saw these exceptions in the log. But I am not 100% sure what was the state of my experiment at that point(e.g. was there anything in zha_quirks folder or not)
And
Additional information
No response
The text was updated successfully, but these errors were encountered: