Based on maximkulkin/esp-homekit-demo. It's a fully customized project, works with specified devices.
- Door with an angle sensor
- Casement window with an angle sensor and a rain sensor
- Lock with an electronic doorbell
- Sliding window with a distance sensor
-
Initialize and sync all submodules recursively:
git submodule update --init --recursive
-
Copy
wifi.h.sample
→wifi.h
and edit it with correct WiFi SSID and password. -
Install esp-idf.
-
Configure project:
Check "Serial flasher config → Default serial port"
make menuconfig
-
Build, flash and monitor:
make erase_flash && make all && make flash