core: ZHA failed to set up Conbee II 2023.9.3
The problem
Since updating to 2023.9.3, my ZHA is failing to start up with my Conbee II.
Have tried reloading the integration and re-configuring the device but still not working.
Log…
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:209
First occurred: 10:51:23 PM (8 occurrences)
Last logged: 11:17:23 PM
Error setting up entry ConBee II for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 198, in startup
await self.initialize(auto_form=auto_form)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 155, in initialize
await self.permit(0)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 1140, in permit
await zigpy.zdo.broadcast(
File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 519, in broadcast
return await app.broadcast(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 916, in broadcast
await self.send_packet(
File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 464, in send_packet
raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.NWK_INVALID_REQUEST: 194>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 180, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 222, in async_initialize
raise exc
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 209, in async_initialize
await self.application_controller.startup(auto_form=True)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 201, in startup
await self.shutdown()
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 406, in shutdown
await self._dblistener.shutdown()
File "/usr/local/lib/python3.11/site-packages/zigpy/appdb.py", line 187, in shutdown
await self._set_isolation_level(None)
File "/usr/local/lib/python3.11/site-packages/zigpy/appdb.py", line 205, in _set_isolation_level
await self._db._execute(lambda: setattr(self._db, "isolation_level", level))
File "/usr/local/lib/python3.11/site-packages/aiosqlite/core.py", line 126, in _execute
raise ValueError("Connection closed")
ValueError: Connection closed
What version of Home Assistant Core has the issue?
core-2023.9.3
What was the last working version of Home Assistant Core?
core-2023.9.2
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:209
First occurred: 10:51:23 PM (8 occurrences)
Last logged: 11:17:23 PM
Error setting up entry ConBee II for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 198, in startup
await self.initialize(auto_form=auto_form)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 155, in initialize
await self.permit(0)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 1140, in permit
await zigpy.zdo.broadcast(
File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 519, in broadcast
return await app.broadcast(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 916, in broadcast
await self.send_packet(
File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 464, in send_packet
raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.NWK_INVALID_REQUEST: 194>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 180, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 222, in async_initialize
raise exc
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 209, in async_initialize
await self.application_controller.startup(auto_form=True)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 201, in startup
await self.shutdown()
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 406, in shutdown
await self._dblistener.shutdown()
File "/usr/local/lib/python3.11/site-packages/zigpy/appdb.py", line 187, in shutdown
await self._set_isolation_level(None)
File "/usr/local/lib/python3.11/site-packages/zigpy/appdb.py", line 205, in _set_isolation_level
await self._db._execute(lambda: setattr(self._db, "isolation_level", level))
File "/usr/local/lib/python3.11/site-packages/aiosqlite/core.py", line 126, in _execute
raise ValueError("Connection closed")
ValueError: Connection closed
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 1
- Comments: 26 (3 by maintainers)
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.
it is VERY important you hav an USB extention cable between the Conbee stick. I had meny issues until I installed one.
I had to unplug, wait a bit and replug the Conbee II every few hours to make the network respond again with the crashes occurring. Then I unplugged the dongle, upgraded to 2023.9.3 again (I reverted to .2 before for debugging), didn’t get crashes, plugged the Conbee II back in and the setup has been happy since. It’s running stable for days now, so I’m unsure about what the issue is/was.