10 ESP32 smart-home projects with ESPHome and Home Assistant
From DHT22 rooms sensors to mmWave presence, relays, CO₂ and e-paper displays—ESP32 + ESPHome ideas by difficulty.
AI-generated illustration
From DHT22 rooms sensors to mmWave presence, relays, CO₂ and e-paper displays—ESP32 + ESPHome ideas by difficulty.
Also available in French.
ESP32 + ESPHome turns a cheap Wi-Fi microcontroller into sensors, relays and displays that Home Assistant discovers natively. Ten starter projects by skill level—verify part prices at order time.
Dev board: classic ESP32 or ESP32-C6—which board · Amazon UK search · Amazon US.
ESP32 + DHT22 per room. Full walkthrough: ESPHome temperature sensor.
GPIO button fires a Home Assistant event—alarm, notify, “all off” scene.
binary_sensor:
- platform: gpio
pin: GPIO4
name: "Panic button"
on_press:
- homeassistant.event:
event: panic_button
RGB strip shows house state—green OK, red window open, blue away.
BME280 (temp, humidity, pressure) + optional BH1750 light—automate blinds from lux.
Drive fan, pump or gate logic—not mains unless you know electrical code; prefer certified in-wall relays for 230 V / 120 V loads.
Off-the-shelf Wi-Fi relay alternative: Shelly 1 Gen4 (local integration in HA).
Detects still occupants—better than PIR for desks and beds.
2.9″ e-paper shows temp and forecast without a bright always-on LCD.
Alert and boost ventilation above ~1000 ppm. Pi + SCD41 MQTT path: Raspberry Pi CO₂.
Wake word and commands without Google/Alexa cloud—requires HA voice pipeline setup.
Hall sensor on utility meter impulses—track water or (where legal) electricity pulses.
| ESP32 + ESPHome | Zigbee | |
|---|---|---|
| Pros | Any I2C/GPIO sensor, often cheaper parts | Battery, no USB cable |
| Cons | Needs 5 V USB (usually) | Needs coordinator |
Docs: esphome.io · Community: Home Assistant forum.
Related: garage door on ESP32 · Install Home Assistant.
Torn between two models or stuck on a build? Drop us a line and we will get back to you by email.