Blog

MQTT and IoT guides

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

What Is TinyML? Machine Learning on Microcontrollers Explained

TinyML is machine learning on microcontrollers that run on milliwatts and kilobytes. This explainer covers the constraints, the frameworks, real use cases and why tiny devices publish compact inference results over MQTT.

7 min read

Sparkplug B Data Types and Metric Properties Reference

A practical reference to every Sparkplug B data type, the Protobuf field each one travels in, metric properties such as Quality, metric flags and DataSets, with decoded examples and common conversion mistakes.

7 min read

Online MQTT Web Client: Test Any Broker from Your Browser

A practical guide to testing MQTT from a browser: how web clients connect over WebSockets, a step-by-step session with the ConnectMQ portal client, a tiny MQTT.js client of your own and fixes for common connection errors.

8 min read

All 15 MQTT Control Packet Types Explained

MQTT has just 15 control packet types. This reference explains each one, from CONNECT to AUTH, with its type number, direction, first byte and what it looks like in debug logs while you troubleshoot.

7 min read

Digital Twin Dashboard: Combining a 3D Scene with Live KPIs

Build a web digital twin dashboard where a Three.js scene, KPI cards, a trend chart and an alarm list share one MQTT connection and one state store, with click-to-focus navigation and stale-data handling.

7 min read

How to Build a Digital Twin in 7 Practical Steps

A practical seven-step process for building your first digital twin: scope it, model the asset, design MQTT topics, stream live data, secure the broker, visualize it and add history.

7 min read

MQTT vs HTTP for IoT: Which Protocol Should You Use?

A practical MQTT vs HTTP comparison for IoT covering message overhead, push versus polling, battery life and connection models, with a small benchmark you can run yourself.

8 min read

MQTT DMZ Design: Placing MQTT in an Industrial DMZ

An MQTT DMZ lets plant data reach the cloud without opening a single inbound port to the OT network. This guide covers outbound-only patterns, DMZ bridge brokers, firewall rules and the mistakes that weaken the design.

9 min read

MQTT Broker as a Service: What You Get and What You Don't

An MQTT broker as a service removes server work, but not every responsibility. Here is a clear split between what the provider handles and what stays with you, with a practical integration pattern.

7 min read

IIoT Data Modeling: From Flat Tags to Information Models

A practical guide to IIoT data modeling: how to move from flat PLC tags to structured, reusable information models using ISA-95, Sparkplug B templates and OPC UA, published over MQTT.

9 min read

Android MQTT Kotlin Client: Connect, Subscribe and Notify

Build an Android app in Kotlin that connects to an MQTT broker over TLS, subscribes to alarm topics, raises system notifications and reconnects correctly as the app moves between foreground and background.

7 min read

Telegraf json_v2 Parser and MQTT Topic Parsing Explained

How to turn real MQTT payloads into clean InfluxDB metrics with Telegraf: json_v2 fields, tags, renames and types for nested JSON, object parsing for arrays, and topic_parsing to extract site, line and machine from the topic.

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.