Blog

MQTT and IoT guides

Practical guides on MQTT, managed brokers and connected products from the ConnectMQ team.

ESP32 Certificate Pinning and CA Validation for MQTT

Three ways to validate a broker certificate on an ESP32: embed a root CA, use the ESP-IDF certificate bundle, or pin. Learn the trade-offs and get working MQTT code for each.

7 min read

UNS Topic Structure Examples for Manufacturers

Ready-to-use UNS topic structure examples for discrete manufacturing and process plants, with the naming rules, payload conventions and validation that keep a unified namespace usable as it grows.

7 min read

Paho MQTT C Client Tutorial for Embedded Linux

A practical Paho MQTT C tutorial for embedded Linux: build the library with OpenSSL, write a TLS publisher and subscriber, cross-compile for ARM, and run it reliably under systemd.

7 min read

Flutter MQTT Client: Building a Cross-Platform IoT App

A hands-on Flutter MQTT tutorial using the mqtt_client package to connect Android, iOS, desktop and web builds to a cloud broker over TLS or secure WebSocket, read live sensor data and control a device.

7 min read

Secure IoT Device Provisioning for MQTT Fleets

How to get a unique, protected MQTT identity onto every device: factory provisioning, claim-certificate and bootstrap flows, per-device credentials and the steps to connect provisioned devices to a managed broker.

7 min read

What Is a Managed MQTT Broker? Benefits, Costs and How to Choose

A managed MQTT broker lets you run IoT messaging without operating servers, certificates or patches yourself. Compare managed and self-hosted, pick a deployment model and connect your first client in five minutes.

10 min read

Build a Sparkplug B Edge Node Simulator in Python

Testing a Sparkplug host or dashboard should not require a PLC. This tutorial builds a Python Sparkplug B edge node simulator with births, data, deaths and rebirth handling, running against a real MQTT broker.

7 min read

Fixing ESP32 Task Watchdog Resets in MQTT Projects

Why ESP32 MQTT sketches trigger task watchdog resets, how to read the task_wdt message, and how to restructure reconnect loops, callbacks and blocking code so the watchdog stays quiet.

8 min read

Designing Downtime Reason Codes That Operators Actually Use

How to build a downtime reason code tree that stays short, specific and actionable, plus an operator input flow that publishes reasons over MQTT alongside automatically detected machine states.

7 min read

Your private MQTT broker is a few clicks away

Create an account, get your broker credentials and connect your first device — no servers to install, patch or scale.