---
title: "Predictive Maintenance with MQTT | ConnectMQ | ConnectMQ"
description: "Stream vibration, temperature and motor current from sensors and PLCs over MQTT to your condition models and CMMS, and plan repairs before the breakdown."
url: "https://connectmq.com/use-cases/predictive-maintenance/"
language: "en"
---

Use case

# Predictive maintenance on live machine data

Vibration sensors, PLC gateways and motor drives publish condition data to ConnectMQ. Your condition-monitoring models subscribe, score the health of every asset, and your CMMS gets a work order while there is still time to plan the repair.

[Try it free](https://app.connectmq.com/signup) [See pricing](https://connectmq.com/pricing/)

No card required

Used in

-   [Manufacturing](https://connectmq.com/industries/manufacturing/)
-   [Automotive](https://connectmq.com/industries/automotive/)
-   [Oil & Gas](https://connectmq.com/industries/oil-gas/)
-   [Renewable Energy](https://connectmq.com/industries/renewable-energy/)
-   [Chemicals](https://connectmq.com/industries/chemicals/)
-   [Pharma & Life Sciences](https://connectmq.com/industries/pharma-life-sciences/)
-   [Food & Beverage](https://connectmq.com/industries/food-beverage/)

Example message

PUBLISH plant/dallas/line-1/press-04/vibration

```
{"ts":"2026-10-22T08:14:05Z","rms_mm_s":7.4,"peak_g":2.9,"bearing_temp_c":71.2,"rpm":1480}
```

QoS 1 · TLS 8883 · PUBACK

The problem

## Breakdowns found by the night shift, not by the data

Most plants still run on calendar-based PMs and monthly vibration routes. Bearings, gearboxes and pumps wear out between rounds, the data that would have shown it never leaves the PLC or sits in a historian nobody watches, and the first sign is an unplanned stop. Wiring every sensor vendor directly to every analytics tool creates point-to-point integrations that break with each new line.

## How it works

1.  1
    
    ### Instrument the asset
    
    Wireless vibration and temperature sensors, current transformers or the drive itself measure the machine. An edge gateway such as Node-RED, Kepware or Ignition reads them next to PLC tags over Modbus or OPC UA.
    
2.  2
    
    ### Publish condition data
    
    The gateway publishes RMS velocity, peak acceleration, bearing temperature and motor current to the asset’s topic over TLS, every few seconds or on change.
    
3.  3
    
    ### Score asset health
    
    Your condition-monitoring service or ML model subscribes with a wildcard, compares readings with each asset’s baseline and publishes a health score back as retained state.
    
4.  4
    
    ### Act before it fails
    
    A ConnectMQ threshold rule alerts the maintenance team, and your integration turns the warning into a work order in the CMMS — SAP PM, Maximo, Fiix or similar — with the readings attached.
    

ConnectMQ

## What it needs from the broker

### Telemetry without polling

Gateways push data as it is measured, and ConnectMQ delivers it to the model, the historian and the dashboard at once — no separate poller per tool.

### One namespace for every asset

The ISA-95 workspace organises site, area, line and machine topics, so a model subscribed to plant/+/+/+/vibration picks up new machines automatically.

### Alerts on the raw signal

Threshold rules on vibration or temperature raise an alert even before your model has scored the reading — a simple safety net next to the analytics.

### Knowing when data stops

Last Will and retained status show when a sensor gateway drops off, so a silent machine is never mistaken for a healthy one.

## What you get

-   Repairs planned into production windows instead of unplanned stops
-   Fewer calendar-based PMs on assets that don’t need them
-   Condition data available to every tool, not locked in one vendor portal
-   A pilot on one critical line that scales to every plant with the same topics

Example topics

```
plant/dallas/line-1/press-04/vibration
plant/dallas/line-1/press-04/motor/current
plant/dallas/line-1/press-04/health      (retained)
plant/dallas/line-1/press-04/status      (retained)
```

## Industries that run this use case

 [![](https://connectmq.com/images/industries/hero/manufacturing.webp) Manufacturing](https://connectmq.com/industries/manufacturing/) [![](https://connectmq.com/images/industries/hero/automotive.webp) Automotive](https://connectmq.com/industries/automotive/) [![](https://connectmq.com/images/industries/hero/oil-gas.webp) Oil & Gas](https://connectmq.com/industries/oil-gas/) [![](https://connectmq.com/images/industries/hero/renewable-energy.webp) Renewable Energy](https://connectmq.com/industries/renewable-energy/) [![](https://connectmq.com/images/industries/hero/chemicals.webp) Chemicals](https://connectmq.com/industries/chemicals/) [![](https://connectmq.com/images/industries/hero/pharma.webp) Pharma & Life Sciences](https://connectmq.com/industries/pharma-life-sciences/) [![](https://connectmq.com/images/industries/hero/food-beverage.webp) Food & Beverage](https://connectmq.com/industries/food-beverage/)

## Related solutions

[

### Industrial IoT & Smart Manufacturing

Machines, PLC gateways, OEE and quality data

Learn more](https://connectmq.com/industrial-iot/)[

### Smart Energy

Meters, EV chargers, solar and batteries

Learn more](https://connectmq.com/energy-utilities/)

## Frequently asked questions

How do I get vibration sensor data into MQTT?

Many industrial wireless vibration sensors and their gateways can publish MQTT directly. Where a sensor or PLC only speaks Modbus or OPC UA, an edge gateway such as Node-RED, Kepware or Ignition reads the values and publishes them to a topic per asset over TLS.

Does ConnectMQ run the predictive maintenance models?

No. ConnectMQ is the MQTT broker: it delivers condition data in real time and raises threshold alerts. The models — from simple trend limits to machine-learning anomaly detection — run in your own service or analytics platform, which subscribes to the broker and can publish its results back.

MQTT vs OPC UA for predictive maintenance?

They work together. OPC UA is common for reading data from PLCs and machines on the shop floor; MQTT is better at moving that data from many machines and sites to many consumers. A typical setup reads over OPC UA at the edge and publishes to an MQTT broker for models, historians and the CMMS.

## Build it on ConnectMQ

Start on the Free plan — no card required — connect your first devices today and upgrade when you go live.

[Get started](https://app.connectmq.com/signup) [See pricing](https://connectmq.com/pricing/)

## More use cases

-   [Asset Performance Tracking](https://connectmq.com/use-cases/asset-performance-tracking/)
-   [Industrial Agentic AI Operations](https://connectmq.com/use-cases/industrial-agentic-ai/)
-   [Energy Management](https://connectmq.com/use-cases/energy-management/)
-   [Connected Vehicles](https://connectmq.com/use-cases/connected-vehicles/)
-   [EV Charging Management](https://connectmq.com/use-cases/ev-charging-management/)
-   [Fleet Management](https://connectmq.com/use-cases/fleet-management/)
-   [Remote Asset Monitoring](https://connectmq.com/use-cases/remote-asset-monitoring/)
-   [Tank Level Monitoring](https://connectmq.com/use-cases/tank-level-monitoring/)
-   [Smart Metering](https://connectmq.com/use-cases/smart-metering/)
-   [Solar & Wind Farm Monitoring](https://connectmq.com/use-cases/solar-wind-farm-monitoring/)
-   [Cleanroom & GMP Environmental Monitoring](https://connectmq.com/use-cases/cleanroom-environmental-monitoring/)
-   [Cold Chain Monitoring](https://connectmq.com/use-cases/cold-chain-monitoring/)
-   [Remote Patient Monitoring](https://connectmq.com/use-cases/remote-patient-monitoring/)
-   [Hospital Equipment Monitoring & Tracking](https://connectmq.com/use-cases/medical-equipment-tracking/)
-   [Real-Time Notifications](https://connectmq.com/use-cases/real-time-notifications/)
-   [Smart Store Operations](https://connectmq.com/use-cases/smart-store-operations/)
-   [ATM & POS Terminal Monitoring](https://connectmq.com/use-cases/atm-pos-terminal-monitoring/)
-   [Telecom Network Equipment Monitoring](https://connectmq.com/use-cases/network-equipment-monitoring/)
-   [IoT Platform for Operators](https://connectmq.com/use-cases/iot-platform-for-operators/)
-   [Real-Time Market Data](https://connectmq.com/use-cases/real-time-market-data/)
-   [Agricultural Drones](https://connectmq.com/use-cases/agricultural-drones/)
-   [Greenhouse IoT Sensors](https://connectmq.com/use-cases/greenhouse-iot-sensors/)
-   [Data Center Monitoring](https://connectmq.com/data-centers/)
-   [Smart Irrigation](https://connectmq.com/smart-agriculture/)

## Articles

[All articles](https://connectmq.com/blog/)

Managed MQTT Cloud

### [How to Choose an IoT MQTT Broker: 12 Criteria and the Questions to Ask Your Vendor](https://connectmq.com/blog/how-to-choose-an-iot-mqtt-broker/)

A practical 12-point checklist for choosing an IoT MQTT broker, a table of questions to ask every vendor, and a five-minute hands-on test you can run against broker.connectmq.com.

September 21, 20269 min read

MQTT Fundamentals

### [MQTT QoS Levels Explained: QoS 0, 1 and 2 with Packet Flows and Examples](https://connectmq.com/blog/mqtt-qos-levels-explained/)

A practical guide to MQTT QoS: how QoS 0, 1 and 2 work on the wire, why the delivered QoS can be lower than you asked for, how sessions queue messages and which level to choose for each use case.

August 20, 20269 min read

MQTT Security

### [MQTT Security Best Practices: A 12-Point Checklist for IoT Teams](https://connectmq.com/blog/mqtt-security-best-practices/)

A hands-on MQTT security checklist covering TLS, credentials, client IDs, topic design, payload validation, rate limits and certificate checks, plus how ConnectMQ handles each point.

September 28, 202611 min read
