Any plans for HomeKit integration?

I’ve registered too. I really hope they actually release the API.
4 years ago at the WWDC they said FaceTime was going to be an open protocol. Yeeeah, still waiting on that…

I’m going to look into it further and experiment. Still, need to wait until the WWDC videos are up to get a good sense of how exactly it works and what its best for. The API seems very Bluetooth BLE like, so will need to see how it works in with WIFI.

I’m happy to open source anything simple I get working. Keep in mind there a non-disclosures in place protecting a lot of the details for being made public.

I would love to make it so that the Spark Core can be a dev tool for anyone who wants to build a HomeKit-compatible product. I have a feeling that HomeKit will require BLE for setup, so HomeKit products will be Wi-Fi plus BLE. Becomes an interesting factor to consider for the Spark Core II… :slight_smile:


As all-powerful and all-wonderful as BLE is, I really hope they don’t choose that for a home-wide deployment. Unless they have some fancy meshing going on (which would probably require device manufacturers to beef up all their products–unlikely), I just don’t see how it could work to turn on my basement lights from my upstairs bedroom. Wi-fi definitely makes more sense here.


I have several of BLE devices paired to my iOS device. The range in the house is 25-40 feet, but disconnects and reconnects are painful and error prone. I can’t tell you how many times I have had to delete the connection and re-pair them.

The technology is a good idea–the implementation today is lacking.

Spark Core + HomeKit will be Awesome!. Spark Core II also :smile:


Accorting to homekit will work over Wifi too. So all we need is a Firmware Update. Too bad that the software spec is not open. I request SpakCore team to request the Spec from Apple. Eagerly looking forward for HomeKit integration in SparkCore.

Apple may not release the Doc and Spec before the iOS 8 is out, but may be share with some limited companies to get the Apps ad Devices ready when it is about to launch.

Anyone want to attempt to do reverse-engineering?

The Home Kit Framework


Here’s a post I made in an private thread last week. Needless to say, I’m working on it!

Last week was the annual World Wide Developers Conference (WWDC), where every year Apple transforms into the visage of a sweaty Steve Ballmer, excitedly chanting, “Developers! Developers! Developers!”

In recent years, WWDC has become increasingly focussed on the iPhone and core improvements to iOS. However, this year was different. This year Apple really paid attention to things the developer community had been asking for for years! They released an entirely new programming language completely out of the blue (apparently it’s been internally in the works for over 4 years, with the creator and lead developer being the man behind LLVM and CLANG). They released a ton of new APIs. They released Metal, which will allow lower level access to the GPU on A7 devices. They released HealthKit which is designed to centralize data collection for health, medical and fitness apps. There’s a bunch more stuff, but this isn’t an Apple forum, so I won’t bore you.

So, where does Home Automation come into all this and how is it related to the Spark Core, I hear you asking yourself. Good question!

Among the various things released at WWDC was also a little something called HomeKit, which is designed as a central hub for controlling various home automation devices, even if they’re of different standards. This is huge. Home Automation has been around in consumer form since at least the 1970s, when X10 was first released. Since then, there have been an absurd number of completely incompatible standards come and go, which is still true today.

The big “problem” with Home Automation systems is you’re almost always locked into a single vendor (See: Crestron), which is why prices are sometimes ludicrously expensive. Yes, there are open standards out there, but they haven’t taken nearly as much of a foothold as many of us would like to see, mainly due to it being in a vendor’s best interest to keep you locked into their technology.

So after having a look at some of the developer documentation about HomeKit, it seems that Apple is trying to create a centralized interface that will allow many different vendors and standards to hook into, giving the consumer a “Universal Home Automation Interface” if you will.

A lot of people already use things like the BeagleBone and Raspberry Pi as a central (often web based) interface, where they can programmatically bridge multiple closed products together. This is essentially that, but for the average Joe.

Now, the DIY Automation community is starting to get bigger and bigger, we have tons of Makers out there that want to automate things in their house and on their property. I can’t tell you how many people came up to me at Maker Faire asking if the Core would be good for their project. Stuff like opening and closing blinds, monitoring their gardens, turning outdoor path lighting on, controlling HVAC floor registers, building thermostats, locking their front doors… The list goes on and on.

The Spark Core is inexpensive, easy to use, flexible and powerful. I really think looking more into things like HomeKit, producing more Home Automation libraries and doing a lot more projects/tutorials along the same lines (and then a marketing push towards it all) would go a long way towards making us into the de facto platform for IoT Based Home Automation.

Has anyone else put much thought into this sort of thing?

This is—I suspect—Apple doing what Apple does best: Taking stuff that already exists, making it easy to use and pretty, then selling the hell out of it.

Having a library for the Spark Core that would allow it to hook into HomeKit could be crazy cool and something I’ve been looking into since WWDC.

Indeed, how would this work though. Apple didn’t show off any specific apps, so I’m assuming that it is just a framework that allows many devices to be controlled by an app of the users choosing.

I’m imagining a very connected home soon(ish)…

The link I posted is to the (future?) Objective C framework for developing apps for use with HomeKit. From what I can tell, manufacturers are going to have to jump through hoops to get into the HomeKit program. They essentially have to have their product Apple certified, which is a huge barrier to entry. :frowning:

1 Like

From what I hear through the grapevine, certification for HomeKit will be a lot different than previous things coming into the MFi program.

There will also be the ability for third party software to control certified hardware through HomeKit without requiring certification.

There’s the rub. The Spark Core is hardware, but I’m not sure how open Apple would be to certifying it. If someone could get an Arduino certified, maybe other platforms could follow.

The idea is this would be for control of the “Spark Cloud” and not hardware, per say. Another way would be just for the Spark Core iPhone app to hook into the HomeKit APIs (I’m not sure what the rules are on this yet, I’m trying to get specific clarification from a friend.)

I’m a new Spark owner. I’ve had SmartThings for a year, but want to diversify my homemade IoT gadgets and found Spark. One of my big concerns is how well SmartThings is going to play with HomeKit, as I am heavily invested in Apple’s ecosystem. Is there any news on Spark / HomeKit compatibility now that iOS 8 is in the wild?

If you’re curious, I built this project to interface SmartThings with some custom LED lights and alarms, along with some other toys. I’m planning to redesign it to take advantage of Spark, especially if that brings HomeKit compatibility.

Edit: Fixed the broken link.


Anyone looking for new information on this checkout the new docs provided by apple.

Also confirming that BLE and Wifi will be supported checkout this pdf, around the middle of the document describing HomeKit and protocol layers:,d.cWc&cad=rja

1 Like

As far as I understand you may be want to look at Homebridge project

Have a look on this HomeKit update, non-commercial version - SRP

1 Like

FINALLY, we have a breakthrough!

See this new thread: LINK

It works beautifully: You compile a sketch and flash it to any Particle device and then it can be directly paired with Homekit on any iPad, iPhone… Currently, you can only control the Particle’s RGB LED ON/OFF state.

Lukas Jezny developed an application for a Photon, in which he implements a HAP (Homekit Access Point) on the device itself. So, you don’t need a Homebridge or an OpenHAB server to control a Photon with Siri… :star_struck:

I was hoping that Lukas would also show us how we could access Particle.function s and Particle.variable s from Homekit. But, fair enough, he apologised because he can’t make the time for it. Pity…
He shared also the Apple document explaining how to expand the functionality, but it goes over my head!
If some of you, professional programmers, would be interested to try and expand his work, I believe many Particle users would be very happy! I would… :bow: