Working at moment:
- mdns service advertising
- pairing procedure
- saving iOS id and keys
- GET /accessories
- GET /characteristics
- PUT /characteristics
- events from accessory to iOS
- service/characteristics enumeration
- sample lightbulb/fan accessory
- sample thermostat
A lot of stuff I ported from other open-source projects.
TODO:
- Improve code quality.
Works and specs I was guided by:
- https://github.com/futomi/node-dns-sd
- https://github.com/hashicorp/mdns
- https://tools.ietf.org/html/rfc1035
- https://tools.ietf.org/html/rfc6763
- https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/HAPServer.ts
- https://github.com/ikalchev/HAP-python/blob/dev/pyhap/hap\_server.py
- libsodium