Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mixiaoxiao/arduino-homekit-esp32
[Deprecated] Native Apple HomeKit accessory implementation for the ESP32 Arduino core.
https://github.com/mixiaoxiao/arduino-homekit-esp32
esp32 homekit homekit-adk
Last synced: 5 days ago
JSON representation
[Deprecated] Native Apple HomeKit accessory implementation for the ESP32 Arduino core.
- Host: GitHub
- URL: https://github.com/mixiaoxiao/arduino-homekit-esp32
- Owner: Mixiaoxiao
- License: mit
- Created: 2020-06-20T10:49:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T05:57:50.000Z (over 3 years ago)
- Last Synced: 2024-12-26T14:08:56.109Z (12 days ago)
- Topics: esp32, homekit, homekit-adk
- Language: C
- Size: 2.11 MB
- Stars: 228
- Watchers: 15
- Forks: 59
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino-HomeKit-ESP32
**[Deprecated]** Native Apple HomeKit accessory implementation for the ESP32 Arduino core.This Arduino library is a native Apple HomeKit accessory implementation for the [ESP32 Arduino core](https://github.com/espressif/arduino-esp32), and works without any additional bridges.
This library is the ESP32 version of [Arduino-HomeKit-ESP8266](https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266), and **will no longer be maintained**, since Espressif has published the official HomeKit library for ESP32, available on Espressif's GitHub repository [esp-apple-homekit-adk](https://github.com/espressif/esp-apple-homekit-adk).
## Notes
* This is a "only-can-work" version for ESP32, remains something to be optimized.
* The `WolfSSL` used for ESP32 is based on `4.3.0-stable` version with **Hardware Acceleration Support** (enabled by default).
* The HomeKit running on ESP32 has a **GREAT PERFORMANCE** which Pair-Setup can be done in ~1.2s and Pair-Verify in < 0.1s (10x faster than ESP8266).
* The HomeKit storage on ESP32 is based on `nvs`.
## Performance WITH Hardware Acceleration on ESP32
* Preinit: ~0.53s
* Pair Setup Step 1/3: ~0s (The heavy crypto computation is done in Preinit)
* Pair Setup Step 2/3: ~0.53s
* Pair Setup Step 3/3: ~0.20s
* Pair Verify Step 1/2: ~0.05s
* Pair Verify Step 2/2: ~0.02s## Performance WITHOUT Hardware Acceleration on ESP32
* Preinit: ~2.2s
* Pair Setup Step 1/3: ~0s (The heavy crypto computation is done in Preinit)
* Pair Setup Step 2/3: ~2.5s
* Pair Setup Step 3/3: ~0.1s
* Pair Verify Step 1/2: ~0.06s
* Pair Verify Step 2/2: ~0.03s## Setup code of the example sketch
``111-11-111``
## Manual Installation
Refer to the official guide: [Manual installation](https://www.arduino.cc/en/guide/libraries#toc5)
Note: this library will not publish the release version for Arduino IDE.#### Manual Installation for Windows
1. Click on _"Clone or Download"_ button, then click _"[Download ZIP](https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP32/archive/master.zip)"_ on the page.
1. Extract the contents of the downloaded zip file.
1. Rename the extracted folder to _"Arduino-HomeKit-ESP32"_.
1. Move this folder to your libraries directory. (under windows: `C:\Users\\Documents\Arduino\libraries\`)
1. Restart your Arduino IDE.
1. Check out the examples.