https://github.com/mausy5043/upsdiagd
Python code to read data from a UPS (Uninterruptible Power Supply)
https://github.com/mausy5043/upsdiagd
python raspberry-pi usbhid-ups
Last synced: 8 months ago
JSON representation
Python code to read data from a UPS (Uninterruptible Power Supply)
- Host: GitHub
- URL: https://github.com/mausy5043/upsdiagd
- Owner: Mausy5043
- License: mit
- Created: 2016-08-14T19:12:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T07:28:47.000Z (over 3 years ago)
- Last Synced: 2023-08-04T18:01:56.608Z (almost 3 years ago)
- Topics: python, raspberry-pi, usbhid-ups
- Language: Python
- Homepage:
- Size: 224 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UPSDIAGD
Scripts are supplied that allow you to
* interrogate a `usbhid-ups` compliant UPS
* store specific data in a sqlite3 database (server not included; you'll need to set-up your own)
* query the (not included) sqlite3 database for interesting data
* plot some graphs
* push graphs to a website (webserver not included; you'll need to set-up your own)
## Installing
```
sudo su -
cd /path/to/where/you/want/store/upsdiagd
git clone https://github.com/Mausy5043/upsdiagd.git
cd upsdiagd
./install.sh
./update.sh
```
## Additional software:
This repo assumes you have already installed and configured `nut`.
## Hardware:
Raspberry Pi 1B or better, connected to a UPS via USB cable.
Known to work with:
- APC Back-UPS 700 (BE-700GR)
- EATON ProtectionStation 650
(probably all UPSes that support the `usbhid-ups` driver)