-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
[ZHA] Zigbee fails to set up after 2023.11.0 upgrade #103208
[ZHA] Zigbee fails to set up after 2023.11.0 upgrade #103208
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, @TheJulianJES, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
@Shulyaka it seems like zigpy/zigpy-xbee#149 is not compatible with all XBee firmwares |
@trickv which module and firmware do you have (if you know)? |
@trickv We are preparing a fix. As a workaround, if you have access to the file system, in your return {c: 0 for c in channels} Example: async def energy_scan(
self, channels: zigpy.types.Channels, duration_exp: int, count: int
) -> dict[int, float]:
"""Runs an energy detection scan and returns the per-channel scan results."""
return {c: 0 for c in channels}
all_results = {}
for _ in range(count):
results = await self._api._at_command("ED", duration_exp)
... |
Took me a while, I had to go get XCTU out to figure out the firmware version :) I'll go try that workaround now. Thanks! |
Hacked in-place on my 2023.11.0 container and this workaround does the trick. Thanks! I'll keep an eye out for your upstream patch to make it into a release and give it a go when it does. |
I have the same issue with a conbee II USB dongle |
Hi @zacolly - I'm not a Zigbee expert, but reading your comment and looking at the log file, this isn't the same bug that I hit. Mine was specific to the underlying library that uses an Xbee as my Zigbee coordinator; the Conbee uses a different backend. The patch mentioned here won't fix your issue. I'd recommend opening a new bug report and specifically mention Conbee in the title to see if anyone else with a Conbee is having trouble. |
@zacolly Yeah, that's another issue. |
Thanks @TheJulianJES |
Hi. I lost all the mnemonics used by my Zigbee devices, I have to find back all the uid (that only HA can understand, but not a human) and reconfigure my scripts. Maybe did you already had such an issue (it is a real issue, because nothing was working), and a way to convert unreadble uid into human readable is :-) . Thanks. |
I have a similar issue with a digi x stick. But it says "Invalid_Command" instead of "Invalid_Parameter". I also tried the fix in zigpy/zigpy-xbee#168, but this did not work. Not sure if evrything important is inside the log: Error Log2023-11-05 23:09:20.371 DEBUG (MainThread) [zigpy_xbee.api] at command: NJ (0,) |
Hi @F4bsi , which firmware do you have? |
Hey @Shulyaka, thanks for the help :) |
Hi, I can confirm my XBee2 with the latest Coordinator API firmware (21A7) also has this issue. I have used the recommended manual patch and it is fully working now. |
Running home-assistant 2023.12.0b1 which includes zigpy-zbee==0.20.0 and it's working out of the box for me 👍 |
The problem
I upgraded to 2023.11.0 today and my ZHA integration has failed to load. When I go back to 2023.10.5 it seems to work. Maybe some quirk with my Xbee coordinator?
What version of Home Assistant Core has the issue?
core-2023.11.0
What was the last working version of Home Assistant Core?
core-2023.10.5
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
The integration is failing to start so I don't have an option to download diagnostics data, but the logs look useful.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: