Skip to content

ESP-32 implementation of Apple Homekit Accessory Protocol(HAP)

License

Notifications You must be signed in to change notification settings

Enoch23/esp32-homekit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-homekit

This project is impemented Apple Homekit Accessory Protocol(HAP) to ESP32.
You can make your own Homekit accessory with ESP32 with this project.

Demo

ESP32 HOMEKIT

Resource

Prerequisite

The esp32-homekit is using esp-idf libraries and build.
Please install ESP-IDF

Download

$ git clone  https://github.com/younghyunjo/esp32-homekit.git
$ cd esp32-homekit
$ git submodule update --init --recursive

Configuration

WiFi

esp32-homekit uses WiFi as tranmission layer.
To connection WiFi, you MUST config WiFi ssid and password.

  1. Open examples/switch/main/main.c
  2. Change EXAMPLE_ESP_WIFI_SSID, and EXAMPLE_ESP_WIFI_PASS
#define EXAMPLE_ESP_WIFI_SSID "unibj"
#define EXAMPLE_ESP_WIFI_SSID "12345678"  

Build

$ cd examples/switch
$ make
$ make flash

Setup Code

While pairing accessory and iOS devices, You must enter Setup Code at HOME App. The default setupt code is

053-58-917

About

ESP-32 implementation of Apple Homekit Accessory Protocol(HAP)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.5%
  • Other 0.5%