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.9k stars 30.97k forks source link

After update zha not working #77253

Closed nzxtdk closed 1 year ago

nzxtdk commented 2 years ago

The problem

Updated to newest firmware and all of my zha devices is not working ( after 5 attempts its stops trying)

What version of Home Assistant Core has the issue?

2022.5

What was the last working version of Home Assistant Core?

2022.4

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Zha

Link to integration documentation on our website

No response

Diagnostics information

Logger: homeassistant.components.zha.core.channels.base Source: components/zha/core/channels/base.py:486 Integration: Zigbee Home Automation (documentation, issues) First occurred: 11:20:07 (4 occurrences) Last logged: 11:58:20

[0xEDAC:1:0x0002]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')] [0xEDAC:1:0x0102]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')] [0xEDAC:1:0x000d]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')] [0xEDAC:1:0x000d]: Could not set value: Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>

Example YAML snippet

.

Anything in the logs that might be useful for us?

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 11:20:07 (4 occurrences)
Last logged: 11:58:20

[0xEDAC:1:0x0002]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')]
[0xEDAC:1:0x0102]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')]
[0xEDAC:1:0x000d]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>')]
[0xEDAC:1:0x000d]: Could not set value: Request failed after 5 attempts: <Status.MAC_TRANSACTION_EXPIRED: 240>

Additional information

.

elupus commented 2 years ago

2022.4 and 2022.5 is really old. Did you mean 2022.8.4?

TonCoronel commented 2 years ago

Same issue for me since yesterday, all working fine, no changes made and all of a sudden all Zigbee devices not working anymore, getting the same error messages. I am running version 2022.8.6

What annoys me is that I am currently on vacation, build a sprinkler system based on Zigbee and ZHA and now away from home I cant fix it and my garden is without water... Now I have to explain to my wife why a simple water valve computer that works with a timer whas not good enough...

Tamas-Toth-ebola commented 2 years ago

It seems it is independent of the corresponding version but is really a big bug: https://community.home-assistant.io/t/zha-core-channels-base-async-initialize-all-attempts-have-failed/353680/55

I had it from last saturday evening, after upgrade 2002.8.6 to 2002.8.7. But as we can see on lot of other threads exactly this type of problem could be realised for a very long time with different HA versions.

Currently I do not know what to do :(

As the whole Zigbee network is dead in my live system, and the problem is also available at lot of other peope, I think this is really a critical problem/bug.

Tamas-Toth-ebola commented 2 years ago

Same problem: https://community.home-assistant.io/t/lost-all-zha-devices-after-reboot/412642/4

But there are lot more such reports without problem solving.

probot-home-assistant[bot] commented 2 years 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)

KentuckyMC commented 2 years ago

Got the same error suddenly for 2 lightbulbs. Some are still working though. Ikea bulb and Hue light not working. Same error in log on restarting HA. Also latest version here.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.