QR-Code not shown in homekit config in OH3

I have the same problem and tried these commands to update the binding to the latest snapshot but I just get an error:

Error executing command: https://openhab.jfrog.io/artifactory/libs-snapshot-local/org/openhab/addons/bundles/org.openhab.io.homekit/3.1.0-SNAPSHOT/org.openhab.io.homekit-3.1.0-20210203.032507-42.jar

I guess since this thread is old that’s not the latest snapshot anymore? How do I find the URL for the latest snapshot please? Thanks!

Hi,
Look at this directory:

https://openhab.jfrog.io/artifactory/libs-snapshot-local/org/openhab/addons/bundles/org.openhab.io.homekit/3.1.0-SNAPSHOT/

There you will find the latest snapshots.

e.g. https://openhab.jfrog.io/artifactory/libs-snapshot-local/org/openhab/addons/bundles/org.openhab.io.homekit/3.1.0-SNAPSHOT/org.openhab.io.homekit-3.1.0-20210410.032509-25.jar

BR Dirk

1 Like

Thanks Dirk

I was having the same problem of not seeing the QR code.
I have updated the Homekit addon to the latest snapshot (homekit-3.1.0-20210411.032508-26.jar), but now the HomeKit addon does not show up in the settings page anymore, or in the Misc page.
Using ‘list | grep -i homekit’, it shows that the latest snapshot is installed.
I tried both updating after installing in the UI first, and I tried installing it directly.
I also tried restarting OpenHab, and restarting Chrome.

Any ideas?

The settings for HomeKit binding with the qr code is listet at „other services“…at least for me.

It used to show there for me too, but not with the snapshot installed

Mhh… this is strange.Shows it to me with the snapshot version.
Sorry, but no idea how to fix this for you.

if you do ‘list | grep -i homekit’ what exactly you get? what is the status of the addon?

284 │ Installed │ 80 │ 3.1.0.202104110348 │ openHAB Add-ons :: Bundles :: IO :: Homekit

ok. you need to start it.

execute in karaf
start 284

When I do this, I get this:

Error executing command: Error executing command on bundles:

Error starting bundle 284: Could not resolve module: org.openhab.io.homekit [284]

Unresolved requirement: Import-Package: io.netty.bootstrap; version=“[4.1.0,5.0.0)”

how you have installed the addon? using karaf or donwloading to addon folder?

try with
update 284 https://openhab.jfrog.io/artifactory/libs-snapshot-local/org/openhab/addons/bundles/org.openhab.io.homekit/3.1.0-SNAPSHOT/org.openhab.io.homekit-3.1.0-20210412.032532-27.jar

I have tried both ways. Same result.
Except now the error when I try to start is:

Error executing command: Error executing command on bundles:

Error starting bundle 305: Could not resolve module: org.openhab.io.homekit [305]

Unresolved requirement: Import-Package: org.osgi.framework; version=“[1.9.0,2.0.0)”

which is slightly different than when I used the previous snapshot (26) yesterday, which read:

Error executing command: Error executing command on bundles:

Error starting bundle 284: Could not resolve module: org.openhab.io.homekit [284]

Unresolved requirement: Import-Package: io.netty.bootstrap; version=“[4.1.0,5.0.0)”

*The ID is different because I uninstalled /reinstalled etc

sound similar to that one

seems to be issue with snapshots. solution was to install Milestone

I think this worked.

I got a bit of a scare when all Things were UNINITIALIZED for about 2 mins and all of the Other Services tabs were missing for about 3 mins. But all Things are online now and I can see the QR code in the HomeKit page.
Thank you!

My Apple Home app doesn’t seem to be able to find accessory.

I am using the IP of my Pi in the Network Interface field of the HomeKit settings. Is this right?
I am doing all of this over VPN. Could that cause a problem?

can you see openHAB as bridge in the apple home app? can you try to add it?
do you have at least 1 openhab item with homekit metadata?

can you do it at pairing phase without VPN?

I can scan the QR code, and it asks if I want to add. It then spends a few mins looking before not finding anything.

I tried to use the manual entry instead of the QR code, but that didn’t work either.

Can’t try without VPN until I get back later this week.

the issue is - homekit using multicast in the pairing phase and if VPN blocks multicast or routing is not configured correctly, then it will not be able to pair.

OK, I’ll wait until I’m on the same network.
Thanks.