Quick Answer
The core open-source smart home stack in 2026: Home Assistant (hub), Zigbee2MQTT (Zigbee bridge), Mosquitto (MQTT broker), ESPHome (DIY devices), and Node-RED (complex automations). All free, all local, all running inside Home Assistant as add-ons. Start with HA + Zigbee2MQTT and add the others as you need them.
Table of Contents
What You Need
Home Assistant
Home Assistant is the center of the open smart home universe. It's the hub that everything else plugs into — Zigbee devices, Wi-Fi switches, ESPHome sensors, MQTT topics, Node-RED flows. It provides the dashboard, the automation engine, the mobile apps, and the integration layer.
License: Apache 2.0 (open source) | Cost: Free (hardware cost only) | Runs on: Raspberry Pi, mini PC, VM, NUC, HA Green/Yellow
Best for: Everyone building a serious smart home. HA is the foundation; all other tools in this list either run inside it or connect to it.
Zigbee2MQTT and ZHA
Two ways to run Zigbee in Home Assistant:
- Zigbee2MQTT: Standalone Node.js app, runs as HA add-on, communicates via MQTT. Supports 3,800+ devices with deep attribute access. The more powerful choice.
- ZHA (Zigbee Home Automation): Native HA integration, no MQTT required. Easier to set up, supports 2,500+ devices.
Both require a USB Zigbee coordinator (the Sonoff ZBDongle-P is the most recommended in 2026).
ESPHome
ESPHome turns cheap ESP32/ESP8266 microcontrollers into local smart home devices using YAML config files. No cloud, no subscriptions, no C++ programming required. Flash once via USB, update everything wirelessly thereafter.
Use ESPHome to build: temperature/humidity sensors, CO2 monitors, relay switches, LED controllers, presence detection with mmWave radar, garage door controllers, and anything else that can connect to an ESP32's GPIO pins.
License: MIT | Cost: Free (ESP32 boards cost $5–$15) | Hardware: ESP32 boards on Amazon
Node-RED
Node-RED is a visual flow-based programming tool for complex automations. Where HA's built-in automation editor handles simple trigger-action rules well, Node-RED excels at multi-step flows with branching logic, data transformation, rate limiting, and external API calls.
Install it as a HA add-on alongside node-red-contrib-home-assistant-websocket nodes. Everything runs locally.
License: Apache 2.0 | Cost: Free
Mosquitto MQTT Broker
Mosquitto is the most widely deployed open-source MQTT broker. It acts as the message bus between Zigbee2MQTT, Shelly devices, ESPHome (optional), Node-RED, and Home Assistant. Install it as a HA add-on; it auto-configures with HA's user accounts.
License: EPL 2.0 | Cost: Free | Handles: Thousands of messages/second on a Raspberry Pi
n8n
n8n is a workflow automation tool (think Zapier, but self-hosted and free). It's useful for smart home integrations that need external service connections — sending a WhatsApp message when motion is detected, creating a calendar event when you arrive home, or pushing data to a spreadsheet.
n8n isn't a smart home tool per se, but it's a powerful companion to Home Assistant for workflows that involve external services. Run it as a Docker container on your home server.
License: Sustainable Use License (source available, self-host free) | Cost: Free to self-host
Matter (Open Standard)
Matter isn't a software tool — it's an open connectivity standard. Devices that implement Matter work with any Matter-compatible hub without proprietary bridges or apps. Home Assistant has supported Matter since 2023.3.
In 2026, the Matter device ecosystem is growing rapidly. Thread (Matter's low-power wireless variant) is increasingly built into border routers like Apple TV 4K and HomePod mini. If you're buying new devices, prioritize ones with Matter support.
Comparison Table
| Tool | Role | Difficulty | Required? |
|---|---|---|---|
| Home Assistant | Hub, automation, dashboard | Medium | Yes (core) |
| Zigbee2MQTT | Zigbee device bridge | Medium | If you have Zigbee devices |
| ZHA | Zigbee device bridge (simpler) | Easy | Alternative to Zigbee2MQTT |
| Mosquitto MQTT | MQTT message broker | Easy | If using Zigbee2MQTT or MQTT devices |
| ESPHome | DIY sensors and relays | Easy–Medium | Optional |
| Node-RED | Complex automations | Medium | Optional |
| n8n | External service workflows | Medium | Optional |
| Matter | Open device standard | Easy | Optional (built into HA) |
Troubleshooting
- Entities don’t appear in Home Assistant: Confirm the integration is loaded correctly and double-check that the device is supported by the platform you chose.
- Commands feel delayed: This is usually caused by cloud polling, weak Wi-Fi, or a slow Zigbee mesh rather than Home Assistant itself.
- Things work in the vendor app but not in HA: Re-check credentials, local API permissions, and whether the device is using the correct network path.
- Automations misfire: Open the automation trace in Home Assistant and verify the exact entity IDs and state changes being used.
FAQ
Do all these tools run on a single Raspberry Pi?
Yes — HA OS with all add-ons (Mosquitto, Zigbee2MQTT, ESPHome, Node-RED) runs comfortably on a Raspberry Pi 4 with 4GB RAM. For large setups with cameras and many devices, a mini PC with an SSD is a better long-term investment.
Is HACS (Home Assistant Community Store) in this list?
HACS deserves mention — it's a community-maintained app store for HA that adds hundreds of additional integrations and frontend themes not in the official HA store. It's not included above because it's a meta-tool (it installs other tools), but it's a valuable addition once you're comfortable with HA.
Are these tools compatible with each other?
Yes — this stack is designed to work together. HA orchestrates everything: Zigbee2MQTT publishes to Mosquitto, HA reads from Mosquitto, ESPHome devices talk to HA directly, Node-RED connects to HA via WebSocket. It's a well-integrated ecosystem.
automation:
- alias: "Zigbee motion triggers Wi-Fi light"
trigger:
- platform: state
entity_id: binary_sensor.hallway_motion_occupancy
to: "on"
action:
- service: light.turn_on
target:
entity_id: light.hallway
SmartWired uses affiliate links. If you buy through our links, we may earn a commission at no extra cost to you. See our Affiliate Disclosure.