Skip to main content

THE SOTH JOURNAL

Guides

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

WORTH A CLOSER LOOK

Guides

Mosquitto and Node-RED: set up a secure local MQTT broker and build your first flow

MQTT is the common language of local smart home devices. Zigbee2MQTT, Tasmota, Shelly, ESP boards and many DIY sensors can all publish to a broker on your own network. Node-RED is a visual tool that listens to those messages and reacts to them. Together they make a small, vendor-neutral automation setup that runs on a Raspberry Pi or any Debian or
Oct 28, 2026
6
min read

Wi-Fi HaLow in Europe: what long-range Wi-Fi can do for IoT and where it falls short

Wi-Fi HaLow promises something that sounds ideal for a house with a large garden, a detached garage or an allotment: Wi-Fi that reaches about a kilometre, passes through walls and runs a sensor on a battery for months. Modules, Raspberry Pi add-on boards and small routers have started to appear. Before you buy, though, it helps to know that HaLow i
Oct 28, 2026
6
min read

Raspberry Pi as an always-on home server: storage, power and cooling that keep it running

A Raspberry Pi is a popular choice for the box that runs a smart home: a broker, Zigbee2MQTT, Node-RED, an automation platform, maybe a small database. It uses little power and takes little space. When a Pi-based setup dies, though, the cause is rarely the processor. It is usually the SD card, the power supply or heat. This guide covers the hardwar
Oct 28, 2026
6
min read

How to choose a temperature and humidity sensor: DHT22, BME280, AHT20 or SHT4x

Measuring temperature and humidity is the most common first project with an ESP32, an Arduino or a Raspberry Pi, and the choice of sensor decides whether the readings are useful. Four families dominate hobby shops: the DHT22 (also sold as AM2302), the Bosch BME280, the Aosong AHT20 and the Sensirion SHT4x. They differ in accuracy, interface and how
Oct 28, 2026
6
min read

Zigbee2MQTT without Home Assistant: run it in Docker with Mosquitto and control devices over MQTT

Zigbee2MQTT is best known as a Home Assistant add-on, but it does not need Home Assistant at all. At its core it is a bridge: it talks Zigbee to your sensors, bulbs and switches through a USB or network adapter, and publishes everything as MQTT messages. Anything that speaks MQTT can then use those devices: Node-RED, openHAB, a Python script, an ES
Oct 28, 2026
5
min read

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