Pulls UPS power draw over ModBus and logs to ElasticSearch.
Download repo:
bash git clone https://github.com/kevinmidboe/schleppeUPSConsumption cd schleppeUPSConsumption
Install python requirements:
pip3 install -r requirements.txt
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:
python3 apcWatts.py