UPS auto shutdown

Hello everyone,

I’m interested in getting a UPS for my pi media server to use in the case of a power outage.

I’ve read that for APC model UPS’s that there is the apcupsd tool that allows the UPS to signal the computer via USB that power has been lost and tell the computer to shutdown gracefully.

I was wondering if anyone has any experience using apcupsd or similar software with dietpi?

This would be with a raspberry pi 4.

Thank you!

Check out NUT

The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switch, Power Supply Units and Solar Controllers.

NUT provides many control and monitoring features, with a uniform control and management interface.

More than 140 different manufacturers, and several thousands models are compatible.

This software is the combined effort of many individuals and companies.

See this article on how to use a NUT.

I used the following guide to configure NUT on my NanoPI NEO4.

https://mn3m.info/posts/configure-ups-monitor-using-nut-on-debian/

No issues at all after following that guide, Phillski?