node-hapserver
v1.0.1
Published
HAP-NodeJS ============= HAP-NodeJS is a Node.js implementation of HomeKit Accessory Server.
Downloads
4
Readme
HAP-NodeJS
HAP-NodeJS is a Node.js implementation of HomeKit Accessory Server.
With this project, you should be able to create your own HomeKit Accessory on Raspberry Pi, Intel Edison or any other platform that can run Node.js :)
The implementation may not 100% follow the HAP MFi Specification since MFi program doesn't allow individual developer to join.
Remember to run npm rebuild
before actually running the server.
Users can define their own accessories in: accessories/name_accessory.js files, where name is a short description of the accessory. All defined accessories get loaded on server start. The accessory is defined using an object literal notation.
You can use the following command to start the HAP Server:
node Core.js
Special thanks to Alex Skalozub, who reverse engineered the server side HAP. ~~You can find his research at here.~~ (Sadly, on Nov 4, Apple sent the DMCA request to Github to remove the research.)
There is a video demo running this project on Intel Edison.
If you are interested in HAP over BTLE, you might want to check this.