Self-host ESPHome
2026.10.2Build custom smart home device firmware from YAML
docker run --rm --net=host -v "${PWD}":/config -it ghcr.io/esphome/esphome- Stars
- 12 069
- Rating
- 5.0 (1)
- Port
- 6052 (ESPHome Device Builder dashboard web UI)
ghcr.io/esphome/esphomeWhat is ESPHome?
ESPHome is an open-source toolchain for building firmware for small Wi-Fi and Bluetooth microcontrollers, aimed at home-automation makers who want their own sensors, switches and displays instead of cloud-locked products. You describe a device in a YAML file, or visually through the Device Builder wizard, and ESPHome generates, compiles and installs the firmware — over USB, straight from the browser, or over the air once a node is online. Finished devices talk to Home Assistant through its native API, to an MQTT broker, or to any other controller over your local network, with no cloud service in the path. A large library of interchangeable components covers sensors, displays, lights, climate, media players, voice assistants and Bluetooth proxies, and configurations support secrets files plus include directives. You run the tooling yourself: an official container image for AMD64, ARM and ARM64, a pip-installable command-line tool with a separate web dashboard on port 6052, desktop apps for Windows, macOS and Linux, or the app inside Home Assistant. Releases follow a calendar scheme with stable, beta and daily dev channels; host networking matters in Docker because device discovery relies on mDNS.
ESPHome alternatives
Home AssistantSelf-hosted open-source home automation platform with 1500+ integrations, powerful automations, customizable dashboards, and a built-in voice assistant.CompareHome Assistant with ESPHome
tasmocompilerOpen-source, self-hosted web GUI that compiles custom Tasmota firmware for ESP8266 and ESP32 boards, packaged as a one-command Docker container.Comparetasmocompiler with ESPHome
Zigbee2MQTTOpen-source, self-hosted Zigbee-to-MQTT bridge that replaces proprietary vendor hubs, controlling thousands of devices via one USB coordinator and any MQTT broker.CompareZigbee2MQTT with ESPHome
esp8266_milight_hubOpen-source firmware for ESP8266/ESP32 replacing Milight/LimitlessLED gateways with web UI, MQTT, REST API, and UDP gateway for smart bulb control.Compareesp8266_milight_hub with ESPHome
diyHueSelf-hosted, open-source Philips Hue Bridge emulator controlling 50+ light types via Hue app and Home Assistant.ComparediyHue with ESPHome
ESPConnectOpen-source, self-hosted browser tool for ESP32 and ESP8266 boards: read chip info, map partitions, manage SPIFFS/LittleFS/FAT files, back up and flash firmware.CompareESPConnect with ESPHome
ESP-KVMOpen-source IP-KVM firmware for ESP32-P4 boards capturing HDMI video and presenting USB keyboard/mouse to any target, accessible via browser console.CompareESP-KVM with ESPHome
broadlink-mqttSelf-hosted open-source MQTT client that bridges BroadLink smart home devices (RM, SP, A1, MP1, Dooya, BG1) to an MQTT broker for home automation integration.Comparebroadlink-mqtt with ESPHome
Should you self-host ESPHome?
ESPHome scores 78/100 on selfhost.directory (how scoring works) and ranks #4 of 104 in Home Automation. It has 12 069 GitHub stars, +291 in the last 30 days.
It shipped 49 stable releases in the past year. The latest, 2026.11.0b2, came out on 6 November 2026. New versions land roughly every 2 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in C++.
Its closest alternative on selfhost.directory is Home Assistant (92/100, 92 053 stars). It scores higher overall, so compare the two before you pick. See ESPHome vs Home Assistant side by side.
Features
- Bluetooth proxy
- Browser-based device installation
- Command Line Interface
- Desktop App
- Home Assistant native API
- Local control without cloud
- Modular component library
- MQTT client support
- Multi-microcontroller support
- Over-the-air firmware updates
- Secrets and config includes
- Visual device builder
- Voice assistant support
- Web Dashboard
- YAML device configuration
ESPHome README
FAQ
How do I secure my ESPHome devices?
Follow the project's Security Best Practices guide, which covers API encryption, OTA passwords, network segmentation and physical security.
I have a question… How can I contact you?
Use Discord, the Home Assistant community forums, the ESPHome issue and feature request trackers, or e-mail for matters that are not support requests.
Does ESPHome support [this device/feature]?
Anything not listed in the components index is not officially supported; community External Components exist but are unsupported, and new requests go to the feature request tracker.
How do I use my Home Assistant secrets.yaml file?
Create a secrets.yaml inside your ESPHome config directory containing <<: !include ../secrets.yaml, which pulls in the Home Assistant secrets file from the parent directory.
How do I use the latest bleeding-edge version?
The bleeding-edge dev build is available as a pip archive install, the dev container tag, or the dev app, but the project warns it is not always stable and generally not supported.
How do I update to the latest beta release?
Install the beta-labelled app in Home Assistant, use pip3 install --pre -U esphome, or run the container with the beta tag.
How do I update to the latest version?
Home Assistant shows an update notification for the app; for a pip install run pip3 install -U esphome, and for Docker pull the stable image tag again.
More in Home Automation
ESP-KVMOpen-source IP-KVM firmware for ESP32-P4 boards capturing HDMI video and presenting USB keyboard/mouse to any target, accessible via browser console.
Eufy SecurityHome Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
evccSelf-hosted, open-source EV charge controller: steer wallboxes, home batteries and heat pumps around your solar surplus, with dynamic tariffs, plans and a web UI.
FenrusFenrus is a self-hosted, open-source personal home page and dashboard for quick access to your apps and sites with customizable groups and smart integrations.- FHEMFHEM is a GPL-licensed Perl server for home automation, enabling users to automate tasks like switching lamps, shutters, and heating, as well as logging events such as temperature and humidity.
FlexTVFlexTV is a self-hosted open-source bridge between Plex Media Server and Google Assistant, Alexa, and Chromecast for voice control.
FluiddOpen-source, self-hosted Klipper web UI for 3D printers: customizable dashboards, dark themes, G-code viewer, webcams, print history; runs via Docker or KIAUH.
FrigateFrigate NVR is a self-hosted, open-source NVR with real-time local AI object detection for IP cameras, featuring Home Assistant integration and AI accelerator support.
frigate-event-bufferFrigate Event Buffer is a self-hosted, open-source companion for Frigate NVR that creates cinematic highlight reels and sends tiered notifications to Home Assistant.
frigate_plate_recognizerSelf-hosted Docker service that identifies license plates from Frigate events using Plate Recognizer or CodeProject.AI and publishes results via MQTT.
FruitNannySelf-hosted Raspberry Pi baby monitor streaming live video/audio via WebRTC to browsers, with temperature/humidity sensing and IR night vision.
fuglerammeSelf-hosted bird detection frame using BirdNET-Go for real-time audio ID and hand-cut 1800s illustrations on e-ink, TVs, or any screen.

0 comments