Closed octomobiki closed 1 year ago
Additional info:
https://github.com/home-assistant/core/issues/94614#issuecomment-1595004685
this person described my issue better than I did originally.
Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
Essentially if I reboot the entire VM cold, the zigbee integration works for... under an hour, then stops and won't until rebooting the VM again.
What the error specifically is saying is that the serial port isn't working. ZHA will try to reconnect to the coordinator indefinitely but if it never does and only a reboot fixes it, this is a problem with either the OS or your hypervisor. I'm leaning towards the latter.
would a way of ruling this in or out be to take my 'fresh' install of 2023.06.01 and upgrading to 2023.06.02 and see what happens?
If you can consistently replicate the problem with one specific setup and not with another, that would be a place to start. I suspect it would have to do with the version of Home Assistant OS itself, not of Core.
I'm encountering the same problem. Since upgrading earlier today, ZHA will not start and just says Failed to set up
. I was also encountering a similar problem with Thread based devices connected through Homekit Controller, where they simply would not connect to HA.
After some diagnosing, I found that it stemmed back to the Silicon Labs Multiprotocol addon, which is allowing both Zigbee and Thread to run on my SkyConnect. The problem seems to be that there is some underlying issue with Zigbee and ZHA since this release, which then has a knock-on effect on Thread when the addon is running. If I restart the addon and don't restart ZHA, then my Thread network comes back up and works fine. But as soon as I try reloading the ZHA integration (Which always fails), my Thread network goes down and I lose control of all devices, requiring another restart of the Silicon Labs Multiprotocol addon.
I can also confirm that neither restoring the backup created just before the update nor restoring a nightly backup fixes this problem. Something in the update has had a permanent impact on ZHA, SkyConnect, and/or the Silicon Labs Multiprotocol addon to the point where restoring a backup cannot fix it.
A few hours ago on my restore'd NEW vm, i upgraded the OS back to 2023.06.02 - ZHA has been working much longer than it has been. so my timeline here is:
Hi same issue for me, have rolled back to 2023.6.1 for now will have a look at doing the above fix later. Thanks
Hi all, I have the same problem. I am using a Conbee II stick and running HA OS as VM on Unraid. ZHA stopped working after an update, about 2 weeks ago (I don't remember exactly which OS version).
Here are some evidence of the problem:
The hardware is listed in the HA hardware section.
... and listed when trying to reconfigure ZHA
but I still get the unable to connect error.
Here is the log: 2023-06-17 12:00:41.075 DEBUG (MainThread) [zigpy_deconz.uart] Connecting to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2225577-if00 2023-06-17 12:00:41.076 DEBUG (MainThread) [zigpy_deconz.uart] Connection made 2023-06-17 12:00:41.076 DEBUG (MainThread) [zigpy_deconz.uart] Connected to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2225577-if00 2023-06-17 12:00:41.076 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.protocol_version: 34>, b'') 2023-06-17 12:00:41.077 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a02000800010022 2023-06-17 12:00:42.889 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.read_parameter' command with seq id '0x02' 2023-06-17 12:00:42.890 ERROR (MainThread) [zigpy.application] Couldn't start application Traceback (most recent call last): File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for return fut.result() ^^^^^^^^^^^^ asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 81, in connect self.version = await api.version() ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 457, in version (self._proto_ver,) = await self.read_parameter( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 422, in read_parameter r = await self._command(Command.read_parameter, 1 + len(data), param, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py", line 306, in _command return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for raise exceptions.TimeoutError() from exc TimeoutError
Looks like
Some additional infos:
It's about w weeks that I am unable to use any Zigbee device... and I am really struggling to find a solution.
Anyone managed to fix it? Someone has an idea of what to do?
Thanks for the support!
same problem here!
For anyone reading this, try unplugging your dongle and plug it back in and report back if this works please. That fixed it for me, but I'm already back on 2023.6.1. I'm curious if 2023.6.2 will work for others after you reset the dongle or not.
I'm also seeing this since upgrading OS from 2023.03 to 2023.06 this week, on Home Assistant Blue with a ConBee II.
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2597161-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2597161-if00'
There is no /dev/serial/* hierarchy at all, which is why ZigBee has collapsed, as the kernel is constantly trying and failing to initialize the ConBee USB device:
[ 224.683380] usb 1-1-port2: attempt power cycle
[ 225.335131] usb 1-1.2: new full-speed USB device number 98 using xhci-hcd
[ 225.335230] usb 1-1.2: Device not responding to setup address.
[ 225.543200] usb 1-1.2: Device not responding to setup address.
[ 225.751105] usb 1-1.2: device not accepting address 98, error -71
[ 225.855117] usb 1-1.2: new full-speed USB device number 99 using xhci-hcd
[ 225.855206] usb 1-1.2: Device not responding to setup address.
[ 226.063138] usb 1-1.2: Device not responding to setup address.
[ 226.271040] usb 1-1.2: device not accepting address 99, error -71
[ 226.272572] usb 1-1-port2: unable to enumerate USB device
[ 239.602079] usb 1-1.2: new full-speed USB device number 100 using xhci-hcd
[ 239.706068] usb 1-1.2: device descriptor read/64, error -32
[ 239.918061] usb 1-1.2: device descriptor read/64, error -32
[ 240.130029] usb 1-1.2: new full-speed USB device number 101 using xhci-hcd
[ 240.234034] usb 1-1.2: device descriptor read/64, error -32
[ 240.446022] usb 1-1.2: device descriptor read/64, error -32
[ 240.554194] usb 1-1-port2: attempt power cycle
Power cycling the Blue doesn't help.
For anyone reading this, try unplugging your dongle and plug it back in and report back if this works please. That fixed it for me, but I'm already back on 2023.6.1. I'm curious if 2023.6.2 will work for others after you reset the dongle or not.
I tried multiple times and doesn't work.
Same issue here, updated to Home Assistant 2023.6.2 a few days ago.
Other Versions: Supervisor 2023.06.2 Operating System 10.2 Frontend 20230608.0 - latest
SkyConnect Stick worked without problems before. After the Update, some ZigBee Devices (Aqara Temperature sensors) disconnected one by one. After a reboot the Stick is not available in the system at all.
Checking via Terminal:
Device Path should be like: /dev/serial/by-id/usb-Nabu_Casa_SkyConnectv1.0*
For anyone reading this, try unplugging your dongle and plug it back in and report back if this works please. That fixed it for me, but I'm already back on 2023.6.1. I'm curious if 2023.6.2 will work for others after you reset the dongle or not.
I tried multiple times and doesn't work.
Didn't work for me yesterday only fix so far to me is to stop at 6.1. will look into loading a fresh version 6.2 and then applying a system backup as some one suggested further up.
For anyone reading this, try unplugging your dongle and plug it back in and report back if this works please. That fixed it for me, but I'm already back on 2023.6.1. I'm curious if 2023.6.2 will work for others after you reset the dongle or not.
I tried multiple times and doesn't work.
Didn't work for me yesterday only fix so far to me is to stop at 6.1. will look into loading a fresh version 6.2 and then applying a system backup as some one suggested further up.
This worked to get my system back to somewhat stable, correct (I am OP).
Backup restore worked. Devicepath is back under /dev.
I too have SkyConnect and am experiencing this issue since the upgrade. Restarting the HA host recovered some but not all Zigbee devices. I have not yet been able to revert to a previous version.
I too have SkyConnect and am experiencing this issue since the upgrade. Restarting the HA host recovered some but not all Zigbee devices. I have not yet been able to revert to a previous version.
Could you maybe also look via SSH if your Skyconnect Dongle is missing in /dev/serial/by-id/?
I too have SkyConnect and am experiencing this issue since the upgrade. Restarting the HA host recovered some but not all Zigbee devices. I have not yet been able to revert to a previous version.
Could you maybe also look via SSH if your Skyconnect Dongle is missing in /dev/serial/by-id/?
I am using a Conbee II stick and I am able to connect using Deconz addon (which is disabled when I confgure ZHA).
Hi still not fixed mine.
Running generic x86-64 on an old laptop latest version and core 6.1 all works well however upgrade to 6.2 and zigbee fails to set up.
Have just attempted to re flash with a fresh new install and then run my backup but still no joy.
mine is running a ziggbe wireless sonoff controller.
Mostly same setup as @cpdowsett , and same issue as of all you
Same zigbee controller as well. Something that I noticed is that, even if I repair the zigbee devices, they became unavailable after a period of time (cannot ensure how long it takes, sorry)
I'm also seeing this since upgrading OS from 2023.03 to 2023.06 this week, on Home Assistant Blue with a ConBee II.
Issues continues after Home Assistant OS 10.3 upgrade yesterday, now at 10.3 / 2023.6.2; /dev/serial/* still absent, USB errors still scrolling continuously in dmesg.
@floatingatoll the issue you're seeing is a problem with the Conbee. If it fails to start up due to 2.4GHz interference, it will continuously reset and since it manages its own USB-serial interface, that will reset too. Make sure your Conbee is on a USB extension cable and away from 2.4GHz interference sources such as USB 3.0 ports and SSDs. I would also update its firmware with Phoscon as well.
I have also been facing issues the last couple of days:
Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:205
Integration: Zigbee Home Automation (documentation, issues)
First occurred: June 20, 2023 at 20:21:37 (4 occurrences)
Last logged: 12:23:01
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/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize
self.application_controller = await app_controller_cls.new(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 219, in new
await app.startup(auto_form=auto_form)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 194, in startup
await self.initialize(auto_form=auto_form)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 164, in initialize
results = await self.energy_scan(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 699, in energy_scan
channels_to_scan.remove(channel)
KeyError: 11
I managed to get mine working again, I utilize the syssi/esphome-zb-gw03 custom firmware for my ZB-GW03 eWeLink Ethernet Zigbee Gateway.
About a month ago syssi committed a change: https://github.com/syssi/esphome-zb-gw03/commit/97d0998ec54740f0c28189b530ce185022778da9
Which simply installs a couple of additional packages:
apt-get install telnet lrzsz
I did a PR to my private repo, re-flashed the device and it instantly worked again.
I’ll try that, I suppose. Not sure why it’s suddenly upset after an OS/HA upgrade and was fine for the six months prior. Such is the nature of radio interference, I guess!On Jun 20, 2023, at 13:09, puddly @.***> wrote: @floatingatoll the issue you're seeing is a problem with the Conbee. If it fails to start up due to 2.4GHz interference, it will continuously reset and since it manages its own USB-serial interface, that will reset too. Make sure your Conbee is on a USB extension cable and away from 2.4GHz interference sources such as USB 3.0 ports and SSDs. I would also update its firmware with Phoscon as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Same issue here doesn't work with SkyConnect Stick neither with ConBee II. I'm very sad i lose more than 60 zigbee devices... and a lots of automations! Nothing works any more!
My Zigbee devices are down as well. I use a SONOFF Zigbee 3.0 USB V2. Any recommendations as to what I can try?
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:205
First occurred: 4:54:23 PM (1 occurrences)
Last logged: 4:54:23 PM
Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2, s/n: 20220812165515 - ITEAD for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.11/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_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220812165515-if00'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 122, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize
raise exc
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize
self.application_controller = await app_controller_cls.new(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 219, in new
await app.startup(auto_form=auto_form)
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 193, in startup
await self.connect()
File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 131, in connect
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bellows/ezsp/__init__.py", line 147, in initialize
await ezsp.connect(use_thread=zigpy_config[conf.CONF_USE_THREAD])
File "/usr/local/lib/python3.11/site-packages/bellows/ezsp/__init__.py", line 164, in connect
self._gw = await bellows.uart.connect(self._config, self, use_thread=use_thread)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bellows/uart.py", line 406, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bellows/uart.py", line 385, in _connect
transport, protocol = await zigpy.serial.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/serial.py", line 37, in create_serial_connection
transport, protocol = await pyserial_asyncio.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/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.11/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.11/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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220812165515-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220812165515-if00'**
It's bitter sweet to know that my nerve-racking nightmare of a move from the ConBee II to SkyConnect wasn't just me being stupid. But I'm sad all the same.
I’ll try that, I suppose. Not sure why it’s suddenly upset after an OS/HA upgrade and was fine for the six months prior. Such is the nature of radio interference, I guess!On Jun 20, 2023, at 13:09, puddly @.> wrote: @floatingatoll the issue you're seeing is a problem with the Conbee. If it fails to start up due to 2.4GHz interference, it will continuously reset and since it manages its own USB-serial interface, that will reset too. Make sure your Conbee is on a USB extension cable and away from 2.4GHz interference sources such as USB 3.0 ports and SSDs. I would also update its firmware with Phoscon as well. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
Please let us know if you have any success -- those of us who are standing by (until I have the time to troubleshoot/debug) would really appreciate the feedback!
Some details I have discovered over the last few days:
This is really frustrating, having to run around the house checking blinds and lights to see if they need to be closed switched off by hand is not ideal. I do hope someone figures out what is happening here.
Probably this comment is not adding anything valuable, but since I have a lot of zigbee devices that I cannot control, and I need to, I've finally migrated to zigbee2mqtt and it's working fine.
Just in case someone want to test 😊
Please upload the full ZHA debug log (https://www.home-assistant.io/integrations/zha/#debug-logging) of the problem occurring (feel free to email it to me if you don't feel comfortable posting it in public). Without that, it's difficult to figure out what your exact problem is, as there have been no changes to Home Assistant OS between 2023.6.1 and 2023.6.2 nor have there been any changes to HA Core that would cause any of these issues: if a coordinator is unresponsive to any commands after multiple retries (TimeoutError
), or if the serial port doesn't exist (FileNotFoundError
), this isn't a software problem.
Also, make sure to describe exactly your setup, including hardware, whether or not you are using multi-PAN, your operating system, and other pertinent information (host OS and kernel if using Docker, hypervisor information if using a VM, etc.).
Sorry nothing helpful to add.
I did try everything I could think of last weekend but I am not at home in the week. When I get back tomorrow I will attempt to upload the requested info. My system all runs fine untill I update to 6.2. the only fix I have to keep my home running and the not wife complaining about things not coming on and dead switches it to take the system back to the morning before the update...
Good luck all
Here is my log from ZHA
2023-06-22 15:03:22.320 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 1 of 3) File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize 2023-06-22 15:03:25.465 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 2 of 3) File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize 2023-06-22 15:03:28.628 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 3 of 3) File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize 2023-06-22 15:03:28.630 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2 for zha File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 122, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize
@languy99 I meant the entire /config/home-assistant.log
file as that brief snippet doesn't provide context. If you don't feel comfortable uploading it here, you can email it to me.
Here you go
2023-06-22 15:03:07.917 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly 2023-06-22 15:03:08.213 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=34 from 2023-06-22 18:52:55.277243) 2023-06-22 15:03:22.208 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:22.320 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 1 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:22.326 ERROR (MainThread) [pyisy] Client Response Error from ISY: 400 Expected HTTP/. 2023-06-22 15:03:22.373 ERROR (MainThread) [pyisy] ISY Reported an Invalid Command Received /vars/definitions/1 2023-06-22 15:03:23.547 ERROR (MainThread) [pyisy] ISY Reported an Invalid Command Received /vars/definitions/2 2023-06-22 15:03:23.948 WARNING (MainThread) [pyisy] No valid variables defined 2023-06-22 15:03:23.955 ERROR (MainThread) [pyisy] ISY Could not parse response, poorly formatted XML.: Nodes 2023-06-22 15:03:25.359 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:25.465 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 2 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:28.517 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:28.628 WARNING (MainThread) [homeassistant.components.zha.core.gateway] 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:28.630 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 122, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize raise exc File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:03:28.734 ERROR (MainThread) [homeassistant.components.homekit] HomeKit Back Door cannot startup: entity not available: {'include_domains': [], 'exclude_domains': [], 'include_entities': ['camera.back_door'], 'exclude_entities': [], 'exclude_entity_globs': [], 'include_entity_globs': []} 2023-06-22 15:03:28.751 ERROR (MainThread) [homeassistant.components.homekit] HomeKit Front Door cannot startup: entity not available: {'include_domains': [], 'exclude_domains': [], 'include_entities': ['camera.front_door'], 'exclude_entities': [], 'exclude_entity_globs': [], 'include_entity_globs': []} 2023-06-22 15:08:26.253 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:26.362 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 1 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:29.412 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:29.520 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 2 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:32.562 ERROR (MainThread) [zigpy.application] Couldn't start application 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:32.671 WARNING (MainThread) [homeassistant.components.zha.core.gateway] 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-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 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' 2023-06-22 15:08:32.675 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 122, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize raise exc File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 131, in connect self._ezsp = await bellows.ezsp.EZSP.initialize(self.config) File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 147, 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 164, 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 406, in connect protocol, connection_done = await thread.run_coroutine_threadsafe( File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 385, in _connect transport, protocol = await zigpy.serial.create_serial_connection( File "/usr/local/lib/python3.10/site-packages/zigpy/serial.py", line 37, 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-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708112229-if00'
Note that my issue started with the upgrade to OS 10.2 and 2023.6.1, not 10.3, in case that’s of any interest.I’ll need to secure a USB extension cable since one hasn’t been necessary in this setup until now, so I’ll report back when I have more data.On Jun 21, 2023, at 15:42, dereitz @.***> wrote:
I’ll try that, I suppose. Not sure why it’s suddenly upset after an OS/HA upgrade and was fine for the six months prior. Such is the nature of radio interference, I guess!On Jun 20, 2023, at 13:09, puddly @.> wrote: @floatingatoll the issue you're seeing is a problem with the Conbee. If it fails to start up due to 2.4GHz interference, it will continuously reset and since it manages its own USB-serial interface, that will reset too. Make sure your Conbee is on a USB extension cable and away from 2.4GHz interference sources such as USB 3.0 ports and SSDs. I would also update its firmware with Phoscon as well. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
Please let us know if you have any success -- those of us who are standing by (until I have the time to troubleshoot/debug) would really appreciate the feedback!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
That fixed mine, all working after the upgrade. I don’t know why it worked until the update, but I appreciate the fix.On Jun 23, 2023, at 00:36, Rowan Green @.> wrote:Note that my issue started with the upgrade to OS 10.2 and 2023.6.1, not 10.3, in case that’s of any interest.I’ll need to secure a USB extension cable since one hasn’t been necessary in this setup until now, so I’ll report back when I have more data.On Jun 21, 2023, at 15:42, dereitz @.> wrote:
I’ll try that, I suppose. Not sure why it’s suddenly upset after an OS/HA upgrade and was fine for the six months prior. Such is the nature of radio interference, I guess!On Jun 20, 2023, at 13:09, puddly @.> wrote: @floatingatoll the issue you're seeing is a problem with the Conbee. If it fails to start up due to 2.4GHz interference, it will continuously reset and since it manages its own USB-serial interface, that will reset too. Make sure your Conbee is on a USB extension cable and away from 2.4GHz interference sources such as USB 3.0 ports and SSDs. I would also update its firmware with Phoscon as well. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
Please let us know if you have any success -- those of us who are standing by (until I have the time to troubleshoot/debug) would really appreciate the feedback!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hi All, I don't mean to be rude, but is someone from HA team looking at this issue? Is there a way to escalate this issue? ZHA is probably one of the main integrations and most of the people here are using either a SkyConnect or a Conbee II stick.
If people bought a SkyConnect, paying HA Cloud and the setup is not working I think that a fix should be prioritized... I personally am using a conbee II and subscribed to HA Cloud and it's 2 weeks that I am unable to use any device and lost hours trying to figure it out why...
Hi All, I don't mean to be rude, but is someone from HA team looking at this issue? Is there a way to escalate this issue? ZHA is probably one of the main integrations and most of the people here are using either a SkyConnect or a Conbee II stick.
If people bought a SkyConnect, paying HA Cloud and the setup is not working I think that a fix should be prioritized... I personally am using a conbee II and subscribed to HA Cloud and it's 2 weeks that I am unable to use any device and lost hours trying to figure it out why...
This issue has @puddly's attention. If you're able please supply the information that he requested in an earlier comment: https://github.com/home-assistant/core/issues/94733#issuecomment-1603074828
I'll do the same when I'm able... (not anytime soon unfortunately)
Hi All, I don't mean to be rude, but is someone from HA team looking at this issue? Is there a way to escalate this issue?
You have to submit the debug log, and detailed description of your setup. Half of people in this thread, are getting "no such file or directory" which means the problem is not with ZHA, but with the underlying OS. whether the device file is no longer there, or link to the serial port is not there, etc.
Hi All, I don't mean to be rude, but is someone from HA team looking at this issue? Is there a way to escalate this issue?
You have to submit the debug log, and detailed description of your setup. Half of people in this thread, are getting "no such file or directory" which means the problem is not with ZHA, but with the underlying OS. whether the device file is no longer there, or link to the serial port is not there, etc.
I am getting that also. Almost like it got uninstalled and nothing I do can get the usb stick to show up anymore. I even tried to roll back and nothing.
Hi All, I don't mean to be rude, but is someone from HA team looking at this issue? Is there a way to escalate this issue?
You have to submit the debug log, and detailed description of your setup. Half of people in this thread, are getting "no such file or directory" which means the problem is not with ZHA, but with the underlying OS. whether the device file is no longer there, or link to the serial port is not there, etc.
Thanks for your reply, I tried to describe the issue at my best in my first comment: https://github.com/home-assistant/core/issues/94733#issuecomment-1595729683
Some additional stuffs that I tried after I posted that comment:
Please let me know if the entire log would help (I should have pasted the most critical part). I am also available for a call if could be useful.
Thanks again!
My devices drop off after an hour or so, using the SkyConnect, HA stick.
I posted last week saying I was having the same issues, and as no progress was being made to a solution I decided to try fixing the issue myself. I had 2 plans in mind:
I'd purchased a second SkyConnect with the plan of running 2 Zigbee networks, one ZHA and one Z2M, so that I could use the service with the best compatibility depending on the device. However, I'm now running Thread on my original SkyConnect (Running multi-pan firmware), as that still worked after the update, and I have transferred my Zigbee network to my second SkyConnect (Just running on Zigbee only firmware).
After the transfer, a few of the powered devices came back online, but the majority of other devices required repairing. However, if you still have all the devices in HA, then a repair will still use the device that already existed, so no further configuration is needed, just a quick run around the house with my phone checking each device re-connected, and then my network was back up and running.
It has been over a week since I did that, and I've not had a single device drop off the network, even after multiple HA restarts and reboots.
I am now, however, much more dubious of updating HA, and will be monitoring issues for a few days after an update before I commit to it myself.
Once I see the root of the issue has been identified and hopefully fixed, I will try migrating my ZHA network back to my original SkyConnect so that I can use my second SkyConnect for Z2M, but for now, everything is back working.
Some further information about my solution:
Not sure if this is important, but I am seeing this log entry regularly in my host event logs: Jun 27 11:26:26 homea systemd[1]: Started Process Core Dump (PID 1913004/UID 0). Jun 27 11:26:27 homea systemd-coredump[1913005]: Process 1912801 (zigbeed) of user 0 dumped core. Jun 27 11:26:27 homea systemd[1]: systemd-coredump@4221-1913004-0.service: Deactivated successfully.
As mentioned above, it's next to impossible to debug these things without logs and a detailed description of your setup. See my comment above (https://github.com/home-assistant/core/issues/94733#issuecomment-1603074828) for what exact info would be helpful.
If it’s of interest, we used a two meter USB extension cable, on the theory that if noise was newly an issue, that we’d best make it as much not an issue as possible.This resolved the file not found / missing device. I didn’t downgrade to see if the March kernel was somehow less sensitive to noise. But our setup probably needed that extension cable regardless.Changed over from ConBee II to SkyConnect today, everything is still working fine, so I’m confirmed stable and all good now. On Jun 27, 2023, at 06:57, puddly @.***> wrote: As mentioned above, it's next to impossible to debug these things without logs and a detailed description of your setup. See my comment above (#94733 (comment)) for what exact info would be helpful.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
The problem
This (Zigbee devices stop working/reporting) started to happen as soon as I upgraded to the latest 2023.6.2 and for whatever reason I also can't revert the setup to the previous to try downgrading it.
Essentially if I reboot the entire VM cold, the zigbee integration works for... under an hour, then stops and won't until rebooting the VM again. Z-wave is working on the same stick seemingly without issues for now.
I think I also see... is any of this helpful? never contributed a bug report before.
I built a new VM and installed 2023.6.1 - after a little finagling zigbee is back to stable.
Stability for me looks like this setup:
What version of Home Assistant Core has the issue?
core-2023.6.2
What was the last working version of Home Assistant Core?
core-2023.6.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_zha_2023-06-16T09-17-07.745Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response