This project is impemented Apple Homekit Accessory Protocol(HAP) to ESP32.
You can make your own Homekit accessory with ESP32 with this project.
The esp32-homekit
is using esp-idf libraries and build.
Please install ESP-IDF
- ESP-IDF Setup Guide
$ git clone https://github.com/younghyunjo/esp32-homekit.git
$ cd esp32-homekit
$ git submodule update --init --recursive
esp32-homekit uses WiFi as tranmission layer.
To connection WiFi, you MUST config WiFi ssid and password.
- Open examples/switch/main/main.c
- Change EXAMPLE_ESP_WIFI_SSID, and EXAMPLE_ESP_WIFI_PASS
#define EXAMPLE_ESP_WIFI_SSID "unibj"
#define EXAMPLE_ESP_WIFI_SSID "12345678"
$ cd examples/switch
$ make
$ make flash
While pairing accessory and iOS devices, You must enter Setup Code at HOME App. The default setupt code is