ESP32 & ESPHome
ESP32 & ESPHome Guides
Section titled “ESP32 & ESPHome Guides”Build your own smart home devices with the ESP32 microcontroller and ESPHome. Cheap, flexible, and fully integrated with Home Assistant.
Why ESP32 + ESPHome?
Section titled “Why ESP32 + ESPHome?”| Advantage | Description |
|---|---|
| Cheap | ESP32 boards cost ~$5-15 |
| Wireless | Built-in WiFi and Bluetooth |
| Easy | ESPHome uses simple YAML config |
| Local | Direct integration with Home Assistant |
| Flexible | Thousands of supported sensors |
🌡️ Sensors
Section titled “🌡️ Sensors”| Guide | Description |
|---|---|
| Temperature Sensor | DHT22/DS18B20 temperature & humidity |
| Motion Sensor | PIR sensor for presence detection |
| LD2410 mmWave | Radar-based presence detection |
💡 Projects
Section titled “💡 Projects”| Guide | Description |
|---|---|
| LED Strip Control | Addressable RGB LED strips |
Getting Started with ESPHome
Section titled “Getting Started with ESPHome”1. Install ESPHome in Home Assistant
Section titled “1. Install ESPHome in Home Assistant”Go to Settings → Add-ons → Add-on Store and install ESPHome.
2. Create your first device
Section titled “2. Create your first device”- Open ESPHome dashboard
- Click + New Device
- Choose your ESP32 board
- Flash via USB the first time
3. Basic configuration
Section titled “3. Basic configuration”esphome: name: my-sensor friendly_name: My Sensor
esp32: board: esp32dev
wifi: ssid: "YourWiFi" password: "YourPassword"
api: encryption: key: "your-api-key"
ota: platform: esphomeRecommended Hardware
Section titled “Recommended Hardware”ESP32 Boards
Section titled “ESP32 Boards”| Board | Price | Notes |
|---|---|---|
| ESP32-WROOM-32 | ~$5 | Standard, reliable |
| ESP32-C3 | ~$4 | Smaller, lower power |
| ESP32-S3 | ~$8 | More GPIO, USB-C |
Useful Sensors
Section titled “Useful Sensors”| Sensor | Use | Price |
|---|---|---|
| DHT22 | Temperature/humidity | ~$3 |
| DS18B20 | Waterproof temperature | ~$2 |
| PIR HC-SR501 | Motion detection | ~$1 |
| LD2410 | mmWave presence | ~$5 |
| BH1750 | Light level | ~$2 |