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?