Skip to main content

THE SOTH JOURNAL

MQTT

Ideas, know-how, and a little inspiration for your connected home.

WORTH A CLOSER LOOK

MQTT

MicroPython on an ESP32: flash the firmware, read a sensor and publish it over MQTT

ESPHome, Tasmota and the Arduino framework are the usual ways to program an ESP32 for the home, but there is another option that suits people who already know Python: MicroPython. It runs a Python interpreter directly on the microcontroller. You type commands into an interactive prompt (the REPL), see results immediately and copy .py files to the b
Oct 28, 2026
6
min read

MQTT topics, QoS, retained messages and Last Will: design messages that hold up

Getting a sensor to publish to an MQTT broker takes a few lines of code. Getting a whole house of sensors, switches and scripts to talk over MQTT without stale values, lost commands and devices that look online when they are not takes a little more thought. Four features decide most of it: topic structure, Quality of Service (QoS), retained message
Oct 28, 2026
7
min read

Store and chart MQTT sensor data with Telegraf, InfluxDB 3 Core and Grafana

An MQTT broker only passes messages along. Once a temperature reading has been delivered, it is gone, apart from the last retained value. If you want to see how the living room temperature changed over the past week, something has to subscribe to the topics, store every reading with a timestamp and draw a chart from it.
Oct 28, 2026
7
min read

A Valetudo fork takes the Ecovacs Deebot X1 Omni off the cloud, but only after you root the robot

Owners of the Ecovacs Deebot X1 Omni now have a way to run the robot vacuum with no Ecovacs cloud and no account. On 27 October 2026 the developer GrahamKowalski published valetudo-ecovacs-x1, a downstream fork of Valetudo, the cloud-free control software for robot vacuums by Sören Beye. A companion repository, ecovacs-x1-research, holds the revers
Oct 27, 2026
3
min read

Home Assistant 2026.11 brings child devices to MQTT discovery and YAML

MQTT devices can now use the child device model that Home Assistant introduced for products made of several parts. A pull request by Jan Bouwhuis, merged into the development branch on 26 October 2026, adds a child_device option to MQTT entities. A follow-up fix merged the same evening is already tagged for the 2026.11 beta.
Oct 26, 2026
3
min read

Homematic IP Home Control Unit gets Modbus and MQTT plugins in the 27 October update

eQ-3, the German company behind Homematic IP, will add two plugins to its Home Control Unit hub with an update scheduled for 27 October 2026. One speaks Modbus, the other MQTT. Both let devices from other manufacturers appear in Homematic IP next to the system's own sensors and actuators, and both are switched on and configured in the hub's web int
Oct 26, 2026
2
min read

ESPHome 2026.11 makes sure the MQTT shutdown message reaches the broker before a reboot or deep sleep

ESPHome's MQTT client can publish a shutdown_message when a device restarts, shuts down or goes into deep sleep, so anything subscribed to the topic knows the device left on purpose. In practice that message often never arrived. A fix by bdraco, merged into the development branch on 25 October 2026, makes the client wait until the broker confirms i
Oct 25, 2026
3
min read

ESPHome can skip MQTT resubscribing after deep sleep with persist_subscriptions

An ESPHome device that wakes from deep sleep and reconnects to an MQTT broker sends a SUBSCRIBE for every command topic it listens to, even when the broker still remembers them from the last session. A change by Rapsssito, reviewed by bdraco and merged on 25 October 2026 after more than ten months in review, adds an opt-in way to skip that step. Th
Oct 25, 2026
3
min read