I added a USB extender cable to my Nortek ZHA/ZWave stick, which is attached to a HP Elitedesk PC, running Home Assistant in Proxmox (as suggested in a video by Mark Wyatt Tech on YT)
Before adding the cable, in general things were running ok, but after adding it, I get the message:
HubZ Smart Home Controller - HubZ ZigBee Com Port
Failed to set up
I am not in any way computer savvy, and am a noob with Home Assistant / the HP Elite Desk, and Proxmox, so have absolutely no idea what to look at to try to fix this.
In the Settings/Hardware menu, the Virtual Machine does show up, but the Processor data shows it is at 0%, although the memory is at 0.7GB/6GB
I am fairly confident that I am not providing enough information, but simply don’t know enough to know what information is required. Is it simply that the USB extender is not functioning ?
The HA logs show:
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:174
First occurred: 08:33:02 (1 occurrences)
Last logged: 08:33:02
Error setting up entry HubZ Smart Home Controller - HubZ ZigBee Com Port 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-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 111, in async_setup_entry
await zha_gateway.async_initialize()
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 189, in async_initialize
raise exc
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 174, in async_initialize
self.application_controller = await app_controller_cls.new(
File “/usr/local/lib/python3.10/site-packages/zigpy/application.py”, line 169, in new
await app.startup(auto_form=auto_form)
File “/usr/local/lib/python3.10/site-packages/zigpy/application.py”, line 145, in startup
await self.connect()
File “/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py”, line 124, in connect
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
File “/usr/local/lib/python3.10/site-packages/bellows/ezsp/init.py”, line 101, 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 118, 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 396, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
File “/usr/local/lib/python3.10/site-packages/bellows/uart.py”, line 375, in _connect
transport, protocol = await zigpy.serial.create_serial_connection(
File “/usr/local/lib/python3.10/site-packages/zigpy/serial.py”, line 40, 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-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0’
And also:
Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:174
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 08:32:56 (3 occurrences)
Last logged: 08:33:02
Couldn’t start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 1 of 3)
Couldn’t start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 2 of 3)
Couldn’t start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 3 of 3)
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-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 174, in async_initialize
self.application_controller = await app_controller_cls.new(
File “/usr/local/lib/python3.10/site-packages/zigpy/application.py”, line 169, in new
await app.startup(auto_form=auto_form)
File “/usr/local/lib/python3.10/site-packages/zigpy/application.py”, line 145, in startup
await self.connect()
File “/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py”, line 124, in connect
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
File “/usr/local/lib/python3.10/site-packages/bellows/ezsp/init.py”, line 101, 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 118, 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 396, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
File “/usr/local/lib/python3.10/site-packages/bellows/uart.py”, line 375, in _connect
transport, protocol = await zigpy.serial.create_serial_connection(
File “/usr/local/lib/python3.10/site-packages/zigpy/serial.py”, line 40, 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-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_91500116-if01-port0’