Hello together,
i bought a new mini pc (N95) to migrate my HA installation from an old Pi3.
The migration was no problem. Just a fresh install and a restore out of the complete backup.
Everything works fine, except the ZHA Integration.
I am using a Conbee II from Dresden Electronic and it is working fine in the old machine (Pi3).
In the new machine i reconfigured the Conbee II and it saw the stick on the right port. But it ends up with an error in the last config screen.
I searched for the problem in the internet, but just found some different problems like loosing connections.
I added my dev log.
Perhaps someone hat the same problem and has an idea what i can do.
2024-04-27 18:17:52.954 DEBUG (MainThread) [zigpy_deconz.uart] Connecting to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2684116-if00
2024-04-27 18:17:52.954 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2684116-if00' (38400 baudrate)
2024-04-27 18:17:52.957 DEBUG (MainThread) [zigpy_deconz.uart] Connection made
2024-04-27 18:17:52.957 DEBUG (MainThread) [zigpy_deconz.uart] Connected to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2684116-if00
2024-04-27 18:17:52.957 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.read_parameter{'parameter_id': <NetworkParameter.protocol_version: 34>, 'parameter': b''} (seq=1)
2024-04-27 18:17:52.957 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0a01000800010022
2024-04-27 18:17:52.958 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a01000a000300220e01
2024-04-27 18:17:52.958 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.read_parameter{'status': <Status.SUCCESS: 0>, 'frame_length': 10, 'payload_length': 3, 'parameter_id': <NetworkParameter.protocol_version: 34>, 'parameter': b'\x0e\x01'} (seq 1)
2024-04-27 18:17:52.958 DEBUG (MainThread) [zigpy_deconz.api] Read parameter protocol_version(None)=270
2024-04-27 18:17:52.959 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.version{'reserved': 0} (seq=2)
2024-04-27 18:17:52.959 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0d0200090000000000
2024-04-27 18:17:52.967 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0d0200090000077226
2024-04-27 18:17:52.967 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.version{'status': <Status.SUCCESS: 0>, 'frame_length': 9, 'version': FirmwareVersion<0x26720700>(reserved=0, platform=<FirmwarePlatform.Conbee_II: 7>, minor=114, major=38)} (seq 2)
2024-04-27 18:17:52.967 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.device_state{} (seq=3)
2024-04-27 18:17:52.968 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0703000800000000
2024-04-27 18:17:54.769 DEBUG (MainThread) [zigpy_deconz.api] No response to 'CommandId.device_state' command with seq 3
2024-04-27 18:17:54.770 DEBUG (Thread-27) [aiosqlite] executing functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f699caaea20>)
2024-04-27 18:17:54.770 DEBUG (Thread-27) [aiosqlite] operation functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f699caaea20>) completed
2024-04-27 18:17:54.772 DEBUG (MainThread) [zigpy_deconz.api] Serial '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2684116-if00' connection lost unexpectedly: None
2024-04-27 18:17:54.772 DEBUG (Thread-27) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6965179f30>, 'PRAGMA wal_checkpoint;', [])
2024-04-27 18:17:54.773 DEBUG (Thread-27) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6965179f30>, 'PRAGMA wal_checkpoint;', []) completed
2024-04-27 18:17:54.774 DEBUG (Thread-27) [aiosqlite] executing functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f6975b6b240>)
2024-04-27 18:17:54.775 DEBUG (Thread-27) [aiosqlite] operation functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f6975b6b240>) completed
2024-04-27 18:17:54.775 DEBUG (Thread-27) [aiosqlite] executing functools.partial(<built-in method close of sqlite3.Connection object at 0x7f6965179f30>)
2024-04-27 18:17:54.776 DEBUG (Thread-27) [aiosqlite] operation functools.partial(<built-in method close of sqlite3.Connection object at 0x7f6965179f30>) completed
2024-04-27 18:17:54.777 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 589, 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 153, in async_setup_entry
zha_gateway = await ZHAGateway.async_from_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 197, in async_from_config
await instance.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 215, in async_initialize
await app.startup(auto_form=True)
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 233, 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 468, in connect
device_state_rsp = await self.send_command(CommandId.device_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 588, 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