Closed Max6993109 closed 1 year ago
Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
Seems like these two could be related #101678
I just tried toggling plugs on and off, and I lost network connectivity within 10 seconds.
When you toggle a plug, ZHA writes a few bytes to a serial port. That's it. ZHA has no network access outside of fetching OTA updates, which is disabled by default. For your router to reboot would mean that the serial port is linked to your router somehow, which just isn't possible.
Can you enable debug logging for the entirety of Home Assistant Core and post the log?
Sure thing. For me to do this, I would have to click debug on all integrations or is there a system wide debug mode that I can do? Where can I find this?
--Luis Pichardo
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Oct 10, 2023 at 9:39 AM puddly @.***> wrote:
I just tried toggling plugs on and off, and I lost network connectivity within 10 seconds.
When you toggle a plug, ZHA writes a few bytes to a serial port. That's it. ZHA has no network access outside of fetching OTA updates, which is disabled by default. For your router to reboot would mean that the serial port is linked to your router somehow, which just isn't possible.
Can you enable debug logging for the entirety of Home Assistant Core and post the log?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/101734#issuecomment-1755450681, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5KB6IC3MHCPFIHR7ZYWOILX6VFZ7AVCNFSM6AAAAAA5ZPKKXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGQ2TANRYGE . You are receiving this because you authored the thread.Message ID: @.***>
Attaching the short version of my log starting minutes before the network going down (the original file was over 60mb)
Good morning,
First, sorry for my English (French + Google Translate)
I have a similar problem. Also from version 2023.9 For some unknown reason, electrically powered equipment (e.g. light bulbs) no longer responds. I see battery-powered equipment working (for example presence detectors).
I have a raspberry 4 8Gb + SSD HA Core 2023.10.1 HA OS 10.5 For the connection, I have a Cornbee 2 key plugged into a powered USB hub.
During the outages, I tried several things, restarting HA, restarting the raspberry, restarting the ZHA service,... nothing worked. The thing that works is to simply unplug and plug the Cornbee stick back in and after a few moments (1-2 minutes max) everything starts again.
Unable to identify problem. It may be that for 1 week there will be no problem or there may be 2 outages every few hours (like this evening...)
If I can help to facilitate the resolution (transmit logs or perform tests).
THANKS
Good evening
Hi @puddly, have you been able to look into the logs? I'm still unsure of what is causing the network outage.
I finally figured it out! The issue is the "assist_pipeline.pipelines" file! Whenever I would revert back from 2023.9.0 and above to 2023.8.4, I would always get an error in which I would have to delete the assist_pipeline.pipelines file and reboot. This will reinsert the assist_pipeline.pipelines back and the system would work fine.
Yesterday, I re-updated and after the update I deleted the assist_pipeline.pipelines file and rebooted. This again reinsterted the assist_pipeline.pipelines file, but without the internet drops. Apparently, when updating from 2023.8.4 to any new version, this file will bring with it some corrupt code or compatibility issue. Simply deleting it and rebooting fixes this.
The problem
I've been struggling with my network having consistent outages since the 2023.9.0 update. I've tried more variations of backups than I can count and even started fresh new systems. A vanilla version would work until I added integrations. Long story short, after 3-4 days of rigurous testing, I realized that ZHA is not playing nice with HA 2023.9.0 and above. For whatever reason, when the sensors or switches are used, they cause intermittent network drop offs (my router literally reboots).
I just tried toggling plugs on and off, and I lost network connectivity within 10 seconds. My guess is that the issue is not with motions sensors or contact sensors (I have many of them from Aqara), but rather things like plugs.
What version of Home Assistant Core has the issue?
core-2023.9.0
What was the last working version of Home Assistant Core?
core-2023.8.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA (Zigbee Home Automation)
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response