|
1 |
| -# Dashboard for displaying the values of an E3/DC S10 home power station |
| 1 | +# Dashboard for an E3/DC Home Power Station |
| 2 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/) |
| 3 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/releases/latest) |
| 4 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/commits) |
| 5 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/issues) |
| 6 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/pulls) |
| 7 | +[](https://github.com/pvtom/rscp2mqtt-dashboard/blob/main/LICENSE) |
2 | 8 |
|
3 |
| -Based on Node-RED this dashboard was realized. It displays the data of the house power plant that the tool RSCP2MQTT publishes via the MQTT broker. |
| 9 | +The dashboard visualizes data from a home power station by subscribing to MQTT topics published by [rscp2mqtt](https://github.com/pvtom/rscp2mqtt). |
4 | 10 |
|
5 | 11 | 
|
6 | 12 |
|
| 13 | +## Docker |
| 14 | + |
| 15 | +Instead of installing the package, you can simply use an existing [Docker image](DOCKER.md). |
| 16 | + |
7 | 17 | ## Prerequisites
|
8 | 18 |
|
9 |
| -- a running rscp2mqtt instance (https://github.com/pvtom/rscp2mqtt) |
| 19 | +- a running rscp2mqtt instance (https://github.com/pvtom/rscp2mqtt), v3.8 or higher |
| 20 | +- an existing MQTT broker |
10 | 21 | - an installation of Node-RED (https://nodered.org)
|
11 |
| - including the modules "node-red-dashboard" and "node-red-contrib-aggregator" |
| 22 | + including the modules "node-red-dashboard" and "node-red-contrib-aggregator" or |
| 23 | +- a Docker environment on your system |
12 | 24 |
|
13 |
| -## Installation |
| 25 | +## Installation of the package |
14 | 26 |
|
15 | 27 | Please follow the installation steps on the Node-RED homepage.
|
16 | 28 |
|
17 |
| -Import the dashboard.flow |
| 29 | +## Load the flow |
| 30 | + |
| 31 | +Import the file dashboard_flow.json, adjust the broker settings in one of the mqtt nodes and deploy the changes |
| 32 | + |
| 33 | +or |
| 34 | + |
| 35 | +set the parameters as environment variables and start the prepare script (i.e. with bash): |
| 36 | + |
| 37 | +``` |
| 38 | +export MQTT_BROKER="localhost" |
| 39 | +export TOPIC_PREFIX="e3dc" |
| 40 | +
|
| 41 | +cp -a flows.json.template flows.json |
| 42 | +
|
| 43 | +./prepare.sh flows.json |
| 44 | +``` |
| 45 | + |
| 46 | +afterwards import flows.json into NODE-RED. |
| 47 | + |
| 48 | +These parameters are available to configure MQTT settings: |
| 49 | + |
| 50 | +- MQTT_BROKER |
| 51 | +- MQTT_PORT |
| 52 | +- MQTT_CLIENT_ID |
| 53 | +- MQTT_USER |
| 54 | +- MQTT_PASSWORD |
| 55 | +- TOPIC_PREFIX |
| 56 | + |
| 57 | +Value ranges can be adjusted with the following parameters: |
| 58 | + |
| 59 | +- MAX_SOLAR_POWER |
| 60 | +- MAX_HOME_POWER |
| 61 | +- MAX_GRID_POWER |
| 62 | +- MAX_BATTERY_POWER |
| 63 | +- MAX_STRING_POWER |
| 64 | +- MAX_PHASE_POWER |
| 65 | +- MAX_BATTERY_RESERVE |
18 | 66 |
|
19 |
| -Adjust the settings in the mqtt in and out nodes. |
| 67 | +## Access the dashboard |
20 | 68 |
|
21 |
| -Deploy the changes and press the inject button of the "init" node to load the data. |
22 |
| -The data in the charts will be populated over the next 24 hours. |
| 69 | +The dashboard will be accessible at http://<your_node_red_host>:1880/ui |
23 | 70 |
|
24 |
| -Dashboard URL: http://<your_node_red_host>:1880/ui/ |
| 71 | +The chart data is collected over the next 24 hours. |
0 commit comments