Control your home with iphones new home app! - Page 1
Forum section: electronics / general

author: Beamin
author_rank: Super Contributor
timestamp: October 08, 2017, 03:36:40 am
content: Has anyone linked this to an Arduino? Does the Arduino support having the internet connected to it? Would it be a modual that goes onto the Arduino or would it be ip protocol stack that went in through the usb port. Is the Arduino have enough memory to do that?I want to make my house do weird shit with an Arduino like turn on the lawn sprinklers or turn on all the kitchen appliances at once or make all the toilets flush at once remotely to scare the dog..

author: rmacintosh
author_rank: Regular Contributor
timestamp: October 10, 2017, 06:26:54 pm
content: I've not done it yet, but I have looked into it and found this...https://github.com/nfarina/homebridgeWhich is a s/w implementation of apples homekit platform. You used to have to integrate a homekit security chip into your device to get on homekit with your device but apple has removed that restriction and it can be entirely done in s/w now. Also, for prototype/personal use there is no licencing required!

author: Beamin
author_rank: Super Contributor
timestamp: October 10, 2017, 07:26:06 pm
content: I bought an RFduino today but can't find anything that actually says how you implement the iPhone/color changing lights app. Seems like all these videos about it tell you how to connect the lights but nothing on how to write a sketch for it. they all assume you just know how it works which is fine but do I really need to watch a video of how to do the simple parts if I already know how to do the hard parts?

author: funkathustra
author_rank: Regular Contributor
timestamp: October 10, 2017, 09:05:28 pm
content: Quote from: Beamin on October 10, 2017, 07:26:06 pmI don't know what "videos" you're talking about, but I don't know many devs who have time to create video tutorials, if that's what you're talking about? Justread through the examplesfor the homebridge-bluetooth plugin. There'sliterally an RGB lightbulb examplethat you could copy and paste.It took me approximately 2 seconds of googling to find these links. It looks like the IP-basedhomebridgeproject is what everyone uses, and I didn't immediately see any direct BTLE off-the-shelf solutions, though when I glanced at theHomeKit Accessory protocol spec, it seems like HomeKit supports it as well (though IP has tons of obvious advantages).For infrastructure-oriented stuff like home automation, I'd probably use an IP-based solution. I know BTLE microcontrollers are all the rage these days, and have gone down in price substantially, but it's hard to beat Ethernet. The PIC18F66J60, AT32UC3, ATSAM4E8, LPC1764, STM32F107, and Kinetis K60 are all popular controllers with Ethernet support, but only the PIC18 has a built-in PHY. If you're stuck on ATMega328pu-based Arduino boards, then I'd look at theENC28J60.

author: technix
author_rank: Super Contributor
timestamp: October 11, 2017, 04:56:37 am
content: Technically speaking, if you want to use the Home app, you need to be Apple MFi licensee. For DIY projects it may be better to use the license-free ad hoc app over Bluetooth Smart approach.(Source: Apple Developer documentation. I am a long-time Apple Developer)