Creating the dashboard

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:

  1. 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
  1. For our Node-RED program, we will need three components. We will start by dragging the mqtt component in the component under the network ...

Get Hands-On Edge Analytics with Azure IoT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.