home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.95k stars 31k forks source link

ZHA controller disconnects #106403

Closed tangodelta73 closed 10 months ago

tangodelta73 commented 11 months ago

The problem

ZHA-controller (Conbee II) disconnects randomly, have to restart HA to re engage ZHA-network, not to live with!

What version of Home Assistant Core has the issue?

2023.12.3

What was the last working version of Home Assistant Core?

2023.12.1

What type of installation are you running?

Home Assistant Container

Integration causing the issue

ZHA controller

Link to integration documentation on our website

No response

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

home-assistant[bot] commented 11 months ago

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, 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!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

mib1185 commented 11 months ago

You may want to share a bit mor information, like some logs - especially as you are using the docker installation on your own, check the kernel logs of your host system. Also please provide the system information

sidwin9 commented 11 months ago

Good morning, Following update 2023.12.4 my cover command no longer works even after a reconfiguration. This is starting to help with your problem updates !!! TS130F device

sidwin9 commented 11 months ago

Hello, the problem is still present despite update 2023.12.4 and in addition, some devices no longer work. Please revert to the ZHA version present in core 2023.11.0

mib1185 commented 11 months ago

you still did not provide any helpful information as requested in https://github.com/home-assistant/core/issues/106403#issuecomment-1869536284

sidwin9 commented 11 months ago

Hello, Capture d'écran 2023-12-29 074805 [Uploading home-assistant_zha_2023-12-29T06-49-39.829Z.log…]()

mib1185 commented 11 months ago

something seems to went wrong during upload of the logs, please upload them again

sidwin9 commented 11 months ago

home-assistant_zha_2023-12-29T06-49-39.829Z.log

kendadk commented 11 months ago

this went from occasional disconnects in 2023.12 to total zha not initializing in 2024.1.ob2 i cant even get logs as zha crashes and retries to initialize constantly. in 2024.1.ob2 i am running a nortek huszbz stick and zwave stays operational. but zigbee is useless in 2023.12 and up

puddly commented 11 months ago

@kendadk You can enable debug logging from your configuration file directly: https://www.home-assistant.io/integrations/zha#debug-logging. If you can post a log, it would be really helpful!

kendadk commented 11 months ago

home-assistant.zip here is my log file

sidwin9 commented 11 months ago

Hello, My log file home-assistant_log.zip

sidwin9 commented 11 months ago

Hello, My logs over a longer period home-assistant_log2.zip

axute commented 11 months ago

I have also issues with HA Core 2023.12.4. Revert to 2023.12.3 everything is fine. Sorry have no time to analyse, me and my family need all 49 devices every day...

Scott41677 commented 11 months ago

I have the same issue with the SkyConnect zigbee dongle. I had to go all the way back to 2023.12.2 in order for the Zigbee integration to start and remain running. I am not able to get a log file because the zigbee integration never starts. It will just sit in ‘Initializing’ status. None of the zigbee devices will work despite restarting both the HA front end and the HA OS.

dmulcahey commented 11 months ago

I have the same issue with the SkyConnect zigbee dongle. I had to go all the way back to 2023.12.2 in order for the Zigbee integration to start and remain running. I am not able to get a log file because the zigbee integration never starts. It will just sit in ‘Initializing’ status. None of the zigbee devices will work despite restarting both the HA front end and the HA OS.

That log (with debug on) would be what we would want

Scott41677 commented 11 months ago

Understand. However a log file will not generate when the integration is stuck in that “initialization” loop. I have tried many times but no log is created.

Get Outlook for iOShttps://aka.ms/o0ukef


From: David F. Mulcahey @.> Sent: Saturday, December 30, 2023 7:09:41 PM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

I have the same issue with the SkyConnect zigbee dongle. I had to go all the way back to 2023.12.2 in order for the Zigbee integration to start and remain running. I am not able to get a log file because the zigbee integration never starts. It will just sit in ‘Initializing’ status. None of the zigbee devices will work despite restarting both the HA front end and the HA OS.

That log (with debug on) would be what we would want

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872631332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKO2G4LD3T3JUEKI32LYMCUMLAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTCMZTGI. You are receiving this because you commented.Message ID: @.***>

dmulcahey commented 11 months ago

You don’t get a homeassistant log file?

Scott41677 commented 11 months ago

No Sir. Nothing for the Zigbee app. Just the standard code output that says there may be untrusted applications. The issue presents, in my situation, as if the zigbee radio has died.

Get Outlook for iOShttps://aka.ms/o0ukef


From: David F. Mulcahey @.> Sent: Saturday, December 30, 2023 7:19:30 PM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

