samuelthomas2774 / HAP-Java

Mirror of https://gitlab.fancy.org.uk/samuel/hap-java. Java implementation of the HomeKit Accessory Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HAP-Java

HAP-Java is a Java implementation of the Homekit Accessory Protocol.

Using this library, you can create your own Homekit Accessory or Homekit Accessory Bridge.

Because the MFi Specification is closed to individual developers, and this implementation was made without access to that specification, it may not be complete. iOS devices do recognize and are able to interact with accessories exposed via this library however.

This library would not have been possible without Tian Zhang who did a lot of the hard work of figuring out how the protocol works in his NodeJS implementation.

Usage

Include HAP-Java in your project using maven:

<dependency>
	<groupId>io.github.hap-java</groupId>
	<artifactId>hap</artifactId>
	<version>1.2.0-SNAPSHOT</version>
</dependency>

After that, read the Javadoc and check out the Sample.

About

Mirror of https://gitlab.fancy.org.uk/samuel/hap-java. Java implementation of the HomeKit Accessory Protocol

License:MIT License


Languages

Language:Java 99.9%Language:Shell 0.1%