Setup:
- 2023.4.0
- Running official image as a VM under VirtualBox 6
- Host: Win11 running on a NUC.
- SkyConnect running using supplied cable from a USB 2.0 port (tried other ports)
- 3 zigbee devices connected via SkyConnect, all within close proximity
Issue
- After the update to 2023.4, I have lost access to the SkyConnect. It fails with ‘Error setting up entry SkyConnect v1.0 for zha’ - detailed log below:
Error setting up entry SkyConnect v1.0 for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_eed082420541ed11b1d07ca7ccf2b06c-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 122, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize
raise exc
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 191, in new
await app.startup(auto_form=auto_form)
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 165, in startup
await self.connect()
File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 125, in connect
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 103, in initialize
await ezsp.connect(use_thread=zigpy_config[conf.CONF_USE_THREAD])
File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 120, in connect
self._gw = await bellows.uart.connect(self._config, self, use_thread=use_thread)
File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 398, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 377, in _connect
transport, protocol = await zigpy.serial.create_serial_connection(
File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, in create_serial_connection
transport, protocol = await pyserial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.10/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.10/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.10/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 2] could not open port /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_eed082420541ed11b1d07ca7ccf2b06c-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_eed082420541ed11b1d07ca7ccf2b06c-if00-port0'
Things I have tried:
- Powering off the host NUC and rebooting everything
- Changing the USB port used by SkyConnect to another one
- Removed the USB filter in Virtualbox and adding it back in again. This shows that the host recognises the SkyConnect at the host level:
- Can’t spot any Nabu_Casa devices when searching under All Hardware from the GUI in Home Assistant
- I have the SSH & Web terminal installed. Struggled to putty into the box
I am more familar in the Home Assistant GUI over SSH, so apologies in advance if I struggle to get the info required in order to troubleshoot. Thanks for any help.