Skip to content
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

Unstable ZigBee Behavior #230

Closed
AlexW75 opened this issue Jun 10, 2024 · 6 comments
Closed

Unstable ZigBee Behavior #230

AlexW75 opened this issue Jun 10, 2024 · 6 comments

Comments

@AlexW75
Copy link

AlexW75 commented Jun 10, 2024

Since 2024.06, I've noticed that all my ZigBee devices frequently disconnect (about every 8 hours). After approximately 10-20 seconds, the devices reconnect.

However, if I disable the ZHA toolkit, this issue disappears, and my ZigBee network remains 100% stable without any device drops.

Is anyone else experiencing the same problem? Please check your logs.
I can provide debug data if needed.

@BenchPressesBooks
Copy link

BenchPressesBooks commented Jun 13, 2024

Funny enough I have noticed this with literally every single one of my Ikea window and door sensors direct connected to a zigbee dongle. The devices never report the stable state (always closed), or the state changes (when you open or close the door. It appears every 12 or 24 hours roughly they become unavailable, then around 2 hours later they come back with a wrong state being reported. If I disable zha-toolkit and restart home assistant they seem to start reporting correctly.

June 12, 2024
was opened
11:48:22 AM - Yesterday
became unavailable
9:32:57 AM - Yesterday
June 11, 2024
was opened
11:35:59 PM - 2 days ago
became unavailable
9:35:45 PM - 2 days ago
was opened
10:28:38 AM - 2 days ago
became unavailable
8:14:04 AM - 2 days ago
June 10, 2024
was opened
9:51:01 PM - 3 days ago
became unavailable
7:39:23 AM - 3 days ago

Turning on debug logging returns nothing related to this that hasn't already been reported in issue #229, #227 , and #231 . I am still investigating but am coming up empty handed for now.

Everything was working great on HA < 2024.06, as soon as I upgraded to HA >= 2024.06 all of the functionality I implement through zha_toolkit broke, and zigbee instability showed up.

@AlexW75
Copy link
Author

AlexW75 commented Jun 13, 2024

Did the same … switched on logging - nothing related.

Checked the ZigBee communication - also there nothing unusual. The problem must occur inside ZHA when ZHA-Toolkit is active.

@CordoWEB
Copy link

CordoWEB commented Jun 13, 2024

I noticed the same problem on 2024.6.2 version.
I'm going back to 2024.5.5 version to see what happens.

The same problem happens without ZHA Toolkit : home-assistant/core#119424

@AlexW75
Copy link
Author

AlexW75 commented Jun 17, 2024

Thanks for the info … in my case I have no dropped devices since I uninstalled the toolkit.

@BenchPressesBooks
Copy link

BenchPressesBooks commented Jun 24, 2024

Just wanted to report that with the latest zha update everything is perfectly stable with the network at least. Still have the blocking call and other issues but the device unavailable then fine issue seems to be gone. Had one device with lingering issues but after removing and readding it the issue went away as well. This one may be able to be closed seeing that the parent zha seems to have been where the issue was and that the upgrade of hass included new zha which caused it not necessarily this addon.

@mdeweerd
Copy link
Owner

Some incompatibilities with the recent versions were introduced by HA changes.
Possibly this had some impact on the behavior, but normally it should not because zha-toolkit is not intrusive in zha except when using a zha-toolkit service.

I am closing this as the pull requests are now in the official release and the information in this issue does not help identify a problem in zha-toolkit.

If the issue persists with the update, try to find errors in the log that involve zha-toolkit to help identify a potential issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants