core: ZHA integration not working after updating core to 2020.12.0

The problem

After the update to Home Assistant Core release 2020.12.0 all my previosly paired and working zigbee sensors (Xiaomi Aqara (LUMI weather)) went to unavailable. I tried to pair them again, it did not work at all, i had no log output in the pairing view.

Environment

  • Home Assistant Core release with the issue: 2020.12.0
  • Last working Home Assistant Core release (if known): 0.118.5
  • Operating environment (OS/Container/Supervised/Core): Home Assistant OS 5.8
  • Integration causing this issue: zha
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/zha

Problem-relevant configuration.yaml

zha:
  zigpy_config:
    ezsp_config:
      CONFIG_APS_UNICAST_MESSAGE_COUNT: 12
      CONFIG_SOURCE_ROUTE_TABLE_SIZE: 16
      CONFIG_ADDRESS_TABLE_SIZE: 8

Traceback/Error logs


Additional information

After restoring the snapshot of Home Assistant Core 0.118.5, I was able to pair the sensors again and they started to work again, I even rebooted my raspberry pi4 with 4GB (64bit)

I’m using a ELELabs PI Shield as hardware https://elelabs.com/products/elelabs-zigbee-shield.html with the recommended NCP firmware update. I’ve updated the firmware to the V8 version and adjusted the config to the recommended settings for the V8 version respectively.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

@hrzlgnm FYI the default settings work fine for me with both the Elelabs v8 firmware and the latest zha-ng firmware (6.8.2.0).

Wow, thank you guys for all your feedback. I will go with default settings as far as everything works out, like @giannello suggested…

Currently everything is working fine and the connection to the lumi.wheather sensors is stable now.

I should have looked through the closed issues, this one seems to be a duplicate of #43237. My bad.

Thank you all for your feedback regarding the issue, it actually helped me solving it.