# HomeSpan/HomeSpan

HomeKit Library for the Arduino-ESP32

Repository: https://github.com/HomeSpan/HomeSpan
Canonical: https://ross.abutalabs.com/products/homespan
Language: C++
License: MIT
License Family: permissive
Topics: arduino-library, esp32, homekit, home-automation, homekit-server, arduino-ide, homespan
Last push: 2026-08-24T02:56:55+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 69, longevity 100
- inputs: {"age_days": 2236, "days_push": 9, "days_rel": 129, "gap_med": 55.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2151, forks 200 (observed 2026-08-28T04:06:19.341754+00:00)

## What it is
HomeSpan is an Arduino library for building custom Apple HomeKit accessories on ESP32 microcontrollers, implementing the HAP-R2 protocol directly without external bridges. It lets developers control devices via the Apple Home app or Siri over WiFi.

## Use cases
- build a custom HomeKit light switch with ESP32
- control DIY hardware from Siri
- create HomeKit temperature sensor on ESP32
- implement HAP-R2 accessory in Arduino IDE
- add OTA-updatable HomeKit device to Apple Home

## When to choose
- you want native HomeKit accessories without a bridge
- you develop in the Arduino IDE on ESP32-family chips
- you need full HAP-R2 compliance with OTA support

## When to avoid
- you use ESP8266 or non-ESP32 hardware
- you don't have a HomeKit hub (HomePod or Apple TV)
- you need HomeKit support outside the Arduino ecosystem

## Facets
- artifact type: library
- maturity: active
- function: sdk, embedded, security, networking
- domain: iot, embedded-systems
- platform: cpp, embedded, iot
- tags: homekit, esp32, arduino, hap-r2, siri, apple-home, smart-home-devices, automation

## Member repositories
- HomeSpan/HomeSpan (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:19.341754+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:55.793515+00:00, confidence not recorded.
  - readme: https://github.com/HomeSpan/HomeSpan (fetched 2026-08-28T04:06:19.341754+00:00, sha 3b7164e7da44)
- Data as of 2026-08-30T08:39:29.467469+00:00.
