Lost all ZHA devices after reboot

Wanted to move my PI4 to another case so had a longer window of maintenance/downtime.

After I booted everything up again I had no connection to my zha devices at all.

anyone got any ideas to what I can do ?

So far I’ve checked the following:

pi@raspberrypi:~ $ ./listusb.sh
/dev/ttyUSB0 - 1a86_USB2.0-Serial

pi@raspberrypi:/usr/share/hassio/homeassistant/.storage $ cat core.config_entries | grep usb
                        "path": "/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0",

pi@raspberrypi:/usr/share/hassio/homeassistant/.storage $ ls -l /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
lrwxrwxrwx 1 root root 13 apr 17 18:24 /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 -> ../../ttyUSB0


1 Like

If I click on any devices I just get this message:

This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device.
If the entity is no longer in use, you can clean it up by removing it.

Have you tried to restart Home Assistant (not the entire computer) ? This has helped me in the past.

Yes multiple times . Also tried to move usb port of the Zigbee usb . Tried all ports with restarts …

Just tried to add two devices - no luck …

Now I’m seeing this in the log:

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:457
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 20:07:38 (48 occurrences)
Last logged: 20:18:34

[0x9431:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>')]
[0x9431:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>')]
[0x23C5:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>')]
[0x23C5:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>')]
[0x327D:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>'), DeliveryError('Request failed after 5 attempts: <Status.APS_NO_ACK: 183>')]

Just to update the problem… I’ve now updated HA to newest version and the same with my Zigstar V4 usb. I also extended the usb cord further away from the PI and router and are now able to add devices back again. But none of the old devices are getting back by themselves which are really really frustrating . Especially when I still dont know the root cause of the problem…

Should I just be forever scared of turning of my HA for longer than 30 minutes?..

I have now readded alot of the devices manually but I still have a few leftover from the day before the big reboot.

They act like they come back and says “offline” but I cannot interact with them… Then some hours later they turn unavailable and so they keep going back and forth:

Hello,

I have exactly the same problem. I switched to my new case, which is a M2 SSD Case and from this point on, I loose my Zigbee Devices after every reboot. I use the ZHA Skyconnect dongle.

Greetings,

Sven

USB3 interference. Connect your Skyconnect dongle to an USB-2 port with an USB extension cable of at least 1 meter.

I agree - usb extension made a huge difference for me.