forked from curious.bio/iot-backend
25 lines
852 B
Markdown
25 lines
852 B
Markdown
|
|
# Node-RED
|
||
|
|
|
||
|
|
If you boot up our tech stack using `docker-compose` you already have a Node-RED instance running on[your local machine](http://localhost:1880/).
|
||
|
|
|
||
|
|
## first steps
|
||
|
|
|
||
|
|
For debuging shell into your Docker container and install the Node-RED Dashboard (we will switch to Grafana, soon):
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npm install node-red-dashboard
|
||
|
|
```
|
||
|
|
|
||
|
|
Then the dashboard should be visible on the righmost menu item in Node-RED.
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
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.
|
||
|
|
|
||
|
|

|
||
|
|
  
|
||
|
|
|
||
|
|
The dashboard looks like that.
|
||
|
|
|
||
|
|

|