MQTT Industry 4.0: Monitoring & Observability Example WIth InfluxDB, Grafana, & Schneider IIoT

Опубликовано: 29 Сентябрь 2024
на канале: HiveMQ
9,545
162

This video showcases how to monitor plant-floor data in real-time using MQTT, InfluxDB time-series database, Grafana visualization platform, Raspberry Pi (to host InfluxDB and Grafana), Schneider IIoT gateway to collect tank level telemetry data, and HiveMQ Cloud as the centralized MQTT broker.

** Overview **

A majority of production equipment in today’s factories still uses legacy communication protocols, such as Modbus. To collect and monitor telemetry data in real-time in such a legacy setup requires a protocol translator. To this end, we used Schneider IIoT gateway and Node-RED to read the Modbus protocol on one end and convert it to an IIoT protocol, such as MQTT, on the other end.

The Schneider IIoT Gateway will collect tank level telemetry data, simulated by a potentiometer on a legacy controller via Modbus TCP. The telemetry data will be published as MQTT messages to a centralized HiveMQ Cloud MQTT broker, which will forward that data to an InfluxDB time-series database running on Raspberry Pi.

In this demonstration, we are using InfluxDB’s Telegraf server agent to receive MQTT messages from HiveMQ Cloud as input and persist them to the InfluxDB database as the output. The telemetry data is further visualized on the InfluxDB database using the Grafana Visualisation platform.

Here’re the steps we followed for this demonstration:

00:00 Introduction: Why We Created this Real-World MQTT Demonstration
03:01 Setting up HiveMQ Cloud MQTT Broker
05:20 Configuring Schneider IIoT Gateway
07:21 Publishing Telemetry Data to HiveMQ Cloud MQTT Broker
11:20 Installing InfluxDB on Raspberry Pi
14:29 Installing Telegraph on Raspberry Pi
14:38 Configuring InfluxDB’s Telegraf Server Agent to Receive MQTT Messages
18:06 Querying InfluxDB
19:09 Installing Grafana on Raspberry Pi
20:05 Configuring Grafana for Visualising Telemetry Data
21:22 Visualising Plant-Floor Data on Grafana

** 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.
#MQTT #MQTTCloudBroker #InfluxDB #Grafana #IIoT