A simple example of how to control an air conditioner using an esp32.
| .gitignore | ||
| air-conditioner.yaml | ||
| README.md | ||
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