Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed table formatting #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ Building should be a simple matter:

All configuration for the docker container is handled through environment variables. You can pass these to `docker run` using the -e flag. At a minimum you need to set `WATCHED_METERS`.


| Environment Variable | Default | Required | Description |
|----------------------|----------|-------------|
| WATCHED_METERS | | Yes | A comma or space separated list of meters to watch |
| -------------------- | ------- | -------- | ----------- |
| WATCHED_METERS | | Yes | A comma or space separated list of meter ids to watch |
| WH_MULTIPLIER | 1000 | No | multiplier to get reading to Watt Hours (Wh) |
| READINGS_PER_HOUR | 12 | No | number of IDM intervals per hour reported by the meter |
| MQTT_HOST | `127.0.0.1` | No | MQTT host to report to |
| MQTT_PORT | `1883' | No | MQTT port to use |
| MQTT_USER | | No | MQTT username for authentication |
| MQTT_PASSWORD | | No | MQTT password for authentication |


## Running

In order to run your container will need to be both privileged and have a volume mount to `/dev/bus/usb`. You can do that by adding these arguments to `docker run`:
Expand Down