core: ZHA Devices becoming unavailable

The problem

I have noticed more and more of my ZHA devices are becoming unavailable. This has happened more so with the 0.112.X updates. I restored back to my 0.111.4 snapshot and everything is working as it was previously.

This is a screenshot of some of my zigbee entities unavailable. image

Environment

System Health test
arch x86_64
chassis desktop
dev false
docker true
docker_version 19.03.6
hassio true
host_os Ubuntu 18.04.4 LTS
installation_type Home Assistant Supervised
os_name Linux
os_version 4.15.0-108-generic
python_version 3.7.7
supervisor 228
timezone America/Indiana/Indianapolis
version 0.112.1
virtualenv false
  • Home Assistant Core release with the issue: 0.112.X
  • Last working Home Assistant Core release (if known): 0.111.4
  • 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


Traceback/Error logs

I have attached a home assistant log file. home-assistant.log

The following loggers are set.

logger:
  default: critical
  logs:
    homeassistant.core: debug
    homeassistant.components.zha: debug
    bellows.zigbee.application: debug
    bellows.ezsp: debug
    zigpy: debug
    zigpy_cc: debug
    zigpy_deconz.zigbee.application: debug
    zigpy_deconz.api: debug
    zigpy_xbee.zigbee.application: debug
    zigpy_xbee.api: debug
    zigpy_zigate: debug
    zhaquirks: debug

Additional information

Smartthings Multi Sensor

multi by Samjin
Firmware: 0x00000011
IEEE: 28:6d:97:00:01:0b:15:4c
Nwk: 0x00a7
Device Type: EndDevice
LQI: Unknown
RSSI: Unknown
Last Seen: 2020-07-03T11:58:14
Power Source: Battery or Unknown
Quirk: zhaquirks.samjin.multi2.SmartthingsMultiPurposeSensor2019

Smartthings Water Leak Sensor

water by Samjin
Firmware: 0x00000011
IEEE: 28:6d:97:00:01:0b:67:1a
Nwk: 0x0860
Device Type: EndDevice
LQI: Unknown
RSSI: Unknown
Last Seen: 2020-07-03T11:54:25
Power Source: Battery or Unknown

Smartthings Motion Sensor

motion by Samjin
Firmware: 0x00000011
IEEE: 28:6d:97:00:01:0c:28:54
Nwk: 0xba27
Device Type: EndDevice
LQI: Unknown
RSSI: Unknown
Last Seen: 2020-07-03T12:00:58
Power Source: Battery or Unknown

Sengled Light

Device info
E11-G13 by sengled
Firmware: 0x00000009
IEEE: b0:ce:18:14:03:59:c9:34
Nwk: 0xf22f
Device Type: EndDevice
LQI: Unknown
RSSI: Unknown
Last Seen: 2020-07-03T12:00:27
Power Source: Mains

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 44 (34 by maintainers)

Most upvoted comments

Just an update. With the 4 plugs added, I haven’t noticed any devices becoming unavailable. Only time devices are unavailable is when I restart or reboot the host via the HA UI, which I think is related to states not saving properly or something.

I haven’t had any issues since I added this into my configuration with 0.112.2. I was also able to add new devices, which I previously couldn’t as well, but wasn’t sure if it was related or not.

I had a couple other tabs that had node-red open. I’ll see if there is an issue opened on supervisor already for this, if not I will create one and close this.

there was a report https://github.com/home-assistant/core/issues/38215 that some open tabs could cause similar behavior. If input_* is not saved, then zha storage won’t be saved too i guess