FlightAware Discussions

Using a UPS with PiAware

I would like to add a UPS to regulate the power for the RaspberryPi running PiAware and to be able notify the RaspberryPI and PiAware to shutdown as the time left on the UPS power hits 5 minutes (or some other number of minutes) so instead of just loosing power, it will do a clean shutdown.
I’ve tried on other RaspberryPi to connect the USB cable from the UPS to the RaspberryPi, but have not been able to get it configured to alert the RaspberryPi to shutdown.

Any assistants in setting this up will be greatly appreciated.

That’s completely unnecessary.

I understand most of the time it will come back up cleanly, but I have had times when the power was pulled that I had to re-create the SD card.I try to have clean shutdowns whenever possible.

1 Like

nut (“network ups tools”) is probably the package you’re after.

2 Likes