Here’s a quick way to automate your battery backups and UPSes with and open source service called NUT server and a raspberry Pi.
Be sure to check out (and star) the repo with an automated NUT server install!
Be sure you have a raspberry pi or any machine running Debian / Ubuntu Linux. Then plug in your UPS via USB and then SSH into your Pi.
Then download th script.
1 wget https://raw.githubusercontent.com/dzomaya/NUTandRpi/main/scripts/nutinstall.sh
Make the script executable.
1 sudo chmod +x nutinstall.sh
Run the script.
1 sudo ./nutinstall.sh
Answer a few questions.
Be sure to keep your SNMP community string safe and treat this like a password.
You can now access NUT in a browser by going to:
You can also query your device using SNMP
1 snmpwalk -v2c -c yourSNMPv2cCommunity yourRasberryPiIPaddress .22.214.171.124.4.1.8072.1.3.2.4.1.2
To see advanced configuration and configuring NUT Server and NUT client, see my Network UPS Tools (NUT) Ultimate Guide.
⚙️ See all the hardware I recommend at https://l.technotim.live/gear
🚀 Don’t forget to check out the 🚀Launchpad repo with all of the quick start source files