Giter VIP home page Giter VIP logo

rscp2mqtt-dashboard's Introduction

Dashboard for an E3/DC Home Power Station

GitHub sourcecode GitHub release (latest by date) GitHub last commit GitHub issues GitHub pull requests GitHub

The dashboard visualizes data from a home power station by subscribing to MQTT topics published by rscp2mqtt.

Dashboard

Docker

Instead of installing the package, you can simply use an existing Docker image.

Prerequisites

  • a running rscp2mqtt instance (https://github.com/pvtom/rscp2mqtt), v3.8 or higher
  • an existing MQTT broker
  • an installation of Node-RED (https://nodered.org) including the modules "node-red-dashboard" and "node-red-contrib-aggregator" or
  • a Docker environment on your system

Installation of the package

Please follow the installation steps on the Node-RED homepage.

Load the flow

Import the file dashboard_flow.json, adjust the broker settings in one of the mqtt nodes and deploy the changes

or

set the parameters as environment variables and start the prepare script (i.e. with bash):

export MQTT_BROKER="localhost"
export TOPIC_PREFIX="e3dc"

cp -a flows.json.template flows.json

./prepare.sh flows.json

afterwards import flows.json into NODE-RED.

These parameters are available to configure MQTT settings:

  • MQTT_BROKER
  • MQTT_PORT
  • MQTT_CLIENT_ID
  • MQTT_USER
  • MQTT_PASSWORD
  • MQTT_USETLS
  • TOPIC_PREFIX

Value ranges can be adjusted with the following parameters:

  • MAX_SOLAR_POWER
  • MAX_HOME_POWER
  • MAX_GRID_POWER
  • MAX_BATTERY_POWER
  • MAX_STRING_POWER
  • MAX_PHASE_POWER
  • MAX_BATTERY_RESERVE

Access the dashboard

The dashboard will be accessible at http://<your_node_red_host>:1880/ui

The chart data is collected over the next 24 hours.

rscp2mqtt-dashboard's People

Contributors

pvtom avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

rscp2mqtt-dashboard's Issues

Influxdb V2 mit Grafana Dashboard

Hallo,
gäbe es evtl. auch die Möglichkeit das Dashboard mit der Influxdb 2 und einen Grafana Dashboard ohne node Red zu erstellen ?

TLS option

Hey Tom,

great work! Simple and powerful. I like it, especially the easy docker deployment.

Could you maybe add the TLS option for your next release?
Corresponding flow value is "usetls", which is per default "false".
If the config-File option "MQTT_USETLS" could be set to "true", it should also work with replacements in prepare.sh.

Thanks!

P.S.: had a hard time with mosquitto and unencrypted connection. Maybe error was on me, or something between node-red and mosquitto. But as soon as I manually enabled TLS, it worked like a charm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.