HiveMQ Edge-to-Cloud AI Pipeline
Anomaly Detection using HiveMQ Cloud, Python (PyOD), and Flask
System Overview
Step-by-Step Breakdown of the Pipeline
1. Input Layer — PLC to HiveMQ Edge (OPC UA)
2. Transport Layer — HiveMQ Edge to HiveMQ Cloud (MQTT)
3. AI Layer — ML server running Python + Flask + PyOD locally on the compute
What is Anomaly detection?
Why we need it:
🧠 PyOD — Python Outlier Detection Library
Installing Pyod and testing Anomaly detection
Anomaly detection using Pyod and Node-RED
Testing Anomaly detection with PLC Data
4. Output Layer – Returning anomaly alerts via MQTT → HiveMQ Edge → PLC (optional)
Complete Workflow
♥️ Work With Me
Last updated








