smart-energy-monitor/software/flow
2023-02-22 16:20:27 +01:00
..
docs/images More documentation 2023-02-22 16:20:27 +01:00
flows.json updated dev env 2023-02-07 16:55:21 +01:00
README.md More documentation 2023-02-22 16:20:27 +01:00

Node-RED

If you boot up our tech stack using docker-compose you already have a Node-RED instance running on your local machine.

First steps

For debuging I am going to install Node-RED's own dashboard.

Shell into your Docker container.

Lame, I know, using Docker Desktop

Inside the container you can install the Node-RED Dashboard (we will switch to Grafana, soon):

npm install node-red-dashboard

Then the dashboard should be visible on the righmost menu item in Node-RED.

Dashboard item

Then you can add a MQQT node to receive values from the power monitor, hook it up to a gauge and display it in a dasboard.

Overview MQTT Node Gauge NOde Dashboard Settings

The dashboard looks like that.

Mobile view