MQTT Sparkplug: Send and Receive messages Using Node-red, Raspberry Pi and HiveMQ Cloud

Описание к видео MQTT Sparkplug: Send and Receive messages Using Node-red, Raspberry Pi and HiveMQ Cloud

This video showcases how to use the MQTT Sparkplug B specification to make greenhouse information discoverable by industry 4.0 applications that may join an MQTT network. This video simulates a simple greenhouse remote monitoring system using Raspberry Pi, Node-Red, and HiveMQ Cloud as the MQTT broker. This video aims to show how to use the MQTT Sparkplug specification to make greenhouse information discoverable by industry 4.0 applications that may join an MQTT network.

** Overview of the Demo Setup **

For the purpose of the demonstration, we have used two Raspberry Pis. One of the Raspberry Pis will act as a greenhouse control unit measuring humidity and temperature. We will use a DHT11 sensor for that. The same Raspberry Pi will also monitor unauthorized access using a proximity sensor. The other Raspberry Pi will act as a remote monitoring station, which receives greenhouse telemetry data and displays the temperature and humidity data on an HMI. The second Raspberry Pi will also monitor the intrusion and switch ON an AC lamp when an intrusion is detected.

To monitor the telemetry data, we will send and receive MQTT Sparkplug Messages using Raspberry Pi, Node-RED, and HiveMQ Cloud.

** With this demonstration in the video, we show how MQTT Sparkplug can bring plug-and-play interoperability to IIoT. **

Link to the Eclipse Tahu project on GitHub: https://github.com/eclipse/tahu

Here’re the steps we followed for this demonstration:

00:00 Introduction
02:44 Setting up HiveMQ Cloud MQTT Broker
04:46 Setting-up Node-Red on Raspberry Pi to Read and Publish Sensor Data to HiveMQ Cloud
07:52 Extracting Greenhouse Humidity and Temperature Values
09:00 Prepare an MQTT Sparkplug B Message Object on Node-Red
10:00 Encoding the MQTT Sparkplug B Messages
11:07 Publishing Sparkplug B messages to HiveMQ Cloud MQTT Broker
13:47 Testing the Transmission of Greenhouse Monitoring Data
16:03 Setting-up Second Node-Red to Receive Greenhouse Monitoring Data

** Link to Resources **

👉 For more information on HiveMQ Cloud MQTT broker, visit: https://bit.ly/3inmNVx
👉 To get started on HiveMQ Cloud, read the technical documentation: https://bit.ly/3mhX4ie
👉 To learn the basics of MQTT IoT protocol, visit: https://bit.ly/3oC4lwv
👉 To get an overview of MQTT Sparkplug, visit: https://bit.ly/3CWdxzs
👉 To learn how to get started with MQTT Sparkplug, visit: https://bit.ly/3D4HjCq

Subscribe to our HiveMQ channel to get video updates. Hit the subscribe button below or subscribe to our newsletter (https://bit.ly/3CZPgsm) to keep up to date on the latest MQTT news.
#MQTTSparkpluk #MQTTCloudBroker #IIoT #RaspberryPi #NodeRed

Комментарии

Информация по комментариям в разработке