# UPS for Raspi 4 B with openhabian

**URL:** <https://community.openhab.org/t/ups-for-raspi-4-b-with-openhabian/124682>\
**Category:** Off-Topic\
**Tags:** ups\
**Created:** [July 18, 2021, 6:24pm UTC](https://community.openhab.org/t/ups-for-raspi-4-b-with-openhabian/124682 "2021-07-18T18:24:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rpwong](https://community.openhab.org/user_avatar/community.openhab.org/rpwong/32/36036_2.png) [@rpwong](https://community.openhab.org/u/rpwong)\
**Post date:** [July 18, 2021, 6:51pm UTC](https://community.openhab.org/t/ups-for-raspi-4-b-with-openhabian/124682/2 "2021-07-18T18:51:24Z")

</div>

A UPS is a good idea–personally, I’d say it’s more of a requirement than a recommendation.

> [@jorgitold](#):
>
> I have read that many times there are problems that cannot deliver enough amps to the raspi 4.  
> I’ve seen a lot of chinese hats on aliexpress, Geekworm, piejuice, I’m a little lost

If you want to stick a hat and a battery on your RPi, then you should look for a tutorial that can tell you how to wire it up and send shutdown commands to your RPi. This wouldn’t be the place for that tutorial, since there’s no need for openHAB in that equation–it’s strictly an RPi task. However, people here have definitely done that, and may be able to point you in the right direction.

Personally, I wouldn’t bother with a hat unless your RPi is in a very confined space. You just need a simple plug-in UPS that is compatible with Network UPS Tools. Then you can just plug in the RPi’s native AC adapter and don’t have to worry about amperage.

> [@Beginner's Guide to Network UPS Tools (NUT) on a Raspberry Pi](https://community.openhab.org/t/beginners-guide-to-network-ups-tools-nut-on-a-raspberry-pi/78443):
>
> UPDATE (February 15, 2022): Updated with instructions for adding a second UPS Since I don’t want my OH installation to be corrupted by a power failure, I purchased a CyberPower UPS, and connected it to my Raspberry Pi using Network UPS Tools (NUT). There are various topics in the community about NUT, and this one was the most helpful for my purposes. With everything I’ve learned, here are some instructions to help others get started. Note that this guide is for is a simple setup with the UP…

---

_[View the full topic](https://community.openhab.org/t/ups-for-raspi-4-b-with-openhabian/124682)._
