mirror of
https://github.com/KevinMidboe/schleppeUPSConsumption.git
synced 2025-10-28 09:20:13 +00:00
main
Schleppe UPS Consumption
Pulls UPS power draw over ModBus and logs to ElasticSearch.
Install
Download repo:
git clone https://github.com/kevinmidboe/schleppeUPSConsumption
cd schleppeUPSConsumption
Install python requirements:
pip3 install -r requirements.txt
Configure
Create copy of config and edit follow values:
cp config.yaml.default config.yaml
logger:
name: schleppe_ups_consumption
ch_level: INFO
modbus:
host:
port:
elastic:
host:
port:
ssl:
apiKey:
Run
python3 apcWatts.py
Description
Languages
Python
100%