MirrorNest
← Todas las guías

ESPHome

ESPHome lets you create and flash custom firmware for ESP8266/ESP32 and similar microcontrollers using simple YAML configuration files, usable either as a Home Assistant add-on or standalone via Docker.

Sistema: Any Docker host (or Home Assistant OS/Container)Home AutomationIoTSitio oficial ↗Documentación oficial ↗
Esta guía se elaboró a partir de la documentación oficial de ESPHome, enlazada arriba — verifica siempre ahí los nombres exactos de paquetes/versiones antes de ejecutar estos comandos en un servidor de producción, ya que las versiones de la distribución y del proyecto cambian con el tiempo.
  1. 1Home Assistant add-on method

    In Home Assistant, go to Settings, then the Add-on Store, search for ESPHome and click Install, then Start, then Open Web UI.

  2. 2Standalone Docker method (alternative)

    docker run --rm --net=host -v "${PWD}":/config -it ghcr.io/esphome/esphome

    --net=host enables mDNS device discovery on Linux; Docker Desktop users should use -p 6052:6052 instead. Dashboard runs at http://localhost:6052.

  3. 3Create a device configuration

    Use the dashboard's New Device wizard, or write a YAML file by hand, to define your board and the sensors/components it exposes.

  4. 4Compile and flash

    Use the dashboard's Install button (or the esphome CLI) to build firmware and flash it to the device over USB or OTA.