core icon indicating copy to clipboard operation
core copied to clipboard

ZHA won't load in 2024.5

Open lstrong2k opened this issue 1 year ago • 3 comments

The problem

ZHA isn't loading with the 2024.5 betas (b0/b1)

What version of Home Assistant Core has the issue?

core-2024.5.0b1

What was the last working version of Home Assistant Core?

core-2024.4.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

home-assistant_zha_2024-04-27T15-12-39.139Z.log home-assistant_2024-04-27T15-13-09.610Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

logs attached

Additional information

Using SkyConnect for zigbee - I've also got a Nortel HUSBZB-1 but I only use it for ZWave now. Running on a Intel Nuc 11 NUC11ATKC4

lstrong2k avatar Apr 27 '24 15:04 lstrong2k

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, 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!

Code owner commands

Code owners of zha can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign zha Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

home-assistant[bot] avatar Apr 27 '24 15:04 home-assistant[bot]

+1

Infectious-Smile avatar Apr 27 '24 16:04 Infectious-Smile

From the logs:

[bellows.ezsp.protocol] Failed to parse frame getTokenData: b'b5'

This seems to be related to:

  • https://github.com/zigpy/bellows/pull/616

It was likely able to deserialize that successfully before (even though it probably shouldn't have). Now, with zigpy types, it's no longer able to and fails. (cc @puddly)

EDIT: Take this with a grain of salt for now. I'll need to take another look at this tomorrow. That specific error might be catched/expected already (if the token interface is unavailable)? If so, that's likely not the issue.

@lstrong2k The EZSP version you have installed doesn't include the token interface yet. As a workaround, can you try to update your SkyConnect firmware to a newer version (that includes the token interface) and then see if ZHA starts? You can use the web flasher: https://skyconnect.home-assistant.io/firmware-update/

TheJulianJES avatar Apr 28 '24 00:04 TheJulianJES

Did the firmware update this morning and ZHA is loading fine now. Thanks

lstrong2k avatar Apr 28 '24 12:04 lstrong2k

I had a same problem for 4 days. I had a Sonoff SNZB-06P ZB bridge with Tasmota. It worked well, but for 4 days the integration stopped. During install I got a message : "Failed to connect." What shall I do?

paljanos56 avatar May 01 '24 08:05 paljanos56

I have modified Silvercast/Lidl zigbee gateway( https://paulbanks.org/projects/lidl-zigbee/#overview ) and I lost connection when get core-2024.5.0b1 update. I'm not sure is it all for zha(some can be from my crappy configuration commands). Sorry for finnish texts in pictures.

Screenshot 2024-05-01 21 14 30 Screenshot 2024-05-01 21 14 24 Screenshot 2024-05-01 21 15 45 Screenshot 2024-05-01 21 15 37 Screenshot 2024-05-01 21 14 38 Screenshot 2024-05-01 21 14 34

proffa84 avatar May 01 '24 18:05 proffa84

I have modified Silvercast/Lidl zigbee gateway

so do I, and it doesn't play well with 2024.5.0 here too.

ofcaah avatar May 02 '24 06:05 ofcaah