ESPHome: Firmware for ESP32 Boards

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.

Pros and cons

Pros

  • Firmware built from a YAML file1
  • Wireless updates (USB for the first flash)2
  • Local control on your own network3
  • Standalone Device Builder4

Cons

  • Compiling can take minutes on a Pi5
  • API encryption off by default, so LAN clients can control devices6

ESPHome requirements

The key facts for ESPHome.

Requirement
ESPHome
PriceFree
LicenceMIT / GPL-3.0
Web UIYes
Docker Containers1 (app only)
Architecturex86 + ARM
Tech stackPython
DockerYes
Linux packageYes
WindowsYes
macOSYes
Home AssistantYes

Common questions

Similar apps to ESPHome

Zigbee2MQTT

Connect Philips Hue, IKEA, Xiaomi, and more than 5,000 Zigbee devices to Home Assistant without a proprietary hub.

Free

Home Assistant

Connect, automate and monitor smart home devices privately on your own hardware with this FOSS platform.

Free + PaidOur pick

evcc

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.

Free + Paid

Homey Server

Run Homey's smart home platform on your own server and manage it with the official mobile app.

Paid

Mosquitto

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.

Free

Cronicle

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.

Free

Tags

Updated