As I started to expand my homelab, i wanted a way to monitor the various UPSs without the need to buy dedicate HW and avoid proprietary solutions. I decided to use an OrangePi Zero 3 (a bit overkill for this project, but the future expandability is nice). In addition to just monitoring, the system is configured to send shutdown commands to the mapped devices. Replace the names of the UPS's and the device IPs in the commands.
The system has a dedicate battery so that, should power go down, this has longer power on time to hopefully outlive the outage and then handle everything automatically.
Below you'll find all the instructions to configure the OrangePI Zero 3 with this system - this is inteded for use with an Ubuntu-based image.
In the files you'll find the 3Ds (Solidworks) for the 3D printed box and the dimensions of other parts used.
So far this has been working with no downtime for over a month, so decided to share it.
Feedback is greatly appreciated!
LICENSE
This project is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.
You are free to:
-
Share — copy and redistribute the material in any medium or format.
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
-
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Full license text:
https://creativecommons.org/licenses/by/4.0/
Example attribution:
"Based on work by [Your Name or Project Name] licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)"
Nicola
tobychui
Guus van der Sluijs
Valentyn