A simple example of how to control an air conditioner using an esp32.
Find a file
2026-06-28 21:55:31 +02:00
.gitignore initial commit 2026-06-28 19:08:25 +02:00
air-conditioner.yaml update docs and yaml 2026-06-28 21:55:31 +02:00
README.md update docs and yaml 2026-06-28 21:55:31 +02:00

Air Conditioner controller for esp32

Build and upload

Create a secrets.yaml file like:

ota_password: ""
api_encryption_key: ""
wifi_ssid: ""
wifi_password: ""
wifi_ap_password: ""

Then connect the ESP32 and then run:

docker pull ghcr.io/esphome/esphome
docker run --rm -v "${PWD}":/config -it ghcr.io/esphome/esphome compile air-conditioner.yaml
docker run --rm -v "${PWD}":/config -it ghcr.io/esphome/esphome upload air-conditioner.yaml