Releases: sakisdog/esp-homekit-demo
Releases · sakisdog/esp-homekit-demo
Thermostat example for ESP-WROOM-02
This is an example for the thermostat homekit accessory. It was built to work with an ESP-WROOM-02 board with an onboard OLED display and a 18650 battery holder, but you can use it with any ESP8266 board with 4 or more GPIOs.
The wiring for the GPIO is:
GPIO 12 - Button up
GPIO 13 - Button down
GPIO 14 - Reset settings button
GPIO 15 - Relay Switch
GPIO 5 - SDA (for the OLED)
GPIO 4 - SCL (for the OLED)
- Download rboot.bin and blank_config.bin from esp-open-rtos repository.
- Download the thermostat.bin.
- Erase flash with
esptool.py -p /dev/<your_ESPPort> erase_flash
- Flash the firmware with
esptool.py -p /dev/<your_ESPPort> --baud 115200 write_flash -fs 4MB -fm dout -ff 40m \ 0x0 rboot.bin 0x1000 blank_config.bin 0x2000 thermostat.bin