--- title: ESPHome created: 2026-06-08 updated: 2026-06-08 type: app tags: [catalogue, home-automation, app-marathon-batch-c] confidence: high contested: false sources: [https://selfh.st/apps/?tag=Home+Automation&app=esphome, https://esphome.io/] --- # 🏠 ESPHome > **CrĂ©ez des firmware ESP8266/ESP32 en YAML** : pas besoin de coder en C++, dĂ©clarez vos capteurs, compilez et flashez OTA. ## 📋 Informations GĂ©nĂ©rales | Champ | Valeur | | :--- | :--- | | **Site web** | [esphome.io](https://esphome.io/) | | **GitHub** | [esphome/esphome](https://github.com/esphome/esphome) | | **License** | MIT | | **Langage** | C++ (firmware) + Python (build tool) | | **Étoiles GitHub** | 9.7k ⭐ | | **CatĂ©gorie** | [[cat-home-automation\|Home Automation]] | ## 📝 Description **ESPHome** transforme vos ESP8266/ESP32 en devices domotiques **sans Ă©crire de C++**. - ✅ **Config YAML** : dĂ©clare sensors, switches, lights, displays... - ✅ **Compilation automatique** : le tool build et flash OTA - ✅ **API native** : intĂ©gration Home Assistant native - ✅ **Fallback HTTP** : interface web de fallback sur l'ESP - ✅ **OTA updates** : mises Ă  jour sans fil - ✅ **MQTT** : alternative Ă  l'API native - ✅ **200+ composants** : DHT, BME280, BMP280, Dallas, PWM, NeoPixel... - ✅ **Dashboard web** : visualiser/Ă©diter configs (en add-on HASS) - ✅ **Bluetooth Proxy** : ESP32 = pont BLE pour HASS - ✅ **Logger intĂ©grĂ©** : logs temps rĂ©el sĂ©rie/web **DiffĂ©rence vs Tasmota** : ESPHome = YAML moderne, intĂ©gration HASS native, plus actif. Tasmota = firmware prĂ©-compilĂ©, web UI, plus mature. Pour qui: makers qui veulent **un firmware sur-mesure** avec intĂ©gration domotique fluide. ## 🚀 Installation ### Option 1 : Add-on Home Assistant (recommandĂ©) ```yaml # /config/esphome/.yaml esphome: name: salon-capteur platform: ESP32 board: esp32dev wifi: ssid: "MonWiFi" password: "motdepasse" captive_portal: api: password: "api-password" ota: password: "ota-password" logger: sensor: - platform: dht pin: GPIO4 temperature: name: "Salon Temperature" humidity: name: "Salon Humidity" update_interval: 60s ``` ### Option 2 : Docker Compose (CLI) ```yaml version: '3.8' services: esphome: image: esphome/esphome:latest container_name: esphome restart: unless-stopped network_mode: host volumes: - esphome_config:/config devices: - /dev/ttyUSB0:/dev/ttyUSB0 # pour flasher labels: - "traefik.enable=true" - "traefik.http.routers.esphome.rule=Host(`esphome.example.com`)" - "traefik.http.routers.esphome.entrypoints=websecure" - "traefik.http.routers.esphome.tls.certresolver=letsencrypt" volumes: esphome_config: ``` ## 🔄 Alternatives ### Open Source - **Tasmota** — Firmware prĂ©-compilĂ© mature, web UI - **ESPurna** — Firmware alternatif ESP - **WLED** — SpĂ©cialisĂ© LED strips - **Arduino/PlatformIO** — Low-level si besoin de C++ - [[app-tasmoadmin]] — GUI web pour gĂ©rer parc Tasmota ### PropriĂ©taires - **Tuya cloud** — Devices bon marchĂ©, dĂ©pendance cloud - **Sonoff** (cloud eWeLink) — Devices flashables Tasmota - **Shelly** — Devices avec firmware custom - **TP-Link Kasa** — Cloud, peu de customisation ## 🔐 SĂ©curitĂ© - **Password API** : obligatoire (sinon Ă©coute rĂ©seau local) - **OTA password** : changer le dĂ©faut - **Wifi credentials** : stockĂ©es en clair dans le binaire (attention divulgation) - **Fallback HTTP** : activer en local uniquement - **Logs** : ne pas exposer publiquement ## 📚 Ressources - [Documentation officielle](https://esphome.io/) - [Composants](https://esphome.io/components/) - [Forum communautĂ©](https://community.home-assistant.io/c/esphome/) ## Pages LiĂ©es - [[cat-home-automation]] — CatĂ©gorie Home Automation - [[app-home-assistant]] — IntĂ©gration native - [[app-tasmoadmin]] — Alternative Tasmota - [[recettes-docker-compose]] — Templates Docker - [[esphome-vs-tasmota]] — Comparaison firmware