Issues with ZHA after a hardware change to Proxmox Host

Background:
Over the course of a few years I have had HA built on an SD on a Pi, then an SSD on a pi, then I migrated to Proxmox and restored the backup, and all was well, I then migrated to a new Proxmox host. All was well. In a bid to reduce the server power draw I removed the graphics card from Proxmox which wasn’t being used. I changed the network and HA and all other VMs run fine…
Except that my zigbee network won’t work at all.

Details:
I am running a Sonoff usb 3 dongle p, all was fine until I removed the graphics card. The dongle is attached with a USB extension cable. The zigbee devices are mostly Hue and IKEA, with a couple of sonoff devices and generic unbranded.

The dongle is seen by HA but none of the devices are responding. I get an error I can’t remember exactly what it was but it was included APP: 187

What I have tried:
Recovering a backup - no good
Changing the channel - no good
Reconfiguring ZHA - no good
Re binding the zigbee clients - no good
I have removed my duckdns login as it appears to be deprecated and I also pay for the nabu casa cloud to support the project so it wasn’t needed.
I have unplugged the dongle and powered off all of the zigbee devices to see if that resolves whilst I’m at work.

If anyone has any ideas or suggestions I’d be very grateful. I’m an IT engineer so I have a fairly reasonable understanding (although by Linux knowledge is limited) similarly if there is anything further I can do to help diagnose the issue I’m happy to

Thanks for any help anyone can give, I’d like to avoid rebuilding my HA from scratch if I can avoid it

Check if the ZHA config had the coordinator path defined as dev/TTY…

That is subject to change when unplugging the dongle or restarting. Have a look at the ZHA docs on how to use dev/serial/by-id instead

Thanks, I’ll take a look when I get home. I can’t check now because I’ve unplugged everything :person_facepalming:

zha.zigbee [0xF94C:1:0x1000]: Couldn’t get list of groups: Failed to send request: <Status.APS_NOT_AUTHENTICATED: 187>

This is the error that I am getting, I have deleted the Zigbee integration and reinstalled it, but I am unable to recover the backup, which is frustrating

But when you did that, did you define the path as dev/serial/by-id?

Edit: also, can you see your coordinator in the hardware list?

I chose the option in the dropdown which was usbtty0
I am unable to recover a backup, I am also unable to start a new zigbee network either. I am just trying the dongle in the new HA instance to rule out the dongle being the issue.

EDIT
I can see it in the hardware list. It didn’t work on the new instance either, I 'm going to reboot the host just to rule it out, all I am left with at the minute is Proxmox or dongle. I think it is a far assessment to say that HA isn’t the issue given I can replicate it on a new instance

Hmm. Try removing ZHA and reinstalling using the by-id path instead.

Instructions are at the bottom of this section if it helps Zigbee Home Automation - Home Assistant

So the same thing, try to add a new network “error” try t recover a backup “error”
I’ll see if I can re flash the coordinator firmware to the dongle

Did you restart HA between uninstall and reinstall of ZHA?

No, I’ll give that a try now

So that didn’t help. After a lot of messing about I have managed to get ZHA installed again, but I am still unable to get things to operate.

025-05-29 22:08:16.738 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.APS_NOT_AUTHENTICATED: 187>)
2025-05-29 22:08:16.738 DEBUG (MainThread) [zigpy.application] Failed to send packet, attempt 3 of 3
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/zigpy_znp/zigbee/application.py”, line 933, in send_packet
await self._send_request_raw(
…<11 lines>…

So I have managed to resolve it.
After getting the ZHA integration back, I deleted all of my zigbee devices, then re-added them back again, it has been an arduous process and it isn’t finished yet.but basic functionality is back. Not how I wanted to spend the last 2 evenings but never mind.
If anyone else ever gets this the easiest solution is to remove the zigbee devices and pair them again.
Hue, use a switch and hold the top an bottom buttons near to the bulb
Ikea, turn the switch on and off quickly 6 times,.
Most other devices have a pairing button if they are battery operated