Hi.
There was a power outage due to a thunderstorm, and after the power outage, my two USB devices are lost from HA.
I have a RPi 4 and two USB devices connected to it - one is Jablotron provided by GitHub - kukulich/home-assistant-jablotron100: Home Assistant custom component for JABLOTRON 100+ alarm system and the other one is a ZigBee USB stick CC2652R stick - slae.sh
They both worked fine before the outage. Even after multiple restarts and updates for a couple of years already. Ane now they are both gone.
I tried to reconnect them to the other two USB ports on my RPi4 but no change.
When I check the logs, I see the following for the Jablotron USB device
No such file or directory: ‘/dev/hidraw0’
But when I connect via SSH to HA and list USB devices, it shows that the device is connected
[core-ssh ~]$ dmesg | grep hid
[ 0.644796] hid: raw HID events driver (C) Jiri Kosina
[ 0.644918] usbcore: registered new interface driver usbhid
[ 0.644927] usbhid: USB HID core driver
[ 1.679253] hid-generic 0003:16D6:0008.0001: hiddev96,hidraw0: USB HID v1.11 Device [Jablotron ltd JA-100 Flexi] on usb-0000:01:00.0-1.3/input0
I could not find any of those USB devices listed there. When I search Jablotron, nothing shows up. When I go through the list one by one, there is nothing that would match any of the devices. No tty or usbtty or anything like that. I see usb1 and usb2, but those appear to be some generic USB ports or so
I was thinking the same, but HA was not impacted by the outage directly - the RPi4 device is behind a UPS and was running all the time. I will probably get a new RPi5 and retore it there. I am honestly worried about losing the config or data or so, and even though I have daily backups from past 3 months, I have never had to restore one so far.
It’s not a good idea to wait until you NEED the backup/restore process to work to find out IF it will actually work. Regularly test it to ensure it works before you actually need it.
I have got a new RPi5 and initiated backup restore. The backup tar file is about 1.2GB in size. The restore has been running for more than 2 hours already. Is that normal?
Yes. It can take a while but there used to be a bug where there was no indication of completion.
I can’t remember if that’s still a thing.
One side question though… Have you plugged one of those sticks into another pc to determine if they at least electrically connect. No need to install drivers or anything. Just plug it into a windows or Mac box and see if the hardware is detected…
If you were behind a ups and it flapped I tend to agree the disk and os became corrupted and your latest backup should bring you back. But I’d also want a quick look at the sticks to make sure I know when the backup restores it will have things to connect to.
It was indeed the restore bug I opened the local address of my HA instance and it was already up and running even though the restore page was still showing that it is restoring.
After fresh HA install and backup restore, everything is working again.