Homekit support for non homekit devices
So far i'm running a mix of both an Openhab installation, based on MQTT, and some Homekit devices (Philips hue etc).
Openhab is a great product, but I was finding myself, more and more, using Homekit, controlled from my ATV4, to be the way i do home automation.
Most of the reason being, that I get locality, out of the box, and since all in my household (that matters for home automation) is using IOS devices, i can easily create rules, based on if people are home or not.
Also it's easy to edit rules etc. when i'm not home.
Openhab has one great feature, that was the primary reason for me to test it in the first place. It can make non Homekit devices, appear as a Homekit device. The downside, is that in my case, it requires that both Openhab, and MQTT is running properly, for it to function. It has done so until now, but it's just another thing that can go wrong, and since there is no room for failure, when your biggest customer, is your girlfriend, I have been looking for a way, to may the installation less complex.
And now I have found it :-)
The solution involves using itead Sonoff devices. These are cheap devices, that is basically a relay with a wifi chip on board. So you can control them remotely.
All you have to do, is connect them to a 220v wire, and provide them with some software (if you don't want to use the software they are shipped with), and then you can control your device remotely.
I have 4-5 already, but they where using custom firmware, that hooked up to my MQTT, and presented using Openhab as Homekit devices.
But then i stumbled upon Ravencore.
Ravencore is a piece of code, that you upload to your Sonoff, and then it acts as a Homekit device, without any bridges like Openhab etc.
It's also includes a "over the air" (OTA) update function, so you can easily update your devices, after they are deployed. A good thing, if you are hiding your Sonoff devices, in places that are hard to access.
Updating the code, is as easy as connecting my computer to the Sonoff, and then running a simple command. After that, I have to connect to the device, and set my wifi, and where the OTA update is located. But it's all described in the Wiki, so no reason to describe it here.
Ok. to update your Sonoff, from scratch, requires some Soldering, but agin there is a million guides out there. So it's easy to find. And if you are interested in using custom Homekit devices, then a bit of Soldering, probably won't scare you :-)
So far it just works, and i'm really impressed on how much development that is being done. Since I started looking at it, there has been an update, every 3-4 days.
One important feature, that i'm looking forward to is to turn on device as default, when the power comes on. But it's coming in v5. And with the update pace, that can't be long away (v4.7 has just been released, as i'm writing this).
You can see all releases here.
Note that there is a lot of Sonoff devices, and Ravencore, only supports a few. But I hope it's only a matter of time, until we see support for more devices and features.
|This is the details from Homekit, when it's up and running.|