A smart home doesn’t need every device to speak the same radio protocol, but it does need somewhere their messages can meet. Wassim’s Home Smart Mesh on Hackaday.io makes MQTT that meeting point, connecting homemade sensors, commercial Zigbee devices and ESP32 lighting while retaining a separate Hue gateway where it proves useful. The interesting part is how much can change underneath that shared interface without replacing the whole system.
Created on March 18, 2017, the project grew from custom radio hardware into a collection of home-automation services and examples. The supplied build logs run through February 23, 2020; they describe an evolving installation, not a newly released, all-in-one platform.
Let the radios differ
The early design really was a custom mesh. In the May 14, 2017 protocol log, Wassim described an nRF24L01+ flood network: repeaters rebroadcast messages rather than maintain routes, while low-power leaf sensors periodically transmit without continuously listening.
That simplicity has a cost. Repeated messages occupy airtime, so the design limits their lifetime and staggers retransmission delays by node ID. It’s a useful trade-off to understand, but it isn’t the architecture of every device later added to Home Smart Mesh.
The hardware moved through STM8 and STM32 designs toward nRF52 devices, and off-the-shelf Aqara sensors joined through zigbee2mqtt. Instead of making those networks compatible over the air, the project brings their data together at the MQTT layer. A custom nRF-to-MQTT adapter and zigbee2mqtt can feed the same broker while hiding their different radio interfaces from downstream services.
The common ground is the message interface, not the mesh protocol. That distinction makes the project more adaptable than its name initially suggests.
A Raspberry Pi connects sensors to services
The September 29, 2019 deployment log gives the clearest account of the working arrangement. A Raspberry Pi named Mano hosts Mosquitto, InfluxDB, Grafana and device adapters, alongside custom Python services for lighting, thermostat rules and forwarding selected MQTT traffic into the database.
Each piece has a fairly narrow job: the broker moves messages, Python implements rules, and the database and dashboard preserve and display measurements. Wassim also used other automation frameworks experimentally, but kept much of the rule logic in Python because he found it easier to write and debug. That’s a creator preference, not a requirement of the architecture.
Lighting illustrates the willingness to keep a useful exception. Hue bulbs remained behind a Hue bridge, accessed locally through its REST interface and a Python API. Wassim wanted to retain both the vendor app and custom controls rather than force everything through zigbee2mqtt.
One described automation combines Aqara window contacts with a Eurotronic thermostat. Python aggregates the contacts and sends a window-open notification when their combined state changes; clearing the alert lets the thermostat resume its previously set temperature. This is where the integration earns its keep: a sensor’s event becomes an action on another device without requiring a shared vendor application.
Put timing where the action happens
A smaller November 18, 2018 lighting build makes the message path tangible. An Aqara button publishes through zigbee2mqtt, Node-RED selects the event, and an ESP32 receives a JSON command to control seven WS2812B LEDs. The log links the ESP32 RGB firmware.
The basic event-to-action chain worked, but Wassim reported trouble producing short flashes by sending separate start and stop messages through the network. His proposed next step was to implement flashing on the ESP32 itself, with one MQTT command requesting the effect. The excerpt doesn’t establish that this change was completed.
That proposal is a useful design lesson: request an action over the network, then let the device handle its precise timing. MQTT can carry “flash green” without making the broker and rule engine responsible for the interval between every LED transition.
Local operation still has dependencies
Removing cloud access doesn’t remove every external dependency. In the February 23, 2020 Shelly log, Wassim describes a separate Wi-Fi router for IoT devices, without an internet connection, and a Raspberry Pi MQTT broker at a fixed address.
The Shelly devices could publish instantaneous power, yet their accumulated energy readings stayed at zero. The project overview identifies a local time server as a requirement for this setup. The distinction matters: power is a reading at a moment, while energy accounts for power over elapsed time. A device can appear successfully connected and still lack something needed for a particular measurement.
Network separation was intended to limit internet exposure and access to the main household network. It should be read as a containment measure, not a guarantee of security or electrical safety. The earlier deployment also used VPN access for remote use rather than exposing each custom service directly.
What to carry into another build
Wassim points to the IoT Frameworks repository and Home Smart Mesh documentation for the broader collection. The useful starting point isn’t necessarily its original radio hardware; it’s the separation between device adapters, messages, rules and presentation.
For another local-first installation, the revealing test would be to disconnect internet access and exercise a complete automation—not just check whether a sensor still publishes. Does the energy counter advance? Does a timed effect finish locally? Does a gateway still accept commands? Home Smart Mesh shows why those small dependencies deserve as much attention as the choice of wireless protocol.
Source: Home Smart Mesh