Temperature sensor data visualisation with Node-RED: Difference between revisions

From Sensors in Schools
Jump to navigation Jump to search
Line 3: Line 3:


= Learning Objectives =
= Learning Objectives =
* Learn how to subscribe to a MQTT using the Node-RED MQTT-in node
* Learn how to subscribe to a MQTT using the Node-RED '''MQTT-in''' node
* Learn how to extract specific sensor data using the Node-RED function node.
* Learn how to extract specific sensor data using the Node-RED '''function''' node.
* Learn how to create a '''Dashboard''' in Node-RED to monitor live data.

Revision as of 19:01, 12 April 2022

Overview

This lesson assumes that a temperature sensor is sending data to The Things Network. In this lesson we will use the MQTT protocol to subscribe to data transmission events. We will create a program in Node-RED to subscribe to the data transmissions and to graph the data coming from the sensor using the in-built Dashboard function in Node-RED.

Learning Objectives

  • Learn how to subscribe to a MQTT using the Node-RED MQTT-in node
  • Learn how to extract specific sensor data using the Node-RED function node.
  • Learn how to create a Dashboard in Node-RED to monitor live data.