Home (HomeKit) in 2022 : best solution/approaches

Hi folks,
as there is scattered topics across OH quite a lot, can we summarize what’s what in 2022 with OH3.3 in terms of Home(kit) ?

It’s been while back in OH2 where I experimented with Homekit and homebridge, but it was very unstable, everyother time unreachable and overal terrible to use. So I’m happy with sitemap/app.
Time flies and I’ve gave it a shot again with OH3.3 recently.

1. HomeKit integration Binding
Way better than it was, but still just like 90% of the time it’s working and 10% “unreachable”
Quite a lot of annoyance with “no remote access” while I’m not willing to use AppleTV as a bridge - I do have own VPN so I’m really not going to “allow remote” from apple directly.
As well a lot of issues in the logfile, just while iddling basically every 10mins

[WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]

2. homebridge-openhab2

Been using this in OH2, as it seems it’s adapted to OH3, but did not yet investigated it freshly
Anyone using it with OH3?

3. homebridge-openhab3

Seems like it’s not even existing

Not Found - GET https://registry.npmjs.org/homebridge-openhab3-complete - Not found

Downsite of these as I recon was unstability and unreachable items quite often. As well as need of separated json with Things, which is pretty annoying to maintain in logrun and in the very beginning of setting everything.


Would like to have some insigts if anybody is using it reliable and what’s configs you have to make them reliable. It’s quite heavy topic, yet not sure if worth the time spend on it :slight_smile:
But you know… there are times you have to even you know you dont need to :slight_smile:


edit:
as for now, HomeKit binding included in OH3 is the best way how to make it work reliably. Despite some inssues with inviting users (investigating) everything works flawlessly

as one of the homekit binding maintainers im probably too biased for an objective discussion here :slight_smile:

but i can tell the number of homekit bugs reports here has significantly reduced in the last 5-6 months.
unclear, due less bugs or less people using the binding

personally i use of course the homekit binding, with over 120 devices, all different types. stable since 2 years, all time responsive, it just runs.

btw, the bug you mentioned “Unknown user” was actually fixed with 3.3 or so. the issues reported nowadays are mainly related to docker deployments.

There is no offense meant in my post :wink:
I tend to use build in stuff not 3rd party as well and pointed out that’s binding is way more better than it was.
Would be great somehow resolve no remote access bullshit from apple :thinking:

apparently it was not (and i’m not running it in docker)

actually, im thankful for this kind of topics. it gives a feedback and shows the areas of improvements.

on remote access: im afraid, it is part of the apple design. Homekit protocol uses multicast (mDNS) to find homekit accessories (including openHAB). VPN usually does not support routing for multicast. even if you enable multicast routing on your side, it looks like iOS will still not use VPN for mDNS.
https://developer.apple.com/forums/thread/695401

without multicast you will see “no response” in home app. this issue you will have with all 3 options for OH-homekit integration.

the only solution, i could think of, would be a custom home (homekit) app… but then you can use OH app.

on your error:
, in the older version, homekit binding was loosing pairing information randomly which led to this message. that issue is fixed. but you can still get this message for wrongly paired device. the message says - binding got homekit request from unknown device (user=device) that is not paired correctly. do you have any ios device with non-working homekit home? maybe you have multiple homes in home app? you need to delete that home and the message will disappear.

will tripple check this, thank you.
But I’m not aware - as well this is new HomeKit binding install so I guess it would have different QR than like 2yrs ago had.

pff, thanks for link. Hole into the local network, no way…
and it’s not even possible to hide that stupid warning which takes 1/3 of the display :thinking:

so I’ve checked it everywhere and all “homes” are this new recent as they are synced by iCloud (even remote access is allowed from tablet)
Only thing I can think of, it’s caused by user I’ve invited to home who is part of the family iCloud.
Other than that, there is no old configuration anywhere.

it must be device that is currently in your network. it sends regularly request to openHAB and asks for accessories. but openHAB does not recognize this device anymore. if you have table as bridge for remote access, disable bridge for some time to check - maybe bridge has some old home that is not visible anymore.

I don’t
this OH3 instance is even completely new from old OH2 on new hardware and new linux… so unlikely is somewhere something cached.
Is there a way to flush everything from the binding?

is there a way how to decode user asking for access and/or device identifier somehow?

anyway, none of my devices here have any configuration pointing to this OH instance :man_shrugging:

since I removed this invited user, it looks like error is not appearing. So it must be related.

1 Like

