# UPS auto shutdown

**URL:** https://dietpi.com/forum/t/ups-auto-shutdown/3565
**Category:** General Discussion
**Created:** [30 October 2019 03:00 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565 "2019-10-30T03:00:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![threefoursixeight](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@threefoursixeight](https://dietpi.com/forum/u/threefoursixeight)
#### Post date: [30 October 2019 03:00 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565/1 "2019-10-30T03:00:43Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![WarHawk](https://dietpi.com/forum/user_avatar/dietpi.com/warhawk/32/21_2.png) [@WarHawk](https://dietpi.com/forum/u/WarHawk)
#### Post date: [30 October 2019 03:15 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565/2 "2019-10-30T03:15:07Z")

</div>

Check out [NUT](https://networkupstools.org/)

> 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.

---

<div class="post-metadata">

### Author: ![Torvald](https://dietpi.com/forum/user_avatar/dietpi.com/torvald/32/1965_2.png) [@Torvald](https://dietpi.com/forum/u/Torvald)
#### Post date: [5 November 2019 06:06 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565/3 "2019-11-05T06:06:57Z")

</div>

See this article on how to use a NUT.

---

<div class="post-metadata">

### Author: ![Phillski](https://dietpi.com/forum/user_avatar/dietpi.com/phillski/32/29_2.png) [@Phillski](https://dietpi.com/forum/u/Phillski)
#### Post date: [19 November 2019 06:50 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565/4 "2019-11-19T06:50:18Z")

</div>

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

[https://mn3m.info/posts/configure-ups-monitor-using-nut-on-debian/](https://mn3m.info/posts/configure-ups-monitor-using-nut-on-debian/)

---

<div class="post-metadata">

### Author: ![Butz](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/7ea924/32.png) [@Butz](https://dietpi.com/forum/u/Butz)
#### Post date: [20 November 2019 14:02 UTC](https://dietpi.com/forum/t/ups-auto-shutdown/3565/5 "2019-11-20T14:02:03Z")

</div>

No issues at all after following that guide, Phillski?
