iOS HomeKit Bridge

1,403 views
Skip to first unread message

Henning Treu

unread,
Apr 25, 2015, 4:15:02 AM4/25/15
to ope...@googlegroups.com
Hi all,

please check out the first implementation of an OpenHAB HomeKit Bridge. The bridge is based on a node.js framework and connects to the OpenHAB REST interface. At this early stage only switch items are supported and listed through the bridge. The switches are represented as LightBulb Services which support power state, hue, brightness and saturation from which only power state (on/off) is in use right now.

Check out the sources here https://github.com/htreu/OpenHAB-HomeKit-Bridge and follow the instructions in the README.MD. Please feel free to report bugs, improvements and contribute by sending pull requests :-)

cheers
henning

dan cunningham

unread,
Apr 25, 2015, 11:08:38 AM4/25/15
to ope...@googlegroups.com
Hi thats sounds interesting, I am planning on writing something similar for the Amazon Echo, are you using a custom sitemap and using the label as the voice recognized name?

--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/a36fbfe5-f077-4d68-be9c-547335f3d159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Henning Treu

unread,
Apr 26, 2015, 11:04:31 AM4/26/15
to ope...@googlegroups.com
That's the next thing I have planed. Right now all Switch items are listed for HomeKit with their technical names. A custom sitemap will add nice names and meta information like read only state or mappings.

You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/i5T3CGsBZuE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.

To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.

m herbert

unread,
Apr 28, 2015, 2:24:41 PM4/28/15
to ope...@googlegroups.com
The original HAP-NodeJS notes that it is not based on the actual Apple HomeKit spec, but is reverse engineered and might not work in the future.  Does this have the same issue or is this based on the actual Apple HomeKit spec?

Henning Treu

unread,
Apr 29, 2015, 2:12:31 PM4/29/15
to ope...@googlegroups.com
the original HAP-NodeJS is a runtime dependency to OpenHAB-HomeKit-Bridge so all its features and future development will directly be available. Its in fact reverse engineered and "may not 100% follow the HAP MFi Specification". It works quite well though so please have a try :-)

Stefan P.

unread,
Jun 9, 2015, 12:49:04 PM6/9/15
to ope...@googlegroups.com
hi henning,

thank you for your work on the homekit bridge!!!
could you give a more detailed description on how to install the bridge an the other required files... like... for dummies ;) ?

apple released iOS9 (beta) yesterday, does this change anything compared to iOS8?

thanks,
stefan

Jeroen Idserda

unread,
Jun 9, 2015, 1:51:29 PM6/9/15
to ope...@googlegroups.com
Great stuff! Just installed it, seems to work quite well already. Would be nice to have support for Color items too. And is there any service in HomeKit for scenes? 

Jeroen.

Henning Treu

unread,
Jun 10, 2015, 5:19:06 AM6/10/15
to ope...@googlegroups.com
hi stefan,

you need to perform the following steps:

- install node.js 0.12.x and npm
- run the setup steps described in the README.MD
- install a HomeKit Application on your iOS Device (currently only demo projects are available and you have to be an registered iOS Developer to deploy the app to your iOS device.
- create a new sitemap "home kit.sitemap" for OpenHAB where the items are listed flat (without any frames), these items will be loaded by the bridge.
- run the OpenHAB-HomeKit-Bridge as described in the README.MD

for any bugs or problems please report an issue on github.

regarding iOS9: I hadn´t had the chance to install the dev preview, so no idea whats around the corner there. but I am very excited and will test it in the next days.

cheers,
henning

Henning Treu

unread,
Jun 10, 2015, 5:21:36 AM6/10/15
to ope...@googlegroups.com
hi, as I am aware of HomeKit has an explicit notion of scenes. I didn't try to control them via Siri but it is definitely a part of it. Color item is one oh the next todos: https://github.com/htreu/OpenHAB-HomeKit-Bridge/issues/6

stay tuned.

cheers,
henning

Christian Wick

unread,
Jun 10, 2015, 6:59:40 AM6/10/15
to ope...@googlegroups.com
Am 10.06.2015 um 11:19 schrieb Henning Treu:

- install a HomeKit Application on your iOS Device (currently only demo projects are available and you have to be an registered iOS Developer to deploy the app to your iOS device.


AFAIK, this is not the case anymore with Xcode7.
https://developer.apple.com/xcode/

Quote: "Now everyone can get their app on their Apple device. Xcode 7 and Swift now make it easier for everyone to build apps and run them directly on their Apple devices. Simply sign in with your Apple ID, and turn your idea into an app that you can touch on your iPad, iPhone, or Apple Watch. Download Xcode 7 beta and try it yourself today. Program membership is not required."

However, I do not know if this is limited to Swift-projects only.

BR,
Christian

Henning Treu

unread,
Jun 10, 2015, 7:20:59 AM6/10/15
to ope...@googlegroups.com
Thats great news!

Since I don't know out of my head if Apples own HomeKit Demo is a Swift App you may try https://github.com/KhaosT/HomeKit-Demo. It worked for me in the simulator.

Henning Treu

unread,
Jun 10, 2015, 7:23:23 AM6/10/15
to ope...@googlegroups.com

Max Stephan

unread,
Aug 12, 2015, 5:33:07 AM8/12/15
to ope...@googlegroups.com
For those who want to test this but don't have an Apple developer account, the "Elgato Eve" iOS app works as well. It didn't recognize my default sitemap, so i just created a very basic one with only the items I want to control through Siri, and it works OK.
Reply all
Reply to author
Forward
0 new messages