Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhard-brandstaedter authored Jun 12, 2024
1 parent e5cc490 commit 5eca24e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ docker pull rbrandstaedter/solarflow-statuspage:master
```

I recommend to create a ```.env``` file in the directory where you will start the container. This file should contain your Zendure account credentials and other environment variables needed.

```
ZEN_USER=<your zendure account>
ZEN_PASSWD=<your zendure account password>
Expand All @@ -36,11 +37,13 @@ MQTT_PWD = <mqtt user password>
```

For HUB 2000 an additional environment variable is needed as follows
````

```
PROD_NAME=SolarFlow Hub 2000
```

Then run the container and expose it's port to a local port. Make sure to also specify the --online option, as per default the statuspage will try to work ```offline``` (meaning it will expect the telemetry data already in MQTT, provided by an offline hub)
Then run the container and expose it's port to a local port. Make sure to also specify the --online option, as per default the statuspage will try to work ```offline``` (meaning it will expect the telemetry data already in MQTT, provided by an offline hub)

```
docker run --rm --env-file .env -p 127.0.0.1:5000:5000 --name solarflow-statuspage rbrandstaedter/solarflow-statuspage:master --online
```
Expand Down

0 comments on commit 5eca24e

Please sign in to comment.