powstatd

Configurable UPS monitoring daemon

Install

All systems
curl cmd.cat/powstatd.sh
Debian Debian
apt-get install powstatd
Ubuntu
apt-get install powstatd
Windows (WSL2)
sudo apt-get update sudo apt-get install powstatd
Raspbian
apt-get install powstatd

powstatd

Configurable UPS monitoring daemon

Assuming you have a relay-based "dumb" UPS that corresponds with your machine via a serial connection, you should be able to configure powstatd in just a few minutes. It is easily configured, and can be expected to support most "dumb" UPS supplies. UPS models known to work: CyberPower PowerSL series CyberPower Power2000 1500VA CyberPower Power99 325VA, 400VA, 500VA and 720VA Some older CyberPower 385VA and 450VA models TrippLite Internet Office 500 UPS Various older APC units. Powstatd can also be configured to allow a master machine to control (Via a network connection) up to 20 (by default) additional slave machines connected to the same UPS. This allows you to run several machines off the same UPS, with only one of the machines actually reading the UPS status over the serial line. This version of powstatd uses secure cryptography to communicate between master and slave(s), replacing the older powstatd-crypt Debian package.