-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
ZHA fails to load - Retrying setup: [Errno 2] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2134161-if00: [Errno 2] No such file or directory #50289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there @dmulcahey, @Adminiuga, mind taking a look at this issue as its been labeled with an integration ( |
There's no serial port device file. Zha does not create that file, so the problem is not caused by zha. Check what creates that file (udev), afaik there were reports of udev breaking in the update? But this is not issue caused by zha |
Also, try re-plugging the conbee |
Thanks, @Adminiuga. No change when removing and adding the stick. I've reverted to 2021.04.6 as I'm quite dependant on ZHA running particularly with this many devices 🙃 |
Is it home-assistant core? Or docker? |
Apologies yes running in Docker. |
I had the same issue. /dev/serial is not present in the docker container for me, even though it's present in the host OS and in the portainer config file. |
New docker images are not running udev daemon anymore? Check the release notes for the docker images |
Maybe this is related? |
Pretty sure it should fix the problem |
I was thinking that PR might have introduced the problem. |
How are we supposed to map USB devices like ConBee now? (I'm using the Supervised version) |
Yes, you are right. That's the breaking change from the release notes https://www.home-assistant.io/blog/2021/05/05/release-20215/#breaking-change Set the environment variable to enable old behavior. Optionally provide feedback in the docker repo, as the maintainers would like to know how that is being used. Personally, I'm not fond of running privileged docker, so the options are:
ATM i did the later. |
The issue is caused by the breaking change home-assistant/docker#180 Setting the environment variable should enable olde behavior. |
I tried adding
To the end of my stack configuration file. The re-updated the stack. But still no different
All ZHA devices are offline, and I can see /dev/ttyUSB0 etc, but I don't see any way to reconfigure the usb stick to use a different path without deleting the integration. Presumably I have to re-add all devices if I do that. |
You could carefully edit .storage/core.config_entries file but removing and adding integration is safer way. But may loose some customizations, haven't tried this in a while |
Thanks, editing .storage/core.config_entries worked. Feels like a bit of a hack! For anyone trying to repeat I did:
Now zigbee devices all work again. |
Uh oh!
There was an error while loading. Please reload this page.
The problem
ZHA fails to start after upgrading to 2021.05.0 and 2021.05.1. If I revert back to 2021.4.6 ZHA loads fine.
What is version of Home Assistant Core has the issue?
2021.5.1
What was the last working version of Home Assistant Core?
2021.4.6
What type of installation are you running?
Home Assistant Core
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha
Example YAML snippet
No response
Anything in the logs that might be useful for us?
The text was updated successfully, but these errors were encountered: