HomeKit iOS 16.2 issues / dont upgrade

I upgrade to 16.2 some days ago - no issue.
Today I updated Home App as well - HomeKit stopped working for me with OpenHAB. Unfortunately I didn’t see this discussion before :frowning:
Each time I open Home App I see the following error in the log.

] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user .......

This command should fix at least that specific error:

update <id of homekit binding> https://github.com/ccutrer/openhab-addons/releases/download/homekit-20221219-01/org.openhab.io.homekit-3.4.0-SNAPSHOT.jar

Seeing mixed results from there.

1 Like

Error message changed indeed - but its still not working.

2022-12-20 21:12:38.627 [WARN ] [rver.impl.http.impl.AccessoryHandler] - Error handling homekit http request
java.lang.NullPointerException: null
	at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:53) [bundleFile:?]
	at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:1) [bundleFile:?]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [bundleFile:4.1.72.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [bundleFile:4.1.72.Final]
	at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) [bundleFile:4.1.72.Final]
	at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:370) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [bundleFile:4.1.72.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [bundleFile:4.1.72.Final]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2022-12-20 21:12:38.628 [WARN ] [rver.impl.http.impl.AccessoryHandler] - Exception caught in web handler
java.lang.NullPointerException: null
	at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelInactive(AccessoryHandler.java:46) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) [bundleFile:4.1.72.Final]
	at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:61) [bundleFile:4.1.72.Final]
	at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:253) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [bundleFile:4.1.72.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [bundleFile:4.1.72.Final]
	at java.lang.Thread.run(Thread.java:829) [?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [bundleFile:4.1.72.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [bundleFile:4.1.72.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [bundleFile:4.1.72.Final]
	at java.lang.Thread.run(Thread.java:829) [?:?]

Well that’s no good :(. It looks like an error when the iOS device hangs up on us. Not sure why that is, though. I’ll attempt to replicate when I have a minute.

interesting i don’t have this “Software update On/OFF” switch in my ios 16.2 / iphone 13

Looks like I had a compilation problem in the JAR I posted yesterday, jumping back and forth among multiple branches. Release HomeKit 2022-12-20 v1 · ccutrer/openhab-addons · GitHub. I promise this is the exact JAR I’m currently running locally. You can update to it in console with:

update org.openhab.io.homekit https://github.com/ccutrer/openhab-addons/releases/download/homekit-20221220-01/org.openhab.io.homekit-4.0.0-SNAPSHOT.jar

And yes, it’s labeled as a 4.0.0-SNAPSHOT, but that’s just cause it’s built today. It works fine in a 3.4.0 openHAB (I’m not even actually to the final release yet).

1 Like

If you’re still running Java 11, you’ll need to use a slightly different version that I haven’t actually tested:

update org.openhab.io.homekit https://github.com/ccutrer/openhab-addons/releases/download/homekit-20221220-02/org.openhab.io.homekit-3.4.0-SNAPSHOT.jar
5 Likes

Did a fresh install with the Openhab 4.0 snapshot. Installed the homekit binding 4.0.0-Snapshot as pointed out by @ccutrer

All working fine (again)

Hi,
Yes openhab 4.0 snapshot is working now again!

Thanks so much!

Thanks a lot - after installing this version, HomeKit worked again within seconds without doing anything else :slight_smile:

I have just registered to say thankyou for this i rebuilt it a few times was driving me nuts. :1st_place_medal::pray:

Thanks a lot!!!

Looks like Apple stopped the architecture update at the moment. Good news, maybe there will be a fast fix.

1 Like

With IOS 16.4, the architecture upgrade is back.

Has someone tried, if openhab is working fine after upgrading the home-architecture or has somebody tried it while the beta-phase of 16.4 ?

4 Likes

Got the same question. Don’t have the guts to try it out on my own.

Just upgraded my HomePod mini to 16.4.
I’ve never used the “Home” App with OH, because usually after a while (not sure what the trigger was), Home couldn’t control OH items anymore. I was surprised that after the upgrade the items are now back again and can be fully controlled. Guess I’ll see whether this is just temporary or the architecture is now indeed better.

1 Like

I have 2 device and OH 3.4.3:

1 with ios 16.4.1 (with upgraded home architecture)
1 with ios 16.3.0

on 16.3.0 homekit addon work fine, with 16.4.1 Im unable to add openHAB bridge: after scan HomeKit QR Code from OH and waiting several minutes it fails (I noticed that it doesn’t even ask me to add the unverified accessory)

I’m on 16.4.1 and not having any problem but haven’t migrated to the new home architecture yet (at least not that I’m aware of).

So 16.4 or 16.4.1 in itself are not causing any issue at all. Also interested in whether I should look at migrating to the new architecture or not

Yes, HomePod v16.4.1 is working fine and without any problems for me. But as everyone else I am concerned to update to the new “Home Architecture” :slight_smile:

Since upgrading to 16.5 all Osram Plugs connected to Hue Bridge are not responding anymore in OH3.4.4.
Just see that also all Homematic devices are not responding anymore as well.
Does anyone has the same issue?