first: openHAB is really great! It is fantastic to combine all those protocols!
With OpenHABian (version unknown), iOS 11 beta:
Januar 2017: Homekit pairing wasn’t working.
April (?) - Dezember 2017: suddenly it worked. We really liked it, at most the easy setup of Timers with the smartphone. Everything worked perfectly: sharing, voice control via Siri, remote control. Thank you!
Then, i moved to a virtual Ubuntu machine with OH 2.2. HomeKit didn’t worked - sometimes the pairing process was successful, all items were discovered correctly, it was possible to switch the physical devices on an off. But after a small time, all devices got the red tag “no response/keine Antwort”. Reboot, repairing doesn’t helped.
Tried downgrading to 2.1: same problem.
Upgrading to the latest 2.3 Snapshot build: same behavior: pairing worked, switching items from “on” to “off” an back worked(! ) , then all devices got the red tag. Tried again, with removing both AppleTVs from the network, deleting all HomeKit settings. No success. I have no idea what to do now.
My workaround: get used to the rule/automation setting via the Web PaperUI and looking for this “homebridge” project. But the author of this program states, he will be happy, if his project isn’t necessary anymore.
So, this is my experience so far. Liked the HomeKit really, but now, i can’t do more than waiting.
Edit: It sounds like we have the same problem (pairing and using worked at first, then loosing functionality):
seems to be some quite frustrating experiences. I was suffering also some issues with homekit integration in the past. Now I’m working with a fairly stable setup via node-red. There is a thread that gets you started with the same:
started “node-red” on the console and browsed to :1880 and it worked.
Had a little struggle with the automated startup on every boot, the manuals describes several methods.
Found working path with “which node-red”
sudo nano /etc/systemd/system/node-red.service (put configuration in this file), sudo systemctl enable node-red, sudo systemctl start node-red, sudo systemctl status node-red seemed to be running.
installed the “Node-RED to OpenHAB coupling/binding” package email@example.com
with “npm install node-red-contrib-openhab2”
restart service, then a section “home automation” at the left bottom on the Node-RED homepage appears with a green “Openhab” icon.
Same procedures for the “Node-RED to HomeKit coupling/binding” “sudo apt-get install libavahi-compat-libdnssd-dev” and “npm install node-red-contrib-homekit” . There is now a section “advanced” with an … orange … “Homekit” icon. Huh.
Then i created a “flow” on the Node-RED with the function to read a message coming from HomeKit, convert and send it to OpenHAB. Deployed the flow (icon on the upper right side). Coupling with the Home-App on the iOS was fast and easy.
There is a Node-RED to KNX binding, but i did not used that
So, now i was able to switch a outlet with the Home App. Happy? NO! Because over night, Home lost the connection like the other Homekit binding i described in my first post. Problem: switching worked, then a red tag with “No Answer” appears in the Home-App. Restarting, re-deploying help for two minutes, then the connection was lost again.
Conclusion: i learned a lot, Node-RED is really powerful (downside: “simply” controlling a outlet demands to create a “flow” with five steps). For me it looks like the problem lies within Apple (or my AVM Fritzbox Network), because different approaches led to the same problem.
Wasted time? Yes an no: this Node-RED solution could (perhaps) be easier then the OpenHAB Rule Engine. I don’t know yet.