core: Device(s) become unresponsive and unavailable - ZHA
The problem
Similar to some of the other current bugs that are reported but I can not find the exact same bug. Therefor made this new bug, just to be sure. If double then sorry for this and feel free to close this one.
Have ZHA running with a Skyconnect stick and migrated from Z2M a few months ago. Every thing worked great until a few days ago (say 5-6 days ago), at least that was when I found out one of the lights I have in my ‘night time automation’ stopped working. At that moment I tried finding a solution to the problem but nothing helped.
The problem; Some of my Zigbee devices (e.g. Sonoff ZBMini-01) became unresponsive and unavailable so I could not control them anymore and automation stopped working for them. I tried it manually and the switch button in HA is responsive, but nothing happens with the light. The button in HA switches back to ‘off’ and becomes unavailable. After that I can not control the button at all in HA. When I walk to the physical switch in the wall and use that, the light does turn on or off. The status light of the ZBMini-01 is flashing green which indicates that it is not connected to the network. When I look in the visualization of ZHA the ZBMini-01 is there. And the ZBMini-01 is in the middle of various other zigbee devices (all routers connected to mains). The other devices within that area are all responsive.
When I remove and re-add the device the same problem happens almost instantly. I have tried setting the channel to a different channel. I have tried to add a new device (Sonoff ZBMini-01) and even with the new, out of the box device, this happens within a few minutes/moments when I add it to the network.
This setup has been working flawless the last months so I am counting towards it being a bug from one of the latest releases. I added the device diagnostics and the debug loggin of the last time a tried adding this device until it became unavailable (within a few seconds after joining).
What version of Home Assistant Core has the issue?
core-2023.6.3
What was the last working version of Home Assistant Core?
No response
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
zha-7f792b9c484b39e82b9979f9b77a7c48-SONOFF 01MINIZB-9c5dc8c69280bdf38bdd4148b273a255.json-3.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Debug logging of the periode is available if needed, please DM
Additional information
Here is the log when I try to add a new device (it adds 2 devices; the switch that is constantly dropping and a same switch which is new that I have lying around). It constantly changes from ‘added to the network’ to ‘configuring’ on both devices. And trying to add a third device (MOES smart dimmer MS-105Z) which doesn’t show up at when adding devices. While I already have one of those devices as part of my network, so it should identify the device. ZHA_log adding new devices.txt
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 24 (7 by maintainers)
And some device diagnostics; First of the ZHA integration itself. Then both devices that are not working (‘Sonoff 01MINIZB’ and ‘Lantaarnpaal’) And finally one device, same make and model (Sonoff ZBMINI01) which has always been working ‘Terras’ ZHA config_entry-zha-7f792b9c484b39e82b9979f9b77a7c48.json-2.txt
SONOFF 01MINIZB zha-7f792b9c484b39e82b9979f9b77a7c48-SONOFF 01MINIZB-caed7bdb0239b62c3f9ce7aedcfde2f7.json.txt
Lantaarnpaal zha-7f792b9c484b39e82b9979f9b77a7c48-SONOFF 01MINIZB-9c5dc8c69280bdf38bdd4148b273a255.json-2.txt
Terras zha-7f792b9c484b39e82b9979f9b77a7c48-SONOFF 01MINIZB-1c89abaa375cb716ce676b3f82b9d85b.json.txt
All diagnostics were just downloaded a few seconds after each other.