Do I need Mosquitto for Home Assistant?
No. Home Assistant runs without it, but its MQTT integration needs a broker to reach MQTT devices. A broker such as Mosquitto does that job for Tasmota devices, Zigbee2MQTT and ESPHome boards.
Run Mosquitto as the MQTT broker for your home network, and the devices on it get one place to publish sensor readings, switch states and commands, with Home Assistant or a script listening on the other end. It speaks MQTT 5.0 and 3.1.1, adds TLS and per-topic access control once you configure them, and keeps retained messages, which survive a restart with persistence on. It is one lightweight daemon with one text config file, released under the EPL-2.0 or EDL-1.0 licence.
The key facts for Mosquitto.
| Requirement | Mosquitto |
|---|---|
| Price | Free |
| Licence | Custom |
| Web UI | No |
| Docker Containers | 1 (app only) |
| Architecture | x86 + ARM |
| Tech stack | C |
| Docker | Yes |
| Linux package | Yes |
| Windows | Yes |
| macOS | Yes |
No. Home Assistant runs without it, but its MQTT integration needs a broker to reach MQTT devices. A broker such as Mosquitto does that job for Tasmota devices, Zigbee2MQTT and ESPHome boards.
No. Without a listener in the config, it accepts connections only from the machine it runs on, so add a listener plus authentication and access control before other devices can use it.
Only what you ask it to keep. With persistence turned on it writes its database to disk, so retained messages and subscriptions survive a restart. With persistence off, it holds that data in memory only.
Connect Philips Hue, IKEA, Xiaomi, and more than 5,000 Zigbee devices to Home Assistant without a proprietary hub.
ESPHome builds firmware from a YAML file that describes the sensors and switches wired to a board. It supports ESP32 and ESP8266 boards, plus RP2040 and BK72xx. The Device Builder runs in Docker, as a Home Assistant app or as a desktop app. The first flash goes over USB; later updates and configuration changes can go over the air.
evcc reads your inverter, meter, home battery and charger, then sets the power going to the car so it runs on surplus solar, the cheapest tariff hours or a charging plan you wrote. The charging controller ships as a binary or a container with a web UI, an MQTT and REST API, and official iOS and Android apps.
Connect, automate and monitor smart home devices privately on your own hardware with this FOSS platform.
Run Homey's smart home platform on your own server and manage it with the official mobile app.
Cronicle runs the shell commands and scripts you would put in cron, and puts the schedule, live log and run history on a web page. Jobs can be retried or chained into sequences. You can cap a job on CPU and memory, and spread work over several machines with failover.