You don’t get a homeassistant log file?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872633846, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKJK6ZLBDOVKHAFZFV3YMCVRFAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTGOBUGY. You are receiving this because you commented.Message ID: @.***>

dmulcahey commented 11 months ago

Just to make sure we are on the same page. We want the entire homeassistant.log file that is located in the homeassistant config directory. You’re saying you don’t get a homeassistant log at all when this happens?

Scott41677 commented 11 months ago

Correct. Here is all that appears:

2023-12-30 18:45:43.173 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.174 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hubspace which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.174 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration keymaster which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.175 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.175 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration eufy_security which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.176 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration robovac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.176 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.177 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-12-30 18:45:43.177 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration weatherflow which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant


From: David F. Mulcahey @.> Sent: Saturday, December 30, 2023 7:31:45 PM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

Just to make sure we are on the same page. We want the entire homeassistant.log file that is located in the homeassistant config directory. You’re saying you don’t get a homeassistant log at all when this happens?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872635984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKPYCFBO75UANVKFED3YMCW7DAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTKOJYGQ. You are receiving this because you commented.Message ID: @.***>

dmulcahey commented 11 months ago

Can you try restarting in safe mode?

Scott41677 commented 11 months ago

Sure. Give me a few minutes as I have to upgrade back to 2023.12.4 first. Ill provide the logs as soon as I can


From: David F. Mulcahey @.> Sent: Saturday, December 30, 2023 7:40:06 PM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

Can you try restarting in safe mode?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872636929, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKNOXELUAAFWXNBTCNDYMCX6NAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTMOJSHE. You are receiving this because you commented.Message ID: @.***>

Scott41677 commented 11 months ago

After downgrading to 2023.12.2 where Zigbee is stable and working, I upgraded to 2023.12.4 to recreate the issue and gather log files. Good news/bad news…good news is that now, after the upgrade, the Zigbee integration is stable and working properly. It has been stable overnight with no issues to report. Bad news, is now there is no need for a log file as I cannot recreate the issue. I will continue to monitor the integration to see if the issue presents again.


From: Scott Custer @.> Sent: Saturday, December 30, 2023 7:44:00 PM To: home-assistant/core @.>; home-assistant/core @.> Cc: Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

Sure. Give me a few minutes as I have to upgrade back to 2023.12.4 first. Ill provide the logs as soon as I can


From: David F. Mulcahey @.> Sent: Saturday, December 30, 2023 7:40:06 PM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

Can you try restarting in safe mode?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872636929, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKNOXELUAAFWXNBTCNDYMCX6NAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTMOJSHE. You are receiving this because you commented.Message ID: @.***>

sidwin9 commented 11 months ago

Hello Scott41677, How did you go back to version 2023.12.2? With loading a save or a downgrade (ha core update --version 2023.12.2)?

Scott41677 commented 11 months ago

Correct. In the HA OS console I typed in ha core update - -version 2023.12.2

Get Outlook for iOShttps://aka.ms/o0ukef


From: sidwin9 @.> Sent: Sunday, December 31, 2023 10:52:43 AM To: home-assistant/core @.> Cc: Scott41677 @.>; Comment @.> Subject: Re: [home-assistant/core] ZHA controller disconnects (Issue #106403)

Hello Scott41677, How did you go back to version 2023.12.2? With loading a save or a downgrade (ha core update --version 2023.12.2)?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/106403#issuecomment-1872980585, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK6MIKJFW6W3P5UST2QXGSDYMGC4XAVCNFSM6AAAAABBDFCSQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSHE4DANJYGU. You are receiving this because you commented.Message ID: @.***>

axute commented 11 months ago

When I read this, I also notice that I have the SkyConnect...

sidwin9 commented 11 months ago

Hello, A downgrade to version 2023.12.2 with the reintegration of all my Zigbee devices works. I did not try to install version 2023.12.4 again.

kendadk commented 10 months ago

But this issue is the same for other controllers not just skyconnect. Sent from my iPhoneOn Dec 31, 2023, at 11:55 AM, axute @.***> wrote: When I read this, I also notice that I have the SkyConnect...

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

dmulcahey commented 10 months ago

Everyone please try the current beta

sidwin9 commented 10 months ago

Hello, Everything works correctly again with version 2024.1.0, thanks for the job.

dmulcahey commented 10 months ago

The 2024.1 release had a bunch of fixes in it that should address stability. I am going to close this. If folks still have issues please open a new issue and provide full debug logs and completely fill out the issue template. Also, please don't piggy back other issues that are open unless the issue, error messages if there are any, and the hardware configuration for the coordinator are EXACTLY the same. Thanks!!