Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 8, 2021
1 parent 16c929d commit 959ec18
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,25 @@ Updated for InfluxDBv2. Changed outputted values.
Add poll of multiple NUT servers by env varable of server IP addresses

## How to run

```
$ docker run -d \
-e EVOHOME_APP_ID="<evohome API application id>" \
-e EVOHOME_USERNAME="<evohome email>" \
-e EVOHOME_PASSWORD="<evohome password>" \
-e NUT_HOST="<NUT Server IP address>" \
-e NUT_PORT="<NUT Port>" \
-e NUT_PASSWORD="<NUT password>" \
-e NUT_USERNAME="<NUT username>" \
-e NUT_HOSTNAME="<Influx Host Tag>" \
-e NUT_UPSNAME="<NUT UPS Name>" \
-e INFLUXDB2_HOST="<INFLUXDBv2 SERVER>" \
-e INFLUXDB2_PORT="8086" \
-e INFLUXDB2_ORG="" \
-e INFLUXDB2_TOKEN="" \
-e INFLUXDB2_BUCKET="" \
--name "nut-influxdbv2" \
dbsqp/nut-influxdbv2:latest
```

## Debug
To report out further details in the log enable debug:
```
-e DEBUG="true"
```

0 comments on commit 959ec18

Please sign in to comment.