ZHA Conbee II stops working after update

So my situation is as follows:

  • Dell Optiplex 3040 MFF
  • Home Assistant Operating System 7.0
  • Core and supervisor: 2021.12.2
  • Conbee II Zigbee stick
  • ZHA integration
  • 2m USB extension cable
  • Hue lights and motion sensors
  • Ikea lights and buttons
  • Aqara door sensors

So the problem is that every time I do an update to a newer version my ZHA integration just stops responding. My devices show as unavailable, the ZHA integration gives me a warning message: " Retrying setup, Check the logs"

If I don’t do anything, after a while the devices start showing available, but the response is almost nonexistent, generating errors all in the logs. I’ve tried disconnecting the stick for some time, removing bulbs from the power, and just wait.

After a while, the situation stabelises and works like a charm.

Why is this happening and why can’t I just have a hassle-free upgrade without losing my lights in the house for some time.

Some of the error messages in the logs:



Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:152
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 2:24:11 PM (16 occurrences)
Last logged: 2:40:48 PM
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
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/core/gateway.py", line 152, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/zigbee/application.py", line 67, in startup
    self.version = await self._api.version()
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 463, in version
    (self._proto_ver,) = await self[NetworkParameter.protocol_version]
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 428, in read_parameter
    r = await self._command(Command.read_parameter, 1 + len(data), param, data)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 313, in _command
    return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
 Logger: zigpy.application
Source: /usr/local/lib/python3.9/site-packages/zigpy/application.py:73
First occurred: 2:24:11 PM (16 occurrences)
Last logged: 2:40:48 PM
Couldn't start application
 Logger: zigpy_deconz.api
Source: /usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py:257
First occurred: 2:25:41 PM (5 occurrences)
Last logged: 2:40:46 PM
Serial '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2412712-if00' connection lost unexpectedly: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Anyone got some suggestions how to get this stable or what the problem might be?

Just a thought: is your Conbee II Stick running the latest firmware?
https://deconz.dresden-elektronik.de/deconz-firmware/

I’ve updated it a couple of months ago because I read that somewhere, so I guess I’m running the latest version, but I will double-check when I get home today.

To confirm, I am running the latest firware for the Conbee II stick.

Did you find a solution to your problem?

Nope, out of frustration, I ended up switching to Slaesh’s cc2652rb stick and Z2M. It reacts a fraction slower but the peace of mind before upgrading to a newer version of Hass is worth that little bit more delay. It has been working flawlessly in this new situation.

Good to hear it works, but I hope to find a solution using my current setup haha.

After a reboot i have to wait about 30 minutes for all devices to come online again, today I also noticed my Conbee2 won’t pair to new devices anymore (also removing already connected bulbs and trying to pair again isn’t working)…

Same here on RPi (Hassio) with Conbee II stick on an extension cable.
I almost always have this “Retrying setup” / “Check the logs” warning on the Integrations page.

image

It sometimes goes away by itself and would come back (usually after a HA restart)
Most of my Zigbee devices are responsive though.
Reading the logs doesn’t help much (too cryptic for me).
I saw others mentioning such a problem here and there without coming up with a clear fix…

For me its the same again. Conbee 2 on ZHM setup, whenever I try to update all Devices drop down an Conbee 2 on ZHM integration Fails top setup. Please help I am still tucked on 2022.4 update of home assistant.
Fail error
ConBee II - /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2436108-

This is the same issue that iam facing too. Like word by word that’s the same error I got too. had to roll back to 2022.4.7 version to still keep the Conbee 2 on zha working

Sorry to hijack a thread, but this seems the most sensible place to post my question.

Any idea why my ConBee II no longer reports RSSI and LQI? The network still seems to be be fine and all the automations work.

As can bee seen in the last image, the Zigbee information does contain RSSI and LQI info, but the HA entities show ‘unavailable’. Is this some stupid config stuff that I did?