Several weeks ago I integrated this device: Zigbee Steckerleiste
Worked quite well for a while then it was not available one day. A few days later it was available again. Nothing was done in the meantime. No it’s again marked as not available since several days, trying to reconnect and restarting the raspberry which is running HA didn’t help.
What else could I try?
Removeing it and reintegrating it every few weeks is no useful option.
What is it connected to … stick or zigbee(mesh) router object? Check the signal strength and.a tip: when you pair it with the stick/hub… you should do that from the location where you use it. example: pairing next to the stick and then move it to another floor might work but it might also not have the best/efficient connection
Sorry for the long delay,
I had to wait until the problem occurred again.
I checked all troubleshooting tips, none of them was relateed to my problem.
It’s connected directly to my zigbee usb stick (sonoff zigbee usb 3.0 donlge) and less than 1 m apart, both on my desk.
In the log there are a lot of error messages (I have no idea what is cauing them or what they could mean):
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-IT
ead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f0474d93611aec11852b7fe5f01c6278-if00-port0: [Errno
2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_
Plus_f0474d93611aec11852b7fe5f01c6278-if00-port0'
2022-04-30 17:04:48 ERROR (MainThread) [zigpy_znp.zigbee.application] Failed to reconnect
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/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-ITead_Sono
ff_Zigbee_3.0_USB_Dongle_Plus_f0474d93611aec11852b7fe5f01c6278-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py",
line 1114, in _reconnect
await self._startup()
File "/srv/homeassistant/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py",
line 188, in _startup
await znp.connect()
File "/srv/homeassistant/lib/python3.9/site-packages/zigpy_znp/api.py", line 545, in connect
self._uart = await uart.connect(self._config[conf.CONF_DEVICE], self)
File "/srv/homeassistant/lib/python3.9/site-packages/zigpy_znp/uart.py", line 182, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/srv/homeassistant/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 445, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/srv/homeassistant/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/srv/homeassistant/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
Looks for me as if the zugbee stick is not woirking, though there is no error shown in HA (but all entities are not available - I don’t hae currently other zigbee entities).