HomeKit Library to port

I’ve ordered an Electron dev kit and it should arrive in the next day or so. While waiting I’ve been dreaming up some projects one I would like to do is get HomeKit support working standalone without home bridge.
I came across https://github.com/HomeACcessoryKid/ESP8266-HomeKit
Which looks like it does the trick so arduino based stuff and will be looking into porting it to particle if anyone else’s is interested. This will be first attempt at such a thing and I won’t be able to start till my exams finish in about 2 weeks. But if anyone else wants to take a look there it is

2 Likes

Hi @AdmiralTH!

Did you finally manage to use your Particle Photon with Homekit app now? (without Homebridge…)

I haven’t started work on it yet, I put in on the back burner with the changes to the HomeKit licensing was hoping that Particle might be able to build it in officially.
Also this needs the WolfCrypt library which some others were porting for over, so when thats done I’ll take another look.

I’ve also been real busy with other projects :frowning:

The wolfssl (contains wolfcrypt) port is essentially complete.

Sadly life has been busy wirh work and university and I haven’t had a chance to look into this further, but there seems to be a better body of work to look at https://github.com/maximkulkin/esp-homekit-demo

See this new thread: LINK

FINALLY, we have a breakthrough!

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

Hi Particle community! It has been a few years that I have posted here! About 5-7 years ago, I managed to create a complete Home Automation system for our new home.

It consists of 7 Photons controlling lighting, heating, ventilation and security systems.

We can monitor and control all Particle functions and real-time data with a webpage, but I also integrated it in Apple Homekit so that I can use siri voice commands and combine it with other (non particle) devices.

It has been a huge task but since it works (7 years ago) I had no major issues.

Recently, however the Homebridge setup broke and I was not able to repair it. I guess the Particle plugin is just too old and it can’t be used with the latest Homebridge version. I am fed up trying and now I want to find a way to connect my Photons individually to Apple Homekit.

The particle-hap library from member @ljezny was promising in 2019.

I tested it and it worked somehow but I could not implement the things I wanted and the original contributor(s) had no time.

That’s when I decided to go with Homebridge. Now that’s “end-of-the-road”, I want to try direct integration of particle devices again.

BTW: For ESP-32 devices there is already a very stable solution since 5-6 years and this is supported in a great way by a fantastic developer and a community. I have a number of these “connected ESP-32’s on my workbench and they work perfectly stable in Apple Home, but I would hate to change from Particle to ESP-32 for several reasons. (OTA updating, completely re-writing all my legacy code…)

I have now spent several days trying to integrate the HAP library of @ljesny (particle-hap) on a Photon but it failed. I found that there is even a fork of that library (particle-hap-fork) in the Particle community library. But that one also fails when compiling.

Has anyone successfully used particle-hap or particle-hap-fork on OS 3.3.1?

If somebody is interested to check, I want to share more details.

I still hope………………………..