I have a Sonoff Zigbee 3.0 USB Dongle plus that connects my devices to HA. After switching to rpi5 everything worked normal. I have update HA to the newest version and since then (I think! I have no idea, it is my new rpi5 from yesterday…) the zigbee integration does not work anymore. The error log is below.
I have tried finding the /dev/serial/ folder but it doesn’t exist?
I have replugged and restarted homeassistant multiple times
I have tried to reconfigure zigbee multiple times with different settings.
Please help! Until then I shall sit in the dark ;(
About rpi5:
I have migrated from my rpi3+ to my new rpi5. Created a backup and flashed a new sd card with ha for my rpi5. Then loaded a backup to the rpi5
2024-02-28 17:55:56.775 DEBUG (MainThread) [zigpy_znp.api] Connection to /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 failed, cleaning up
2024-02-28 17:55:56.776 DEBUG (Thread-43) [aiosqlite] executing functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f5e301260>)
2024-02-28 17:55:56.776 DEBUG (Thread-43) [aiosqlite] operation functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f5e301260>) completed
2024-02-28 17:55:56.779 DEBUG (Thread-43) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f60e91f30>, 'PRAGMA wal_checkpoint;', [])
2024-02-28 17:55:56.780 DEBUG (Thread-43) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f60e91f30>, 'PRAGMA wal_checkpoint;', []) completed
2024-02-28 17:55:56.783 DEBUG (Thread-43) [aiosqlite] executing functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f5e301260>)
2024-02-28 17:55:56.783 DEBUG (Thread-43) [aiosqlite] operation functools.partial(<function PersistingListener._set_isolation_level.<locals>.<lambda> at 0x7f5e301260>) completed
2024-02-28 17:55:56.786 DEBUG (Thread-43) [aiosqlite] executing functools.partial(<built-in method close of sqlite3.Connection object at 0x7f60e91f30>)
2024-02-28 17:55:56.793 DEBUG (Thread-43) [aiosqlite] operation functools.partial(<built-in method close of sqlite3.Connection object at 0x7f60e91f30>) completed
2024-02-28 17:55:56.798 DEBUG (MainThread) [homeassistant.components.zha] Failed to set up ZHA
Traceback (most recent call last):
File "/usr/local/lib/python3.12/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_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
zha_gateway = await ZHAGateway.async_from_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 196, in async_from_config
await instance.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 214, in async_initialize
await app.startup(auto_form=True)
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 225, in startup
await self.connect()
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 103, in connect
await znp.connect()
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 730, in connect
self._uart = await uart.connect(self._config[conf.CONF_DEVICE], self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/uart.py", line 171, in connect
_, protocol = await zigpy.serial.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/serial.py", line 48, in create_serial_connection
transport, protocol = await pyserial_asyncio.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/serial_asyncio_fast/__init__.py", line 508, in create_serial_connection
serial_instance = await loop.run_in_executor(None, callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.12/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_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0'