Files
schleppeUPSConsumption/README.md
2022-11-28 12:49:54 +01:00

582 B

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