Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

ESPHome

Turns a YAML file into firmware for ESP32, ESP8266 and RP2040 boards that appear in Home Assistant on their own.

Reviewed by ReviewRamble editors · Updated

View on GitHub Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

4.6/5

DIY smart-home firmware from a page of YAML, with update and API security you have to switch on yourself.

What is ESPHome?

ESPHome builds firmware for small microcontroller boards from a configuration file. You describe the board, its Wi-Fi details and the sensors, relays or lights wired to it in YAML, or pick options in the visual Device Builder, and ESPHome compiles and flashes the result. The first install goes over USB; later updates go over the air.

Supported chips are the ESP32 family, ESP8266, RP2040 and RP2350, plus BK72xx, RTL87xx, nRF52 and LN882 chips found in many shop-bought smart plugs and bulbs, and a host target for testing components on a computer. Devices show up in Home Assistant automatically over the local network and talk to it through a native API on port 6053.

ESPHome is an Open Home Foundation project. The C++ runtime is GPL-3.0 and the Python tooling MIT. Since 2026.10 the Device Builder has an optional MCP endpoint at /api/mcp that lets an AI agent read, edit, compile and install configs; ESPHome itself never calls an AI model. Our separate review of the community ESPHome MCP server covers that side.

Is ESPHome worth it?

ESPHome lets you build a sensor or switch that would otherwise mean a weekend of Arduino code, from a page of YAML. The repository has 12,226 GitHub stars, version 2026.11.2 shipped on 2 December 2026, and 48 stable releases have landed in the past year, roughly one a week. Every device works with Home Assistant locally, with no cloud account.

The chip list is what makes it more than a hobby tool. Besides the ESP32 and ESP8266 boards it began with, it targets RP2040 and RP2350 and the BK72xx, RTL87xx and LN882 chips inside many cheap smart plugs, so a plug that ships tied to a vendor app can often be reflashed to run locally. The 2026.10 release added browser flashing for every supported chip family, compressed over-the-air updates that send about a third fewer bytes, and 20 new components, including Wi-Fi CSI motion sensing.

Security is mostly opt-in. API encryption with a 32-byte key is optional in the docs, and outgoing API connections refuse to work without it. Over-the-air updates are worse by default: with no OTA password or encryption set, the docs say anyone who can reach the device can upload firmware to it, on port 3232 for ESP32 or 8266 for ESP8266. GitHub lists 7 security advisories, including a 2024 remote code execution through arbitrary file write in the dashboard, a 2025 basic-auth bypass in the ESP-IDF web server, and a captive-portal XSS in July 2026.

The catch: a bad config flashed over the air can leave a board offline. The docs warn that interrupted partition-table or bootloader updates risk bricking a device until it is reflashed over serial, and a lost encryption key also means a USB cable. By default a device with the API enabled reboots after 15 minutes without an authenticated client, which matters if you run it without Home Assistant.

Our take: for anyone running Home Assistant, ESPHome is the obvious way to put homemade sensors and reflashed plugs on the network, provided every device gets an API key and OTA encryption on day one. The new MCP endpoint means an AI agent can now write and flash that YAML, which is a reason to keep a human approving each install.

Where it earns its place

  • A homeowner with Home Assistant on a Raspberry Pi

    Add temperature and humidity sensors to every room cheaply

    One ESP32 board and sensor per room, each described in a short YAML file, flashed once over USB and updated over the air after that. Each device appears in Home Assistant with no cloud account, and an API key and OTA encryption stop neighbours on the Wi-Fi from tampering.

  • A renter with a drawer of app-locked smart plugs

    Control the plugs locally instead of through a vendor cloud

    Plugs built on BK72xx or RTL87xx chips can often be reflashed with ESPHome, then switched from Home Assistant on the local network. A failed flash can need opening the plug for serial access, so try one first.

  • A maker who already drives Home Assistant from an AI assistant

    Have the agent draft and validate a new device config

    On ESPHome 2026.10 or later, an MCP client connects to the Device Builder's /api/mcp endpoint, which can add components, validate and compile. The install step flashes real hardware, so it stays one the maker approves.

Before you commit

Setup
Install the Device Builder as a Home Assistant app or the ESPHome desktop app for Windows, macOS or Linux, create a device with the wizard, add Wi-Fi details, and do the first install over USB; later updates go over the air.
Integrations
Home Assistant through the native API on port 6053; MQTT and a built-in web server for other systems; an MCP endpoint at /api/mcp in the Device Builder since 2026.10; ready-made projects for Bluetooth proxies, voice assistants and media players.
Data and privacy
Devices talk to Home Assistant or your MQTT broker on the local network, with no ESPHome cloud. API encryption and OTA encryption are optional, and without OTA protection anyone who can reach a device can flash it.
Cost at scale
No licence fee. Costs are the boards, sensors and enclosures, and a computer or Home Assistant host to compile firmware.
Limits
The first flash needs USB. Interrupted bootloader or partition updates can brick a board until a serial reflash. ESP8266 modules need a reset after a serial upload before OTA works, and 625 issues and pull requests were open on 2 December 2026.

What’s good

  • Firmware from YAML or visual choices, no C++ required
  • Devices appear in Home Assistant automatically and run locally
  • Supports ESP32, ESP8266, RP2040 and chips in common smart plugs
  • Weekly releases and an optional built-in MCP endpoint

What’s not

  • OTA updates are open to anyone on the network unless you set encryption
  • API encryption is optional rather than enforced
  • A bad flash or interrupted bootloader update can need a USB recovery
  • Fast release pace means frequent config changes to track

Best for

Home Assistant users who want custom sensors, relays and reflashed smart plugs that run locally without writing firmware by hand.

ESPHome: common questions

Is ESPHome worth it?
DIY smart-home firmware from a page of YAML, with update and API security you have to switch on yourself. We rate it 4.6 out of 5.
How much does ESPHome cost?
Free and open source: GPL-3.0 for the C++ runtime, MIT for the Python tooling. You supply the boards and parts.
What are the downsides of ESPHome?
OTA updates are open to anyone on the network unless you set encryption; aPI encryption is optional rather than enforced; a bad flash or interrupted bootloader update can need a USB recovery; fast release pace means frequent config changes to track.
Who is ESPHome best for?
Home Assistant users who want custom sensors, relays and reflashed smart plugs that run locally without writing firmware by hand.
How much does ESPHome cost for a team or in production?
No licence fee. Costs are the boards, sensors and enclosures, and a computer or Home Assistant host to compile firmware.
Is ESPHome safe for company data?
Devices talk to Home Assistant or your MQTT broker on the local network, with no ESPHome cloud. API encryption and OTA encryption are optional, and without OTA protection anyone who can reach a device can flash it.

Answers checked Dec 2, 2026.

Make ESPHome? Show this rating on your siteESPHome rated 4.6 out of 5 on ReviewRamble