Controlling your accessory using HomeKit
This is a slight diversion from Arduino programming.
Here I repost a piece I wrote about how to present your accessory as a HomeKit accessory (only for use in non commercial/hobbyist projects).
I spent ages making a really good dimmer switch using Swift for Arduino to program a "breadboard arduino" but then needed a way to control it easily from our phones at home.
And here it is! We have iPhones so HomeKit was a natural choice. It required a raspberry pi 2 and network connection to act as the server for HapJS.
HAP-NodeJS
Here I repost a piece I wrote about how to present your accessory as a HomeKit accessory (only for use in non commercial/hobbyist projects).
I spent ages making a really good dimmer switch using Swift for Arduino to program a "breadboard arduino" but then needed a way to control it easily from our phones at home.
And here it is! We have iPhones so HomeKit was a natural choice. It required a raspberry pi 2 and network connection to act as the server for HapJS.
HAP-NodeJS
Comments
Post a Comment