HomeKit Accessory Protocol implementation following the specification standard written by Apple.
HomeKit Accessory Protocol based on HAP Specification provided by Apple.
This project was developed with interest in privacy and understanding of how the HomeKit Accessory Protocol works to provide safe and secure communication between our iDevices and the server itself.
git clone https://github.com/MihaelBercic/HomeKit-Accessory-Protocol.git
cd HomeKit-Accessory-Protocol # Move to the cloned folder.
./gradlew jar # Run the jar building task.
nano config.json # edit config.json and then.
java -jar build/libs/HAP-1.0.jar # run the jar built.
{
"accessories": [
{
"mac": "FF:AA:BB:CC:DD:EE",
"name": "Balcony Door",
"type": "ShellySwitch",
"ip": "192.168.1.139"
},
{
"mac": "FF:CC:AA:CC:DD:EE",
"name": "Balcony Window",
"type": "ShellySwitch",
"ip": "192.168.1.113"
}
]
}