• Stars
    star
    445
  • Rank 98,085 (Top 2 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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