-
Notifications
You must be signed in to change notification settings - Fork 8
ESPHome
*** THIS CONTENT IS DRAFT ***
This Wiki documents my implementation of ESPHome and how my devices are configured.
- Install guide
- Flashing
- Common config
- Custom components
- Hardware
- Devices
- Templates
- Knowledge Articles
- Community
ESP compute modules are a key part to my tinkering projects and wherever I can I use ESPHome to manage and integrate them with Home Assistant.
I install ESPHome on my main workstation which I use for flashing.
I run ESPHome in a Docker container on my Synology NAS.
-
Download the Docker image down from the Registry or use
cli
.docker pull esphome/esphome:latest``` or ```docker pull esphome/esphome:dev
-
Create a new container.
esphome: container_name: docker-esphome net: "host" restart: always user: 0:0 environment: - HOME = "/" image: esphome/esphome:dev ports: - 0.0.0.0:6052:6052 - 0.0.0.0:6123:6123 volumes: - /volume1/docker/esphome-config:/config:rw command: config/ dashboard
-
Create the container using docker-compose
docker-compose -f docker-compose.yaml up -d
command. -
ESPHome should be available via the host server at port
6052
.
- Instructions about how I flash
- USB serial tool or a good quality micro USB lead
- esptool.py
- Create config through the dashboard, compile, download the binary and flash
- Best practice - always start by using secrets, use substitutes to help you create common templates and flash quicker
- Tools - ESPEasy Flasher; ESP Eash Flasher
My Github repo and how I manage my config
Yaml includes managing standards. + substitutions Naming etc.
Call out custom work done.
I have a number of different ESP modules which I have captured in the table below and an associated issue where I capture flashing instructions and any board-specific information.
Module | Template | Flashing |
---|---|---|
D1 Mini | ||
ESP32 | ||
ESP32Cam | #49 | |
Sonoff POWR2 | ||
ESP8266 |
Summary of my devices.
Device | Board | Integration |
---|---|---|
Upstairs (ESP32) | Xiaomi LYWSD02 |
Quick start YAML for the boards
- Renaming a device.
- Secrets
- Sliding window average
Links to other repos. Discord. Twitter etc.
Warning! You are not connected to the Internet. https://github.com/esphome/issues/issues/999
https://esphome.io/guides/automations.html#automation great for tips on integrating home assistant entities in ESPHome