Since I posted this nearly a month ago, I have decided to change the title, and provide further info from the logs.
I have also attempted to upgrade Home Assistant to the latest (2021.5), but are still having the same problem where ZHA fails to start owing to failing to ‘find’ conbee II usb device. However whn I downgrade home assistant back to 2021.4.2 it works fine. So I am unable to progress to latest upgrade but stuck on 2021.4.2 build. I could take ZHA integration out and put it back in, but I will lose all the zigbee devices, and have to rebuild it back in - and that’s if ZHA works. If I need to do this, it will be my last options, problem is am I going to expect this in future upgrades?
I use home assistant in Docker container on a Synology DS920+ where it has run fine for the past 6 months with ZHA integration and are using Conbee II USB device. Synology are still able to ‘see’ Conbee II following the upgrade, but log throws up several errors.
Here are the details of the log:-
‘’’
Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:157
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 15:44:25 (4 occurrences)
Last logged: 15:45:03
Couldn’t start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
File “/usr/local/lib/python3.8/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-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2260014-if00’
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 157, in async_initialize
self.application_controller = await app_controller_cls.new(
File “/usr/local/lib/python3.8/site-packages/zigpy/application.py”, line 69, in new
await app.startup(auto_form)
File “/usr/local/lib/python3.8/site-packages/zigpy_deconz/zigbee/application.py”, line 65, in startup
await self._api.connect()
File “/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py”, line 245, in connect
self._uart = await zigpy_deconz.uart.connect(self._config, self)
File “/usr/local/lib/python3.8/site-packages/zigpy_deconz/uart.py”, line 142, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File “/usr/local/lib/python3.8/site-packages/serial_asyncio/init.py”, line 445, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File “/usr/local/lib/python3.8/site-packages/serial/init.py”, line 90, in serial_for_url
instance.open()
File “/usr/local/lib/python3.8/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-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2260014-if00: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2260014-if00’
Logger: zigpy.application
Source: /usr/local/lib/python3.8/site-packages/zigpy/application.py:73
First occurred: 15:44:25 (4 occurrences)
Last logged: 15:45:03
Couldn’t start application
Logger: homeassistant.config_entries
Source: config_entries.py:300
First occurred: 15:44:25 (1 occurrences)
Last logged: 15:44:25
Config entry ‘ConBee II, s/n: DE2260014 - dresden elektronik ingenieurtechnik GmbH’ for zha integration not ready yet: [Errno 2] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2260014-if00: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2260014-if00’; Retrying in background
‘’’
Any advice/help would be appreciated.