I’m running HA in docker with a CC2531 USB stick forwarded into the container. Zigbee was working fine on the latest .114 release but all devices are showing as unavailable after the .115 upgrade
In my logs I’ve got
Logger: zigpy.application
Source: /usr/local/lib/python3.8/site-packages/zigpy/application.py:67
First occurred: 9:35:07 (1 occurrences)
Last logged: 9:35:07Couldn’t start application
followed by
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:147
First occurred: 9:35:07 (1 occurrences)
Last logged: 9:35:07Error setting up entry TI CC2531 USB CDC, s/n: __0X00124B0014D9301A - Texas Instruments for zha
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/serial/serialposix.py”, line 265, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
OSError: [Errno 16] Resource busy: ‘/dev/ttyACM0’During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/zigpy/application.py”, line 65, in new
await app.startup(auto_form)
File “/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/application.py”, line 92, in startup
self._api = await API.new(self, self._config[CONF_DEVICE])
File “/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py”, line 94, in new
await api.connect()
File “/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py”, line 103, in connect
self._uart = await uart.connect(self._config, self)
File “/usr/local/lib/python3.8/site-packages/zigpy_cc/uart.py”, line 196, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File “/usr/local/lib/python3.8/asyncio/coroutines.py”, line 124, in coro
res = func(*args, **kw)
File “/usr/local/lib/python3.8/site-packages/serial_asyncio/init.py”, line 410, in create_serial_connection
ser = serial.serial_for_url(*args, **kwargs)
File “/usr/local/lib/python3.8/site-packages/serial/init.py”, line 88, in serial_for_url
instance.open()
File “/usr/local/lib/python3.8/site-packages/serial/serialposix.py”, line 268, in open
raise SerialException(msg.errno, “could not open port {}: {}”.format(self._port, msg))
serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyACM0: [Errno 16] Resource busy: ‘/dev/ttyACM0’During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 228, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 100, in async_setup_entry
await zha_gateway.async_initialize()
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 147, in async_initialize
self.application_controller = await app_controller_cls.new(
File “/usr/local/lib/python3.8/site-packages/zigpy/application.py”, line 68, in new
await app.shutdown()
File “/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/application.py”, line 71, in shutdown
self._api.close()
AttributeError: ‘NoneType’ object has no attribute ‘close’