Swift Package Index

HAP

https://github.com/bouke/hap.git

Swift implementation of the Homekit Accessory Protocol


Compatibility

  • 0.7.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 0.7.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

Homekit Accessory Protocol, implemented in Swift

The goal of this package is to provide a complete implementation of the Homekit Accessory Protocol, enabling you to build your DIY accessories, and connect your non-HAP devices.

Build Status Maintainability Rating

Features

  • Persistent configuration across reboots.
  • Homekit pairing by scanning QR code (shipped in iOS 11).
  • Speakers and Remote Control accessories (shipped in iOS 12 / macOS Mojave).
  • Television accessories (shipped in iOS 12.2 / macOS 10.14.3).
  • Extensibility through custom services and characteristics.
  • Runs on Linux / Raspbian (Raspberry Pi).

Communication

Remember that this is not a commercial product, but the result of free labor.

  • If you need help using this library, open an issue here on GitHub. The more detail the better!
  • If you found a bug, open an issue here on GitHub. The more detail the better!
  • If you want to contribute, submit a pull request.

Contents

Credits

This library was written by Bouke Haarsma and contributors.