Oh, nice to read from one of the binding maintainers - I have to confess that I switched multiple years ago to Homebridge + Plugin because I had too much trouble with the binding :sweat_smile:

If you say that the binding got (finally?) more reliable than I might have to give it a spin again :thinking:

1 Like

I use this binding since 2 years. With OH2.x it was far from perfect. A lot of “not reachable”, “not resonding” etc.
But since OH3 it works perfectly for me. There wasn’t any issue since I updated to OH3.x.
I can’t see or feel any difference compared to a “native” Apple bridge or device. There is now in iOS16 no delay at all. When I open the Home app every device status is already updated and response to an interaction.
So I would give the Homekit Binding 5/5 stars :star: :star: :star: :star: :star:

1 Like

+1 for what @dirkdirk said, using it with HomePod Mini as bridge without any problems.

5/5 stars :star: :star: :star: :star: :star:

1 Like

@dirkdirk @crnjan wow, 5 stars. thank you! you know how to motivate contributors :slight_smile:
i will immediately implement something :slight_smile:

1 Like

I’m giving 4,5/5 just because of this issue :wink:
I have some difficulties to configure HeaterCooler a bit, sometimes it shows as temperature only, sometimes like bigger tile - so investigating it a bit.

Othere than that it works really well and definitely no unreachable items as with OH2x!

@yfre shall I create issue in git about invited user or you think this was really solved and it’s my local issue?

1 Like

@kriznik thank for 4.5 despite of the issue.

we should try to reproduce this issue. please try on your side to invite that user again and check logs. i will do it here in my setup. if we can reproduce then lets create git issue for it.

In the past I also had the issue with homekit occasionally forgetting my items through the homekit binding and having to re-add them to my homekit rooms. But I haven’t had that issue for some time and otherwise it has been spot on including with the recent ios/homekit app updates. I only use the homekit gui occasionally but I do rely on it for presence detection (we’re an ios household for phones) and showing messages on carplay as in when the garage opens and closes.

I wonder if some of the op’s issues are relate to not having a homekit hub/ipad in use?

I am using openHAB for more than 2 years now and recently (~3 months ago) I switched from the Alexa ecosystem to Homekit. I use Apple devices (Smartphone, Watch) since years and therefore, it seemed logical to me to have a native integration into my daily work devices. And I have to admit: it was a good decision.

The Homekit integration in openHAB works great. I haven’t experienced any outage or items, which are “not reachable”. The only problem I had once was reconfiguring all devices to their rooms, because they have lost the room association. But I think this was due to a configuration error on my side. Otherwise, to control my smarthome from my Apple Watch or iPhone is a great opportunity and I am very thankful to use this binding. The only downside is to miss some accessory types (like vacuum cleaner), but this is up to Apple.

Just for clarification: I use Homekit as a frontend on my Apple devices and to interact with Siri. The complete logical part (e.g., automations, rules, scenes) is still based in openHAB. Because I am that satisfied with this binding I switched entirely from Alexa Echos to Apple Homepods.

@yfre great work and thank you for maintaining this binding! :slight_smile:

1 Like

Alright so reproduceable:

  1. openhab 3.3 running on dedicated linux (no docker)
  2. configured home for myself (working)
  3. invite user from configured iphone via available family icloud members (on same wifi, network everything)
  4. accept invite on another phone
  5. restart Home app and select Home which was invited to
  6. log full of errors:

note: home is not having appletv/homepod in the setup

2022-11-23 11:04:00.548 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:05.587 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:06.066 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:15.694 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:21.686 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:24.589 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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-11-23 11:04:32.205 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: BF8FF1CD-7AD4-4614-AEDA-84B1768C960A
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
        at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
        at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
        at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [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) [?:?]

@derSchweiger @pleedell thank you for your feedback.

regarding issue with re-adding accessories to a room - @ccutrer has submitted an enhancement to fix this issue. accessories will stay in the correct rooms even if openhab item config is broken. enhancement is still in the review, i hope it will made into the 3.4. release.

2 Likes

Regarding the issue of items becoming unresponsive in a docker Szenario: I fixed it with avahi daemon on the host machine.

When the setup was done I copied the whole hap tcp announcement by OH and added it to avahi daemon on the host machine. So usually openhabs hap announcement is there twice, but when OH3 stops it’s hap announcement (which is the reason for items becoming unresponsive) there is at least the avahi one pointing to the same machine.

This works now for months instead of days or hours.

1 Like

Btw it would help if I could in turn now turn off the announcement from within OH to avoid the duplicate