New HA user here. For context, I’m using HAOS on a Raspberry Pi. I’ve set up a MariaDB database on another local (Pi) server which stores the history values which ostensibly is all working fine.
We had a power down yesterday due to an electrician visit. On booting back up an hour later a few things are not connecting any more.
These include the Hive heating system and my LG washing machine.
Now I don’t really want to get into detailed technical questions or advice on either of these devices, but I WOULD like to know what the best practice is to a) avoid stuff disconnecting when there are power issues and b) restoring those items after?
Would a backup / restore have solved the issue?
Are there other preventative measures I could set up for next time?
Needless to say I’d also like continuity in the device history too.
Still haven’t worked out the specific Hive/LG issue but I’ll create a separate thread for that as I don’t want to muddy the water here.
A small UPS for your HA server, network equipment and db server will give you time to perform a controlled shutdown for prolonged outages and protect you from short ones. You can even automate this if your UPS is supported by the NUT integration.
Thank you all, good advice. I was hoping to avoid spending more on kit as it was meant to be a bit of fun project using spare Raspberry Pis more than anything. But I’ll think about the UPS option if that’s the best thing. It’s not like we get regular power issues at all, I mostly just want to be able to not break (ideally) and certainly recover the system with ease when things go wrong. A UPS would be no use if my daughter decided to pull the power out of the Pi!