Error when setting Up Conbee2
Is this a common error when trying to set up ZigBee HomeAssistant Automation or a new one?
2025-10-19 11:27:36.764 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 485, in _aps_data_indication
r = await self._command(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 308, in _command
self._uart.send(data)
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
It appeared while I was doing the initial setup as seen in the image below (sorry it's in German):
I run home assistant in a Docker container, but the device /dev/ttyACM0 is provided (via --device parameter in the docker run command).
This error says that the connection to the radio was lost and a pending request was cancelled. Does the radio work?
The radio works perfectly fine. Is the deconz service maybe interfereing with it?
ZHA and Deconz can't both be running at the same time so if you have one, you should get rid of the other.
Just did that, then I got one step further, but now I have this new error message:
WARNING (MainThread) [zigpy.device] Device <DeconzDevice model='RaspBee II' manuf='dresden elektronik' nwk=0x0000 ieee=00:21:2e:ff:ff:09:73:1a is_initialized=False> failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 183, in initialize await self._initialize() File "/usr/local/lib/python3.11/site-packages/zigpy/util.py", line 138, in retry return await func() ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 204, in _initialize await self.get_node_descriptor() File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 169, in get_node_descriptor status, _, node_desc = await self.zdo.Node_Desc_req(self.nwk) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 297, in request await self._application.request( File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 768, in request await self.send_packet( File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 442, in send_packet await self._api.aps_data_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'aps_data_request'
The deconz gateway, however is now disabled.