Hello all,
I am running Home Assistant in a VM using unraid. While it seems that I can pass the Conbee2 stick to Hass, ZHA cannot initalize with error: Failed to probe the usb device
This is all very frustrating because it worked for a long time.
I have seen threads like this: Passthrough of ConBee II Zigbee USB Gateway to Home Assistant Virtual Machine - Page 2 - VM Engine (KVM) - Unraid. Where you can change the config of your VM, but I dont think I am having this issue, as Hass can see the device.
Any insight on this would be fantastic. Thanks for reading.
Details:
Home Assistant Core 2022.6.6
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2
Conbee2 stick FW: 26780700
Click these for more detail:
Relevant Home Assistant Logs
2022-06-15 11:25:38 DEBUG (MainThread) [zigpy.appdb] SQLite version for <module 'sqlite3' from '/usr/local/lib/python3.9/sqlite3/__init__.py'>: 3.34.1
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.zigbee.application] Probing /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.uart] Connecting to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 at 115200 baud
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.uart] Opened /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 serial port
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.uart] Connected to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 at 115200 baud
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
2022-06-15 11:28:03 DEBUG (MainThread) [zigpy_znp.uart] Setting serial pin states: DTR=False, RTS=False
2022-06-15 11:28:13 DEBUG (MainThread) [zigpy_znp.api] Connection to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 failed, cleaning up
2022-06-15 11:28:13 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2022-06-15 11:28:13 DEBUG (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00', 'baudrate': 115200, 'flow_control': None}
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 530, in _skip_bootloader
result = await responses.get()
File "/usr/local/lib/python3.9/asyncio/queues.py", line 166, in get
await getter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 116, in probe
await znp.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 572, in connect
self.capabilities = (await self._skip_bootloader()).Capabilities
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 530, in _skip_bootloader
result = await responses.get()
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2022-06-15 11:28:13 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2022-06-15 11:28:16 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 75, in _probe
await self.reset()
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 98, in reset
await self._gw.reset()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 59, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:28:16 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
OSError: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 59, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 74, in _probe
await self.connect()
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 92, in connect
self._gw = await bellows.uart.connect(self._config, self)
File "/usr/local/lib/python3.9/site-packages/bellows/uart.py", line 363, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
File "/usr/local/lib/python3.9/site-packages/bellows/uart.py", line 340, in _connect
transport, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 448, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 5] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
2022-06-15 11:28:16 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2022-06-15 11:28:18 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2022-06-15 11:28:18 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 400, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 416, in _probe
await self.device_state()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 314, in _command
return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:28:18 DEBUG (MainThread) [zigpy_zigate.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
OSError: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 258, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 283, in _probe
await self.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 101, in connect
self._uart = await zigpy_zigate.uart.connect(self._config, self)
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/uart.py", line 153, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 448, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 5] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
2022-06-15 11:28:18 DEBUG (MainThread) [zigpy_xbee.api] at command: AP (2,)
2022-06-15 11:28:18 DEBUG (MainThread) [zigpy_xbee.api] Command at (b'AP', b'\x02')
2022-06-15 11:28:19 WARNING (MainThread) [zigpy_xbee.api] at: No response to AP command
2022-06-15 11:28:22 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:22 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 1200 next
2022-06-15 11:28:26 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:26 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 1200bps, trying 2400 next
2022-06-15 11:28:29 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:29 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 2400bps, trying 4800 next
2022-06-15 11:28:32 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:32 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 4800bps, trying 9600 next
2022-06-15 11:28:35 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:35 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 9600bps, trying 19200 next
2022-06-15 11:28:38 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:38 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 19200bps, trying 38400 next
2022-06-15 11:28:42 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:42 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 38400bps, trying 57600 next
2022-06-15 11:28:45 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:45 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 115200 next
2022-06-15 11:28:48 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:48 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 115200bps, trying 230400 next
2022-06-15 11:28:51 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:28:51 DEBUG (MainThread) [zigpy_xbee.api] Couldn't enter AT command mode at any known baudrate.Configure XBee manually for escaped API mode ATAP2
2022-06-15 11:28:51 DEBUG (MainThread) [zigpy_xbee.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 597, in _probe
await self._at_command("AP", 2)
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 385, in _at_partial
return await asyncio.wait_for(
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 579, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 600, in _probe
raise APIException("Failed to configure XBee for API mode")
zigpy.exceptions.APIException: Failed to configure XBee for API mode
2022-06-15 11:29:40 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2022-06-15 11:29:42 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2022-06-15 11:29:42 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 400, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 416, in _probe
await self.device_state()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 314, in _command
return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.zigbee.application] Probing /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.uart] Connecting to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 at 115200 baud
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.uart] Opened /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 serial port
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.uart] Connected to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 at 115200 baud
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
2022-06-15 11:30:41 DEBUG (MainThread) [zigpy_znp.uart] Setting serial pin states: DTR=False, RTS=False
2022-06-15 11:30:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.waze_lab_to_home is taking over 10 seconds
2022-06-15 11:30:47 INFO (SyncWorker_10) [WazeRouteCalculator.WazeRouteCalculator] Min Max
33.93 50.40 minutes
29.54 36.22 km
2022-06-15 11:30:49 INFO (MainThread) [homeassistant.components.automation.failsafe_energy_plugs] Failsafe Energy Plugs: Running automation actions
2022-06-15 11:30:49 INFO (MainThread) [homeassistant.components.automation.failsafe_energy_plugs] Failsafe Energy Plugs: Choose at step 1: choice 5: Running automation actions
2022-06-15 11:30:49 INFO (MainThread) [homeassistant.components.automation.failsafe_energy_plugs] Failsafe Energy Plugs: Choose at step 1: choice 5: Executing step call service
2022-06-15 11:30:51 DEBUG (MainThread) [zigpy_znp.api] Connection to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 failed, cleaning up
2022-06-15 11:30:51 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2022-06-15 11:30:51 DEBUG (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00', 'baudrate': 115200, 'flow_control': None}
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 530, in _skip_bootloader
result = await responses.get()
File "/usr/local/lib/python3.9/asyncio/queues.py", line 166, in get
await getter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 116, in probe
await znp.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 572, in connect
self.capabilities = (await self._skip_bootloader()).Capabilities
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 530, in _skip_bootloader
result = await responses.get()
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2022-06-15 11:30:51 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2022-06-15 11:30:54 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 75, in _probe
await self.reset()
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 98, in reset
await self._gw.reset()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 59, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:30:54 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2022-06-15 11:30:57 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 75, in _probe
await self.reset()
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 98, in reset
await self._gw.reset()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 59, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:30:57 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2022-06-15 11:30:59 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2022-06-15 11:30:59 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 400, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 416, in _probe
await self.device_state()
File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 314, in _command
return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-06-15 11:30:59 DEBUG (MainThread) [zigpy_zigate.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
OSError: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 258, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 283, in _probe
await self.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/api.py", line 101, in connect
self._uart = await zigpy_zigate.uart.connect(self._config, self)
File "/usr/local/lib/python3.9/site-packages/zigpy_zigate/uart.py", line 153, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 448, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 5] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
2022-06-15 11:30:59 DEBUG (MainThread) [zigpy_xbee.api] at command: AP (2,)
2022-06-15 11:30:59 DEBUG (MainThread) [zigpy_xbee.api] Command at (b'AP', b'\x02')
2022-06-15 11:31:00 WARNING (MainThread) [zigpy_xbee.api] at: No response to AP command
2022-06-15 11:31:03 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:03 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 1200 next
2022-06-15 11:31:07 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:07 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 1200bps, trying 2400 next
2022-06-15 11:31:10 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:10 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 2400bps, trying 4800 next
2022-06-15 11:31:13 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:13 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 4800bps, trying 9600 next
2022-06-15 11:31:16 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:16 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 9600bps, trying 19200 next
2022-06-15 11:31:19 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:19 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 19200bps, trying 38400 next
2022-06-15 11:31:23 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:23 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 38400bps, trying 57600 next
2022-06-15 11:31:26 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:26 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 115200 next
2022-06-15 11:31:29 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:29 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 115200bps, trying 230400 next
2022-06-15 11:31:32 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2022-06-15 11:31:32 DEBUG (MainThread) [zigpy_xbee.api] Couldn't enter AT command mode at any known baudrate.Configure XBee manually for escaped API mode ATAP2
2022-06-15 11:31:32 DEBUG (MainThread) [zigpy_xbee.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00' port
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 597, in _probe
await self._at_command("AP", 2)
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 385, in _at_partial
return await asyncio.wait_for(
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 579, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
return fut.result()
File "/usr/local/lib/python3.9/site-packages/zigpy_xbee/api.py", line 600, in _probe
raise APIException("Failed to configure XBee for API mode")
zigpy.exceptions.APIException: Failed to configure XBee for API mode
Hardware Detected by Home Assistant. (I removed the serial #)
Subsystem:tty
Device path:/dev/ttyACM0
ID:/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00
Attributes:
DEVLINKS: >- /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00 /dev/serial/by-path/pci-0000:00:07.0-usb-0:2:1.0 DEVNAME: /dev/ttyACM0 DEVPATH: /devices/pci0000:00/0000:00:07.0/usb2/2-2/2-2:1.0/tty/ttyACM0 ID_BUS: usb ID_MODEL: ConBee_II ID_MODEL_ENC: ConBee\x20II ID_MODEL_ID: ‘0030’ ID_PATH: pci-0000:00:07.0-usb-0:2:1.0 ID_PATH_TAG: pci-0000_00_07_0-usb-0_2_1_0 ID_REVISION: ‘0100’ ID_SERIAL: dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE ID_SERIAL_SHORT: DE ID_TYPE: generic ID_USB_DRIVER: cdc_acm ID_USB_INTERFACES: ‘:020201:0a0000:’ ID_USB_INTERFACE_NUM: ‘00’ ID_VENDOR: dresden_elektronik_ingenieurtechnik_GmbH ID_VENDOR_ENC: dresden\x20elektronik\x20ingenieurtechnik\x20GmbH ID_VENDOR_ID: 1cf1 MAJOR: ‘166’ MINOR: ‘0’ SUBSYSTEM: tty TAGS: ‘:systemd:’ USEC_INITIALIZED: ‘1366477’
Edit Nov 2024:
I ended up switching from running Home Assistant as a VM on Unraid to buying a dedicated NUC PC for Home assistant and Zigbee2MQTT, running on proxmox. I believe I used this guide: Easy Way To Install Home Assistant on Proxmox 8 - SmartHomeScene.
I recommend disconnecting your Home Assistant instance from your unraid server. I had often found myself restarting my unraid server and wishing I could keep Home Assistant running all that time. The unnecessary restarts would mess with automations or sensors.