4. Data Visualization
The next step is to visualize the data. This chapter is about the creation of a Grafana dashboard which is based on the Node-RED flow from the previous chapter. The dashboard will display the temperature readings and temperature warnings.
Creating a Grafana dashboard
Open Grafana by opening the Grafana popup and clicking on the open button and enter the secrets found in the popup.
Go to Work cell to query and select under Select new work cell:
One can notice, that this is not the exact topic, set in the Node-RED flow
before. This due to our not yet finalized data model and not every part of
it is fully utilized yet. In the future,
DefaultProductionLine will be replaced by actual values.
To select the temperature value, go to Value to query and select under Select new value:
Next, you can customise your dashboard. On the right side are several options, such as specifying a unit or setting thresholds, etc. Just play around until it suits your needs.
Once finished making adjustments, click on the blue Apply button in the top right-hand corner to save the panel and return to the overview.
Repeat the steps discussed earlier, but this time, select TemperatureWarning instead of temperature under Value to query.
Now you can again customize your panel and when you are done click on Apply.
Congratulations, you have created your first Grafana dashboard, and it should look something like the one below.
The next topic is Moving to Production where we will explain what it means to move the umh to a manufacturing environment. Click here to proceed.