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

Zigbee network stopped working after upgrade #107701

Open
InvisibleFunction opened this issue Jan 10, 2024 · 23 comments
Open

Zigbee network stopped working after upgrade #107701

InvisibleFunction opened this issue Jan 10, 2024 · 23 comments
Assignees

Comments

@InvisibleFunction
Copy link

The problem

All my zigbee devices stopped working. I use ZHA. I upgraded and then everything stopped working:

image

I have a SONOFF SNZB-02D, several Aqara Buttons, and some Ikea Tradfri Switches.

Here is the lsusb for my HUSBZB-1:

Bus 001 Device 002: ID 10c4:8a2a Silicon Labs HubZ Smart Home Controller

What version of Home Assistant Core has the issue?

2024.1.2

What was the last working version of Home Assistant Core?

2023.11.?

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

home-assistant_zha_2024-01-10T03-40-01.899Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I'm a beginner HA user, so I might have missed something basic.

I've also upgraded more than once since the issue started, hoping that an upgrade would fix this issue.

@Austin1
Copy link

Austin1 commented Jan 10, 2024

Mine stopped as well, I have a deconz conbee2 and it stopped working 2 weeks ago.

I just came here to post this issue because in my research I hadn't seen my exact issue. I'm not sure if yours is it either but figured I'd say something to bump zigbee issues. I just found this error after rebooting my system and downloading the zigbee debug log.

