• Stars
    star
    213
  • Rank 184,705 (Top 4 %)
  • Language
    C
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 3 years ago

Reviews

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

Repository Details

[Deprecated] Native Apple HomeKit accessory implementation for the ESP32 Arduino core.

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, and works without any additional bridges.

This library is the ESP32 version of 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.

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 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" on the page.
  2. Extract the contents of the downloaded zip file.
  3. Rename the extracted folder to "Arduino-HomeKit-ESP32".
  4. Move this folder to your libraries directory. (under windows: C:\Users\<USERNAME>\Documents\Arduino\libraries\)
  5. Restart your Arduino IDE.
  6. Check out the examples.

More Repositories

1

Arduino-HomeKit-ESP8266

Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
C
1,485
star
2

Weather

A beautiful weather app: DynamicBackground (clear, rainy, foggy, etc), AqiView, DailyForecastView, HourlyForecastView and more. 一款精致的天气APP,动态天气背景(10*2种天气效果,每种区分白天和夜间)、一周天气曲线图、24H曲线图、空气质量/风速/日出日落图等。
Java
456
star
3

ESP8266-IR-HOMEKIT

原生HomeKit红外空调遥控
342
star
4

SmoothCompoundButton

Android CompoundButtons (Switch, CheckBox, RadioButton) in Material Design, works on Android 4.0+(SDK 14). SmoothCompoundButton 是全套Material风格的Switch、CheckBox和RadioButton组件,纯Java代码(非贴图)像素级复刻了Material动画与阴影效果,支持Android 4.0+。基本实现了在不同Android版本上与Material风格一致的效果,体验优于官方AppCompat,可能是目前最好的Material风格CompoundButton组件之一。
Java
144
star
5

OverScroll-Everywhere

Add the over-scroll feature to any scrollable view: RecyclerView, ScrollView, WebView, ListView, GridView, etc. Support both fling and drag over-scroll,and easy to customize the over-scroll style. 为任意可滑动的View定制越界效果(over-scroll),同时支持滑动惯性越界与拖动越界,方便地定制与扩展不同的越界风格。实现iOS弹性越界效果、微信“网页由xxx.com提供”的WebView效果、MIUI8的越界拉伸放大效果。
Java
111
star
6

FastScroll-Everywhere

Add the fast-scroll feature to any scrollable view: RecyclerView, ScrollView, WebView, ListView, GridView, etc. 为任意可滑动的View添加快速滑动,是的,任意。
Java
84
star
7

9GAG

9GAG-Android (unofficial), Android Design.
Java
71
star
8

Arduino-HomeKit-ESP

Arduino library version of espressif's official esp-homekit-sdk.
C
55
star
9

SplitLayout

Android SplitLayout, which splits the available space between two child views by dragging the center handle. 安卓分栏布局,包含2个子View,支持横向或纵向分栏,可通过拖动中间的handle来动态分割两个子View所占空间。
Java
35
star
10

NotificationTextColorCompat

Fetch the default system notification text color (ContentTitleColor and ContentTextColor) for your custom RemoteViews. 获取系统默认的通知文字颜色(标题和内容文字颜色),适配自定义通知的RemoteViews中的文字。已测试兼容各种国产ROM。
Java
21
star
11

StatusBarColorCompat

Change the StatusBarColor dynamically, works on Android 4.4+. 简单优雅地动态改变状态栏颜色,支持安卓4.4+。
Java
18
star
12

ESP32-HOMEKIT-GATEWAY

ESP32-HOMEKIT-GATEWAY
8
star
13

mixiaoxiao.github.io

CSS
4
star
14

DataStateContainer

DataStateContainer是一个专为处理数据刷新/加载逻辑业务(如微博信息流)而生的ViewGroup。
Java
3
star
15

ActionMenu

A lite library to show an action-menubar like the menus(copy, select all, paste) for UILabel in iOS.
Java
3
star
16

PathScroller

A Scroller that can compute the "value - time" by a Path. 一个依据Path来映射“数值-时间”关系的Scroller,可轻松实现速率变化复杂的Scroll效果。
Java
2
star
17

ZoneAssistiveTouch_TranslationProject

ZoneAssistiveTouch TranslationProject
2
star