core: ZHA devices not working after update from 0.114 to 0.115.0b2
The problem
I cannot communicate with any Zigbee device since updating to 0.115.0b2.
Environment
- Home Assistant Core release with the issue: 0.115.0b2
- Last working Home Assistant Core release (if known): 0.114.x
- Operating environment (OS/Container/Supervised/Core): Supervised
- Integration causing this issue: zha
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/zha/
Problem-relevant configuration.yaml
None
Traceback/Error logs
Huge log, uploaded here - https://pastebin.com/gb9jUNiu
Additional information
HASS can see the device, it’s visible in /dev/serial/by-id/ and at /dev/ttyACM0. Nothing has changed in my ZHA config or HASS config, the only change is updating from one of the 0.114 releases to 0.115.0b2.
Lines 129, 130, and 232 suggest that interfacing with the Zigbee adaptor was successful, however I cannot communicate with any Zigbee devices, and there is no event spawned by button presses on Zigbee remotes.
The custom integration zha_map also suggests that all devices are offline:
I’ve trimmed everything from the log which didn’t mention zigpy, zha, zigbee, ezsp, or zhaquirks. Let me know if there’s anything I should add back in.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 45 (18 by maintainers)
I feel like that should have made it into the release notes! After adding the following to my configuration.yaml zigbee lives again!
Edit: Control is back, but at startup the state of my devices is all incorrect. (everything shown as off as opposed to true state).
Scratch that, removed the antenna from my zzh stick and was able to start the zha service successfully! On 0.115.2 with config options from the migration document.
My speculation is that perhaps the coordinator was offline for too long so that it couldn’t join the mesh network again, removing the antenna weakened the signal so that the zzh stick didn’t notice the “other” network with the same panID, then once it got started I connected the antenna which merged the networks. Someone please correct me if I’m wrong.