Page 1 of 1

UPS auto shutdown

Posted: Wed Oct 30, 2019 4:00 am
by threefoursixeight
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!

Re: UPS auto shutdown

Posted: Wed Oct 30, 2019 4:15 am
by WarHawk
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.

Re: UPS auto shutdown

Posted: Tue Nov 05, 2019 7:06 am
by Torvald
See this article on how to use a NUT.

Re: UPS auto shutdown

Posted: Tue Nov 19, 2019 7:50 am
by Phillski
I used the following guide to configure NUT on my NanoPI NEO4.

https://mn3m.info/posts/configure-ups-m ... on-debian/

Re: UPS auto shutdown

Posted: Wed Nov 20, 2019 3:02 pm
by Butz
No issues at all after following that guide, Phillski?