Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
/ HAP-NodeJS Public archive
forked from homebridge/HAP-NodeJS

Node.js implementation of HomeKit Accessory Server.

Notifications You must be signed in to change notification settings

alistairg/HAP-NodeJS

 
 

Repository files navigation

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 install 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 BridgedCore.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.

About

Node.js implementation of HomeKit Accessory Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%