HomeSpan/docs
HomeSpan d7f82138a2
Update GettingStarted.md
2020-11-16 21:52:42 -06:00
..
images Add files via upload 2020-11-15 21:19:49 -06:00
CLI.md Create CLI.md 2020-11-15 15:19:31 -06:00
Categories.md Update Categories.md 2020-11-15 21:30:20 -06:00
GettingStarted.md Update GettingStarted.md 2020-11-16 21:52:42 -06:00
HomeKitPrimer.md Create HomeKitPrimer.md 2020-11-15 15:17:14 -06:00
HomeSpanUserGuide.pdf Removed spaces from doc filenames 2020-11-06 06:19:41 -06:00
Overview.md Rename Overview to Overview.md 2020-11-15 15:20:18 -06:00
README.md Update README.md 2020-11-16 07:52:01 -06:00
Reference.md Create Reference.md 2020-11-15 15:24:13 -06:00
ServiceList.md Update ServiceList.md 2020-11-15 21:31:29 -06:00
Tutorials.md Update Tutorials.md 2020-11-15 15:20:50 -06:00
UserGuide.md Update UserGuide.md 2020-11-06 06:22:14 -06:00
_config.yml Update _config.yml 2020-11-15 21:57:06 -06:00

README.md

HomeSpan

HomeKit for the Arduino-ESP32!

Welcome to HomeSpan - a robust and extremely easy-to-use Arduino library for creating your own ESP32-based HomeKit devices entirely within the Arduino IDE.

HomeSpan provides a microcontroller-focused implementation of Apple's HomeKit Accessory Protocol Specification Release R2 (HAP-R2) designed specifically for the Espressif ESP32 microcontroller running within the Arduino IDE. HomeSpan pairs directly to HomeKit via your home WiFi network without the need for any external bridges or components. With HomeSpan you can use the full power of the ESP32's I/O functionality to create custom control software and/or hardware to automatically operate external devices from the Home App on your iPhone, iPad, or Mac, or with Siri.

HomeSpan Highlights

  • Provides a natural, intuitive, and very easy-to-use framework
  • Utilizes a unique Service-Centric approach to creating HomeKit devices
  • Takes full advantage of the widely-popular Arduino IDE
  • 100% HAP-R2 compliance
  • 38 integrated HomeKit Services
  • Operates in either Accessory or Bridge mode

For the HomeSpan Developer

  • Extensive use of the Arduino Serial Monitor
    • Real-time, easy-to-understand diagnostics
    • Complete transparency to every underlying HomeKit action, data request, and data response
    • Command-line interface with a variety of info, debugging, and configuration commands
  • Built-in database validation to ensure your configuration meets all HAP requirements
  • Integrated PWM functionality supporting pulse-wave-modulation on any ESP32 pin
  • Integrated Push Button functionality supporting single, double, and long presses
  • Integrated access to the ESP32's on-chip Remote Control peripheral for easy generation of IR and RF signals
  • 16 detailed tutorial-sketches with extensive comments, HomeSpan documentation and tips and tricks

For the HomeSpan End-User

  • Embedded WiFi Access Point and Web Interface to allow end-users (non-developers) to:
    • Set up Homespan with their own home WiFi Credentials
    • Create their own HomeKit Pairing Setup Code
  • Status LED and Control Button to allow end-users to:
    • Force-unpair the device from HomeKit
    • Perform a Factory Reset
    • Launch the WiFi Access Point
  • A standalone, detailed End-User Guide

Latest Updates

11/3/2020

HomeSpan 1.0.0 is the initial public release. It is 100% feature-complete and includes 16 very detailed tutorial-sketches providing step-by-step instructions on how to use HomeSpan to create your own HomeKit devices. A 10-page User Guide provides addtional details on how to configure your finished HomeKit device for use on your WiFi network, and how to pair it to HomeKit.

HomeSpan Resources

HomeSpan includes the following documentation:

External Resources

In addition to HomeSpan resources, developers who are new to HomeKit programming should download Apple's HomeKit Accessory Protocol Specification, Release R2 (HAP-R2). The download is free, but Apple requires you to register your Apple ID for access to the document.

You do not need to read the entire document. The whole point of HomeSpan is that it implements all the required HAP operations under the hood so you can focus on just programming whatever logic is needed to control your real-world appliances (lights, fans, RF remote controls, etc.) with the device. However, you will find Chapters 8 and 9 of the HAP guide to be an invaluable reference as it lists and describes all of the Services and Characteristics implemented in HomeSpan, many of which you will routinely utilize in your own HomeSpan sketches.


Feedback or Questions? Please send to homespan@icloud.com.