We create our dashboard using the Node-RED program. Node-RED is a visual programming tool written in JavaScript. To install Node-RED for your operating system of choice, go to https://nodered.org/docs/getting-started/ and click on the link associated with where you want to install Node-RED.
Let's begin:
- Before we can use Node-RED to create our dashboard, we need to install the dashboard components. Using the Node-RED Terminal, type in the following command to install the Node-RED dashboard components. You may need to restart Node-RED to see the change:
npm install node-red-dashboard
- For our Node-RED program, we will need three components. We will start by dragging the mqtt component in the component under the network ...