Skip to content

MQTT

MQTT (Message Queuing Telemetry Transport) is the lightweight, real-time messaging protocol designed for IoT and industrial sensor data — supported in Pirivision's Port module.

The most appropriate connection type for moving live data streams from PLCs, sensors, smart meters, and Edge devices into Pirivision dashboards.


Strengths

Feature Description
Real-Time Data Sub-second latency for live sensor and device data streams
Low Bandwidth Designed as an IoT protocol; works with minimal overhead
Publish / Subscribe Topic-based pub/sub model; devices work independently
Broker Flexibility Compatible with EMQX, Mosquitto, HiveMQ, AWS IoT, and Azure IoT Hub
QoS Levels At most once, at least once, exactly once delivery guarantees
Scalability Concurrent data ingestion from thousands of devices
Edge Compatibility Full compatibility with low-resource Edge devices (Raspberry Pi, Arduino)

What You Can Do in Pirivision

Action Description
Topic Definition Register sensor topics in Compass
Live Monitoring Reflect instant PLC, sensor, and meter values in widgets
Alarm Stream Visualize alarm messages from devices in Cartography
Multi-Topic Define multiple topics from one data source as separate records
JSON Payload Parse specific fields from JSON message contents
Trend Charts Build instant trend and waveform charts from timestamped messages

When Is It Used?

  • PLC / RTU Monitoring: Live tracking of temperature, pressure, flow, and vibration data from the field
  • Smart Meters: Real-time readings from energy, water, and gas meters
  • Conveyor & Line Monitoring: Instant transfer of production line speed, stoppage, and status info
  • SCADA Integration: SCADA data via OPC-UA or Modbus → MQTT bridges
  • Edge Computing: Transfer of data preprocessed on Edge devices to Pirivision
  • Alarm Management: Instant notification and visualization on critical threshold breaches

Connection Requirements

Information Required Default
Host (Broker) Yes
Port Yes 8083 (ws)
Protocol Yes ws
Path No /mqtt
Keep Alive Time Yes 60 sec
Username No
Password No

Protocol Selection

  • tcp — Standard MQTT (port 1883)
  • ssl — TLS-encrypted MQTT (port 8883)
  • ws — MQTT over WebSocket (port 8083)
  • wss — Secure WebSocket (port 8084)

Guides

Guide Description
Add MQTT Data Source Create a new MQTT broker connection in the Port module
Edit MQTT Data Source Update an existing connection
Move Data Source Move to a different folder
Duplicate Data Source Copy with the same settings
Delete Data Source Remove the data source

Next Step

After adding an MQTT data source, create a topic query in the Compass module.

Add MQTT Data Source