I’m not getting far enough to even enter the PIN: In EVE, Pairing openHAB shows a progress bar, but when it finishes, it goes back to “pick an accessory”, rather than asking for the PIN.
Any suggestions? I’m trying to get the trace log, but not sure I’m doing it right, as nothing appears to be getting logged.
One thing I do see in the normal log is this: 2016-03-12 14:19:27.782 [WARN ] [nhab.io.homekit.internal.HomekitImpl] - Could not find existing MAC in org.eclipse.smarthome.storage.mapdb.MapDbStorage. Generating new MAC. This will require re-pairing of iOS devices.
I think the README could use a bit of extra guidance for a few things that I found/find to be confusing:
How do you add openHAB to HK in the first place? Answer: you need an app for HGK discovery on your iPhone. I only have wave items and the ecobee app, which only discovers the thermostat, so this wasn’t very obvious. I found a free app for managing HK devices which worked.
How do you link existing items (i.e. wave items) with HK items? (my guess is using groups?)
What commands are available via Siri?
If I add/modify items for the HK binding, do I need to remove/re-add the pairing in iOS?
If I go to the /accessories URL, I get the same 404 error that others were having…I tried the export command before starting OH to no avail.
A bit of a follow up to answer some of my own questions (for anyone who happens upon this).
As noted: you need some for of HomeKit app.
It looks like “tags” are it. I can’t find a way to use them other than creating items from within an item file…which I’m not using at that moment. @chris is there any chance of having the ability to either edit items via HM2 (and tags) soon? Or @Kai is there any way to edit/tag items via the karaf console?
It looks like HK will pick up new items as you define them. Though I changed the name of one and it didn’t pull that update.
Well, at least the way I read it, the issues is only if you’re using REST or need HM2 to add the tags…which is why I’m also asking if there’s a way to manage the tags via console.
Thanks for pointing me to the right point for an Issue
As casual user with knowing a little bit about programming its not the time for me to think about PRs - i’m still happy to not overstrain some maintainers with missing knowledge about relationships between OH1, OH2, ESH and so on
While I’d love to get more involved with actually helping the development of OH2, my skill set is in Ruby/PHP and my Java experience is pretty limited…so at least for now, I don’t have the time to really dig in and figure it all out (especially as it’s not like I can easily get it going with my usual text editor setup). Thus I’m limited to testing/reporting issues.
I’m not sure when it happened, but in the last few days, HomeKit quit working completely – devices lost contact, restarting openHAB didn’t hep, tried resetting pairings, resetting HomeKit (i.e,. starting from scratch from HomeKit’s point of view), updating openHAB, nothing has worked, my HomeKit apps simply do not see the openHAB server.
Edit: it occurred to me that this happened about the same time I got openHAB running as a launchd service instead of from command line, so the problem may be related to the java environment variable. Will try fixing that tonight.
Edit2: yep, that was it, added the Java Opt variable to my launchd script and that fixed it.
@Heiko_Fanieng Just s a head’s up, @chris has added the ability to edit tags in HABmin (thanks Chris!) Also, ESH has fixed the colon bug, and the HK binding actually changed the tags to not need the homekit prefix.
@Branden_Smale I had a similar issue and it took some fiddling to get going. I reset the pairing and also restarted my phone, OH, etc a number of times…and then it finally popped up to pair (it sat there for a while first though). Since then it’s worked great though.