2024-01-09 21:57:14.935 DEBUG (MainThread) [homeassistant.components.zha] Failed to set up ZHA
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 586, in _command
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
    zha_gateway = await ZHAGateway.async_from_config(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 193, in async_from_config
    await instance.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 211, in async_initialize
    await app.startup(auto_form=True)
  File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 225, in startup
    await self.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 97, in connect
    await api.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 466, in connect
    await self.version()
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 802, in version
    self._protocol_version = await self.read_parameter(
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 821, in read_parameter
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 585, in _command
    async with asyncio_timeout(COMMAND_TIMEOUT):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

@home-assistant
Copy link

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)

@macoca28021
Copy link

macoca28021 commented Jan 10, 2024

I have the same problem. When updating from 2023.12.4 to 2024.1.2, all zigbee devices have stopped working. I had to downgrade to 2023.12.4 to resolve it.
I have a Conbee 2

@homefuzz-oz
Copy link

homefuzz-oz commented Jan 10, 2024

Same here. I have a Skyconnect
Can’t send any request to devices any more

Here is a log entry of the error when trying to send a request to a device:

logger:%20homeassistant.components.websocket_api.http.connection%0ASource%3A%20components/websocket_api/commands.py:238%0AIntegration:%20Home%20Assistant%20WebSocket%20API%20(documentation,%20issues)%0AFirst%20occurred:%2008:26:47%20(3%20occurrences)%0ALast%20logged:%2008:26:59%0A%0A%5B547108865088%5D%20Failed%20to%20send%20request:%20Failed%20to%20deliver%20message:%20%3CEmberStatus.DELIVERY_FAILED:%20102%3E%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py%22,%20line%2064,%20in%20wrap_zigpy_exceptions%0A%20%20%20%20yield%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py%22,%20line%2084,%20in%20wrapper%0A%20%20%20%20return%20await%20RETRYABLE_REQUEST_DECORATOR(func)(*args,%20**kwargs)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/zigpy/util.py%22,%20line%20137,%20in%20retry%0A%20%20%20%20return%20await%20func()%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py%22,%20line%20377,%20in%20request%0A%20%20%20%20return%20await%20self.endpoint.request(%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/zigpy/endpoint.py%22,%20line%20253,%20in%20request%0A%20%20%20%20return%20await%20self.device.request(%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/zigpy/device.py%22,%20line%20322,%20in%20request%0A%20%20%20%20await%20send_request%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/zigpy/application.py%22,%20line%20833,%20in%20request%0A%20%20%20%20await%20self.send_packet(%0A%20%20File%20%22/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py%22,%20line%20931,%20in%20send_packet%0A%20%20%20%20raise%20zigpy.exceptions.DeliveryError(%0Azigpy.exceptions.DeliveryError:%20Failed%20to%20deliver%20message:%20%3CEmberStatus.DELIVERY_FAILED:%20102%3E%0A%0AThe%20above%20exception%20was%20the%20direct%20cause%20of%20the%20following%20exception:%0A%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py%22,%20line%20238,%20in%20handle_call_service%0A%20%20%20%20response%20=%20await%20hass.services.async_call(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202149,%20in%20async_call%0A%20%20%20%20response_data%20=%20await%20coro%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202186,%20in%20_execute_service%0A%20%20%20%20return%20await%20target(service_call)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/entity_component.py%22,%20line%20272,%20in%20handle_service%0A%20%20%20%20return%20await%20service.entity_service_call(%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/service.py%22,%20line%20882,%20in%20entity_service_call%0A%20%20%20%20single_response%20=%20await%20_handle_entity_call(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/service.py%22,%20line%20952,%20in%20_handle_entity_call%0A%20%20%20%20result%20=%20await%20task%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/zha/cover.py%22,%20line%20206,%20in%20async_stop_cover%0A%20%20%20%20res%20=%20await%20self.cover_cluster_handler.stop()%0A%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py%22,%20line%2083,%20in%20wrapper%0A%20%20%20%20with%20wrap_zigpy_exceptions():%0A%20%20File%20%22/usr/local/lib/python3.11/contextlib.py%22,%20line%20155,%20in%20__exit%0A%20%20%20%20self.gen.throw(typ,%20value,%20traceback)%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py%22,%20line%2075,%20in%20wrap_zigpy_exceptions%0A%20%20%20%20raise%20HomeAssistantError(message)%20from%20exc%0Ahomeassistant.exceptions.HomeAssistantError:%20Failed%20to%20send%20request:%20Failed%20to%20deliver%20message:%20%3CEmberStatus.DELIVERY_FAILED:%20102%3E%0A

@erkr
Copy link

erkr commented Jan 10, 2024

I lost just one device this time (more luck I guess), during the updated from 2023.12.4 to 2024.2.1 (pi4b, conbee2).
Loosing one or more devices during a core update happened several times in the last months. Because of the huge pile of zha related loggings, I had no clue till now!

After the latest update, I only saw a few warnings of an unknown address. After re adding the lost device, these unknown address warnings where gone! So after the update, there was an address mismatch between zha and the actual device lost.
I'm sure the device (an aqara lumi temp sensor) was still on the zigbee network, as initially it continued to send temp updates for the first hours (causing the adres warnings) till Zha considered the device was unavailable.
Hope this contributes to a solution.

@MacGyverr
Copy link

I have a CC2652-P (Sonoff Zigbee 3.0 USB Dongle-P) and mine too stopped working following the .1 update, I just flashed my firmware with CC1352P2_CC2652P_launchpad_coordinator_20230507.hex via Python cc2538-bsl.py script and now it all works again. There are a bunch of versions of the firmware, make sure you get the right one for your device.
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin
https://github.com/JelmerT/cc2538-bsl
image

@modularTaco
Copy link

Same issue with the CC2652-P (Sonoff Zigbee 3.0 USB Dongle-P) since the update from 2023.12.4 to 2024.1.2.
Downgraded to 2023.12.4 and works again.

I have a CC2652-P (Sonoff Zigbee 3.0 USB Dongle-P) and mine too stopped working following the .1 update, I just flashed my firmware with CC1352P2_CC2652P_launchpad_coordinator_20230507.hex via Python cc2538-bsl.py script and now it all works again. There are a bunch of versions of the firmware, make sure you get the right one for your device.

Thanks for the advice! I'll try it on the weekend.

@MacGyverr
Copy link

I tried every version of that TI SmartRF Flash Programmer 2 program and none of them worked and only threw errors. ZigStarGW-MT seemed to have a virus, or at least it looked that way. Only the python script worked to flash it.

https://itead.cc/wp-content/uploads/2023/05/CP210x_Windows_Drivers_with_Serial_Enumeration.zip
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin
https://github.com/JelmerT/cc2538-bsl

I had to install the driver, confirm my serial port with Device Manager, then from an admin Powershell prompt in the folder where both the Python script and the firmware were at, install Python and then "pip3 install pyserial" and "pip3 install IntelHex"and then run:
python cc2538-bsl.py -p COM5 -evw --bootloader-sonoff-usb .\CC1352P2_CC2652P_launchpad_coordinator_20230507.hex

@macoca28021
Copy link

All done. I just updated from 2023.12.4 to 2024.1.3. Thank you very much for the solution.

@modularTaco
Copy link

I tried every version of that TI SmartRF Flash Programmer 2 program and none of them worked and only threw errors. ZigStarGW-MT seemed to have a virus, or at least it looked that way. Only the python script worked to flash it.

https://itead.cc/wp-content/uploads/2023/05/CP210x_Windows_Drivers_with_Serial_Enumeration.zip https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin https://github.com/JelmerT/cc2538-bsl

I had to install the driver, confirm my serial port with Device Manager, then from an admin Powershell prompt in the folder where both the Python script and the firmware were at, install Python and then "pip3 install pyserial" and "pip3 install IntelHex"and then run: python cc2538-bsl.py -p COM5 -evw --bootloader-sonoff-usb .\CC1352P2_CC2652P_launchpad_coordinator_20230507.hex

Thanks for the details! Works like a charm!

Did the update with the one-liner from https://github.com/git-developer/ti-cc-tool: docker run --rm --device /dev/ttyUSB1:/dev/ttyUSB1 -e FIRMWARE_URL=https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_coordinator_20230507.zip ckware/ti-cc-tool -ewv -p /dev/ttyUSB1 --bootloader-sonoff-usb

@garbast
Copy link

garbast commented Jan 13, 2024

Same problem when updating Home Assistant Operating System to 11.4 with an Tasmota 13.0 flashed Sonoff Wifi bridge.

2024-01-13 17:28:26.120 DEBUG (MainThread) [homeassistant.components.zha] Failed to set up ZHA
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
    zha_gateway = await ZHAGateway.async_from_config(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 193, in async_from_config
    await instance.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 211, in async_initialize
    await app.startup(auto_form=True)
  File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 225, in startup
    await self.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 103, in connect
    await znp.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 736, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 716, in _skip_bootloader
    return await self.request(c.SYS.Ping.Req())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1055, in request
    async with async_timeout.timeout(
  File "/usr/local/lib/python3.11/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.11/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
TCP ZBBridge Pro
tasmota-zigbee-pro
Program Version | 13.0.0.1(zbbrdgpro)
-- | --
2023-06-30T10:00:13
2_0_10/4.4.5.230614
0T02:46:14
893
16
Software reset CPU
 
WIFI-SID 1 (100%, -22 dBm) 11n
tasmota-30AF0C-3852
fe80::edc:7eff:fe30:af0c
0C:DC:7E:30:AF:0C
10.10.20.3
10.10.0.1
255.255.224.0
10.10.0.20
10.10.0.1
 
Enabled
 
 
1883
Disabled
DVES_USER
DVES_30AF0C
tasmota_%06X
cmnd/tasmotas/
cmnd/tasmota_30AF0C/
cmnd/DVES_30AF0C_fb/
Disabled
 
None
 
3190540 (ESP32-D0WD-V3 rev.3)
0x16405E (DIO)
4096 KB
4096 KB
1471 KB
384 KB
123.9 KB (frag. 12%)
 
832 KB (used 93%)
1856 KB (used 79%)
1344 KB

After updating Tasmota to 13.3.0.3 ZHA worked again. http://ota.tasmota.com/tasmota32/

@garbast
Copy link

garbast commented Jan 16, 2024

And after a restart to update a hacs plugin the ZHA Error reappeared:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1059, in request
    response = await response_future
               ^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
    zha_gateway = await ZHAGateway.async_from_config(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 193, in async_from_config
    await instance.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 211, in async_initialize
    await app.startup(auto_form=True)
  File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 225, in startup
    await self.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 103, in connect
    await znp.connect()
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 736, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 716, in _skip_bootloader
    return await self.request(c.SYS.Ping.Req())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1055, in request
    async with async_timeout.timeout(
  File "/usr/local/lib/python3.11/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.11/site-packages/async_timeout/__init__.py", line 228, in _do_exit
    raise asyncio.TimeoutError
TimeoutError
2024-01-16 14:22:09.286 INFO (MainThread) [reolink_aio.api] Reolink Blumenwiese ONVIF event channel 0, Motion: True

@MacGyverr
Copy link

Sadly mine did too, but I just assumed it was because I just pulled the controller out while on and running. I removed and re-added the devices back and they worked. We'll see what happens after the next reload.

@garbast
Copy link

garbast commented Jan 25, 2024

After latest update of HA to 2024.1.5 the problem did not reappeared.

@frank777777
Copy link

@garbast , I presume this issue is related to this old one #107200
and I presume the latest upgrade to.5 wont solve totally, but just for a while ..
let us know .
thanks

@pegrit
Copy link

pegrit commented Feb 22, 2024

Has someone a fix for this issue for Conbee 2?
I use home assistant core 2024.2.2. I also get the same error:

2024-02-22 17:38:51.042 DEBUG (MainThread) [homeassistant.components.zha] Failed to set up ZHA
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 590, in _command
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
    zha_gateway = await ZHAGateway.async_from_config(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 196, in async_from_config
    await instance.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 214, in async_initialize
    await app.startup(auto_form=True)
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 225, in startup
    await self.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 97, in connect
    await api.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 466, in connect
    await self.version()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 814, in version
    self._protocol_version = await self.read_parameter(
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 833, in read_parameter
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 589, in _command
    async with asyncio_timeout(COMMAND_TIMEOUT):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

@Austin1
Copy link

Austin1 commented Feb 23, 2024

It's so odd. My zigbee and zwave issues just flip flop. My zigbee issues stopped and now I get zwave issues.

@fazutan
Copy link

fazutan commented Feb 24, 2024

looks like it is connected with this topic #107200 (comment)

I have simmilar issues , some of my zigbee devices become unavalible, then the network is sudenly stopped, all after last update

@garbast
Copy link

garbast commented Mar 2, 2024

New update and its broken again.
So, @frank777777 you were right. It's not fixed.
After half an hour retrying the instance managed to connect with the bridge.

@mbartsch
Copy link

mbartsch commented Mar 3, 2024

I can report same problem with Sonoff Zigbee 3.0 USB Dongle Plus for zha

@frank777777
Copy link

FYI: as I mentioned in the linked issue . I solved (temporarily) with this workaround:
I bought an extra dongle (Sonoff. Zigbee …) I set up another zigbee network that work on parallel .. with zigbee 2 MQTT… and paired all the radar vwmm zigbee stuff ..

Then (hesitate..) update core and OS.. works all fine up to now .

Frank

@fuslwusl
Copy link

fuslwusl commented Mar 8, 2024

Same issue with the CC2652-P (Sonoff Zigbee 3.0 USB Dongle-P) since the update from 2023.12.4 to 2024.1.2. Downgraded to 2023.12.4 and works again.

I have a CC2652-P (Sonoff Zigbee 3.0 USB Dongle-P) and mine too stopped working following the .1 update, I just flashed my firmware with CC1352P2_CC2652P_launchpad_coordinator_20230507.hex via Python cc2538-bsl.py script and now it all works again. There are a bunch of versions of the firmware, make sure you get the right one for your device.

Thanks for the advice! I'll try it on the weekend.

Having the same issue - can anybody help how to get things working again in 2024.3.0

@garbast
Copy link

garbast commented Apr 25, 2024

New update new luck again fail. It starts to getting old. After updating to 2024.4.4 the zha keeps on searching and failing to connect to the zigbee bridge. Next time i will think about, it it's worth the hassel. As much i love HA, this is a real pain in the backside.
I would hate to move over to z2m with 16 devices...

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

No branches or pull requests