Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[homekit] All accessories are in "No response" state after upgrade to iOS 16.2 (and Home upgrade) #13949

Closed
georgo opened this issue Dec 13, 2022 · 61 comments · Fixed by #13982
Closed
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@georgo
Copy link

georgo commented Dec 13, 2022

Expected Behavior

Homekit accessories are available in Home app.

Current Behavior

Hi,

today I upgraded all my devices (incl. my home hub - Apple TV) to iOS 16.2 - Home app asks to upgrade it self, so I did it.
Since then, all openHAB accessories are in state "No response"

I tried completely remove homekit from openHAB, incl. deletion of homekit.json file in jsondb directory and called clearPairings

After I try re-pair openHAB again in Home, it successfully find bridge, find all accessories, but all of them remains in "No response" state.

What I noticed in homekit.json is user:

  "user_2e:bd:52:5e:c5:73EF874ABF-3C30-4B6A-86CB-80D3D97A9D12": {
    "class": "java.lang.String",
    "value": "[REDACTED]"
  }

But during pairing, my log i flooded with following error:

2022-12-13 23:12:19.900 [WARN ] [.server.impl.connections.HttpSession] - Exception encountered while verifying pairing
java.lang.Exception: Unknown user: 1EAA342F-4183-49E7-B84E-1055D8D73E95
	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) [?:?]

^^ where it appears to be more user ids in logs

Possible Solution

I have no idea, what changed in 16.2 in technical terms, but here is some article about it: https://9to5mac.com/2022/10/25/ios-16-2-new-architecture-home-app/ and https://www.homekithelper.net/tips/ios-16-matter-thread-new-architecture

Steps to Reproduce (for Bugs)

  1. Upgrade Apple devices to newest production iOS/iPadOS/...
  2. Open Home app, go to Home settings and upgrade your home (FYI there is no turning back)
  3. openHAB becomes unresponsible

Environment

Running openHAB 3.4.0.M6 (but it didn't work in 3.4.0.M4 either) in docker on Raspberry Pi, with host network mode
This is my homekit.cfg:

org.openhab.homekit:port=9123
org.openhab.homekit:pin=123-45-679
org.openhab.homekit:networkInterface=192.168.96.8
org.openhab.homekit:useOHmDNS=false
org.openhab.homekit:blockUserDeletion=false
org.openhab.homekit:name=openHAB

Before upgrade to iOS 16.2 everything works perfect.

@georgo georgo added the bug An unexpected problem or unintended behavior of an add-on label Dec 13, 2022
@jlaur
Copy link
Contributor

jlaur commented Dec 13, 2022

FYI @ccutrer, @yfre

@ccutrer
Copy link
Contributor

ccutrer commented Dec 13, 2022

I'm just about to press Home upgrade right now. Maybe I shouldn't? ;) (yes, I will)

@yfre
Copy link
Contributor

yfre commented Dec 13, 2022

@georgo please make sure you have no apple tv/homepod acting as homekit bridge. just disable it for some time (you can activate it later).
according to logs, you have somewhere an ios device that is still paired with old paring to openhab and it keeps trying to connect and openhab reject as unknown user as you have cleaned up old pairing. so, i would suspect it is the bridge

@yfre
Copy link
Contributor

yfre commented Dec 13, 2022

@georgo
Copy link
Author

georgo commented Dec 13, 2022

@yfre Good point, I'll try tomorrow morning.

@yfre
Copy link
Contributor

yfre commented Dec 13, 2022

just did upgrade of my iphone to 16.2. home app works as usual, all 120+ accessories are responding. apple tv is still on 16.1. will upgrade tomorrow.

@ktgeek
Copy link
Contributor

ktgeek commented Dec 14, 2022

Just adding another voice, I don't have any good debug/workaround steps. Just upgraded all the OSes on Mac, AppleTV, phone, and watch, then upgraded the Home to the new framework. Tossing the Unknown User error and nothing is responding. Once the family is asleep I'll try rebooting all the devices that can be hubs, currently one of my AppleTVs is.

Update: Rebooted the AppleTV that was acting as a hub, still got the error. Rebooted the OTHER AppleTV that became the hub, still got the error, and the original ATV is the hub again.

Update: removed OpenHAB from Home and cleared pairings and then re-added. All the devices were asked about and sorted, but still show as no response and the "Exception encountered while verifying pairing java.lang.Exception: Unknown user:" error continues.

@maxulm
Copy link

maxulm commented Dec 14, 2022

Saw this topic too late and ran into the same problem.

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

@ktgeek @maxulm can you try to disable apple tv bridge and see whether this helps?
do you have real homekit devices connected directly and not via openHAB? are they working

@maxulm
Copy link

maxulm commented Dec 14, 2022

@yfre I do not have an Apple TV but a Homepod as bridge.
If I turn it off, it works but is exremely slow.
And no, besides the Homepod itself there are only OpenHab-Devices.

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

@maxulm ok. thank you for the test. so, the issue is the homepod or apple tv acting as bridge.

could you please try one more thing, if you have access to karaf console please executed following command

homekit:allowUnauthenticated true

and check whether it works with homepod

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

just did small research and there are reports about similar issue with real homekit devices, without openHAB
e.g.
https://developer.nuki.io/t/ios-16-2-new-architecture-issues-homekit/18663

@georgo
Copy link
Author

georgo commented Dec 14, 2022

I tried homekit:allowUnauthenticated true yesterday, without effect.

do you have real homekit devices connected directly and not via openHAB? are they working

I have Eve Plugs and they're seems working. But Eve Room (thermometer) is not responding.

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

apple, apple, what have you done.

it looks like Apple did a breaking change. in addition, Apple has also removed the official documentation about the homekit protocol from the developer portal (at least i cannot find it anymore), so, no idea what they have changed.

we would need to wait for more reports and monitor other open source homekit implementation, e.g. homebridge.

@georgo
Copy link
Author

georgo commented Dec 14, 2022

FYI homebridge.io seems to be working for me.

@grzegorz914
Copy link

grzegorz914 commented Dec 14, 2022

On my side iOS16.2 running on all apple devices, Apple TV and 2 HomePods mini, iPhone, iPad, all working fine with new architecture, in the new architecture the data is updated in background constantly, so after open home.app the values are already updated no need to refresh it during app open. I have convert my system some weeks ago with beta update and the response was slow but now is just all fine.
Some info here: https://www.homekithelper.net/tips/ios-16-matter-thread-new-architecture

P.S.- 114 accessory on openHAB 3.4 and 16 Homebridge
IMG_0773

@ktgeek
Copy link
Contributor

ktgeek commented Dec 14, 2022

@ktgeek @maxulm can you try to disable apple tv bridge and see whether this helps?
do you have real homekit devices connected directly and not via openHAB? are they working

Unfortunately, they removed the ability to disable the AppleTV as a hub in the new release (and I have homepods.) If I have a chance later today, I'll try to unplug everything and recreate what @maxulm did.

As others have noted, Homebridge.io continues to work, as well as the two pure Homekit devices I have: the MyQ home bridge and an iDevices outdoor switch.

I also did try the allowAuthenticated without any success.

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/homekit-ios-16-2-issues-dont-upgrade/142069/1

@schariwari
Copy link

Same here,
updated all apple-device with actual OS (including the appleTV, which is my HomeKit-hub). Did then the "manual update" via my iPhone.
-> all openHAB-devices are "not responding", everything which come through home-bridge into HomeKit is working well.

@grzegorz914
Copy link

May be reboot all devices

@schariwari
Copy link

Already done.
BTW: Running OpenHAB 3.4.0 Build #3224

@ccutrer
Copy link
Contributor

ccutrer commented Dec 14, 2022

I haven't been able to upgrade my home yet, so can't try this myself. It's a long shot anyway (since apparently re-pairing doesn't help), but what happens if you add another accessory from openHAB? That sometimes works for me to force HomeKit to reconnect and re-read the accessory database, since it increments the version number essentially.

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

@georgo and others with issue.

if you have time, could please try following

  • find in the log files the error with unkown user. copy the user id
  • stop openhab
  • open homekit.json in an editor
  • copy paste the user block (looks like below) and replace the user id (it starts with 3rd character after :). dont forget "," to separate the entries.
    "user_2e:bd:52:5e:c5:73EF874ABF-3C30-4B6A-86CB-80D3D97A9D12": {
    "class": "java.lang.String",
    "value": "[REDACTED]"
    },
  • start openhab

e.g. in case of @georgo homekit.json should contain these 2 entries
"user_2e:bd:52:5e:c5:73EF874ABF-3C30-4B6A-86CB-80D3D97A9D12": {
"class": "java.lang.String",
"value": "[REDACTED]"
},
"user_2e:bd:52:5e:c5:731EAA342F-4183-49E7-B84E-1055D8D73E9": {
"class": "java.lang.String",
"value": "[REDACTED]"
},

i known, it is pretty tricky to edit homekit.json, but this would be a huge help for troubleshooting.

background:
openHAB homekit addon stores the "key" used for the encryption for each device / user in homekit.json as the "value" insides of the user entry.
with ios16.2 we get suddenly requests from unkown user. my hope that the same key can be used for the uknown device.

@georgo
Copy link
Author

georgo commented Dec 14, 2022

I tried to duplicate user record in homekit.json as suggested, but still not works. Seems like encryption key is different (?)

2022-12-14 19:00:16.491 [WARN ] [impl.pairing.PairVerificationManager] - Invalid signature. Could not pair openHAB

^^ appears multiple time in log since then

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

@georgo thanks for checking. the only way to get the key is the pairing. so, probably there were some changes. you can also check in the backup directory the older homekit.json. maybe the unknown user was known before and have the key in the older homekit.json

@yfre
Copy link
Contributor

yfre commented Dec 14, 2022

i have upgraded all devices i could to 16.2 including apple tv, mac, ipad. all works fine. but i cannot switch to homekit new architecture as i have older apple devices at home with no ios 16 upgrade available. so, im afraid i will not be able to completely reproduce the issues

@schariwari
Copy link

schariwari commented Dec 15, 2022

@ccutrer: To answer your question: If I add something new (in this case "just" a switchable), simply nothing happened at the HomeKit-side.
-> No new item at the HomeKit-side
-> nothing changed at the "Not responding"-story.

@ccutrer
Copy link
Contributor

ccutrer commented Dec 15, 2022

@ccutrer: To answer your question: If I add something new (in this case "just" a switchable), simply nothing happened at the HomeKit-side.

-> No new item at the HomeKit-side

-> nothing changed at the "Not responding"-story.

Ok, thanks. I figured that's what would happen, but wanted to be sure.

@sfranzis
Copy link

i have upgraded all devices i could to 16.2 including apple tv, mac, ipad. all works fine. but i cannot switch to homekit new architecture as i have older apple devices at home with no ios 16 upgrade available. so, im afraid i will not be able to completely reproduce the issues

If you don't need your older devices to use HomeKit, then update should still be possible.

@ccutrer
Copy link
Contributor

ccutrer commented Dec 20, 2022

Looks like I had a compilation problem in the JAR I posted yesterday, jumping back and forth among multiple branches. https://github.com/ccutrer/openhab-addons/releases/tag/homekit-20221220-01. 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).

@ktgeek
Copy link
Contributor

ktgeek commented Dec 20, 2022

Looks like I had a compilation problem in the JAR I posted yesterday, jumping back and forth among multiple branches. https://github.com/ccutrer/openhab-addons/releases/tag/homekit-20221220-01. 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).

Looks like @ccutrer getting ahead of the curve snuck in java 17 as a requirement for this jar based on the error I got in my local env. I'm still on 11, so heads up for folks like me. (Guess its time to go 17)

@ccutrer
Copy link
Contributor

ccutrer commented Dec 20, 2022

Lulz, yup, had to to build against current main of openhab-addons which now requires java17. 3.4.0 allows either java 11 or java 17. I had zero issues upgrading to java 17 this morning myself (just apt install openjdk-17-jdk on an Ubuntu system, though you can probably get away with openjdk-17-jre-headless if you're not compiling anything). I'd feel bad, but this has been a bit of a whirlwind.

@ktgeek
Copy link
Contributor

ktgeek commented Dec 20, 2022

Can confirm, on zulu's jdk 17, and no issues (in the 8 minutes since my last message)

@ccutrer
Copy link
Contributor

ccutrer commented Dec 20, 2022

https://github.com/ccutrer/openhab-addons/releases/tag/homekit-20221220-02 should work for 3.4.0+Java 11, but I have not tested it since I require the other unreleased features in my local environment.

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

@sfranzis
Copy link

Thanks for fixing this. It basically now works for me and my devices stay available. 👍
Two points:

  • After clicking around in openhab a bit I had the 'no response' state one time again. Restarting the binding helped.

  • I still get the unknown user message in the logs.

2022-12-21 08:05:39.889 [INFO ] [er.impl.jmdns.JmdnsHomekitAdvertiser] - Registering _hap._tcp.local. on port 9123
2022-12-21 08:05:39.891 [INFO ] [mekit.internal.HomekitChangeListener] - Created 12 HomeKit items in instance 1.
2022-12-21 08:05:41.930 [WARN ] [erver.impl.pairing.PairVerifyManager] - Unknown user: 9C4F9D96-B222-4F9F-AF61-AFCBFF9C8876```

@schariwari
Copy link

for me it works now with the Java11 version.
KUDOS!

@sfranzis
Copy link

sfranzis commented Dec 21, 2022

Noob question: How can I verify, the update command worked?
In /var/lib/openhab/tmp/kar/openhab-addons-3.4.0/org/openhab/addons/bundles/org.openhab.io.homekit/3.4.0/ I still see the version from Dec-19.

@ccutrer
Copy link
Contributor

ccutrer commented Dec 21, 2022

Noob question: How can I verify, the update command worked?

In /var/lib/openhab/tmp/kar/openhab-addons-3.4.0/org/openhab/addons/bundles/org.openhab.io.homekit/3.4.0/ I still see the version from Dec-19.

The path you listed is just the temporary copy extracted from the kar distributed with openHAB. To see what's currently running, you use bundle:list | grep HomeKit from the console. I believe they're stored at /var/lib/openhab/cache/org.eclipse.osgi/<bundle id>/<no idea>/bundleFile, where bundle id is the the id shown from the bundle:list command.

@ccutrer
Copy link
Contributor

ccutrer commented Dec 21, 2022

Thanks for fixing this. It basically now works for me and my devices stay available. 👍

Two points:

  • After clicking around in openhab a bit I had the 'no response' state one time again. Restarting the binding helped.

  • I still get the unknown user message in the logs.


2022-12-21 08:05:39.889 [INFO ] [er.impl.jmdns.JmdnsHomekitAdvertiser] - Registering _hap._tcp.local. on port 9123

2022-12-21 08:05:39.891 [INFO ] [mekit.internal.HomekitChangeListener] - Created 12 HomeKit items in instance 1.

2022-12-21 08:05:41.930 [WARN ] [erver.impl.pairing.PairVerifyManager] - Unknown user: 9C4F9D96-B222-4F9F-AF61-AFCBFF9C8876```

Yup, that's okay to happen once (per additional user or hub) associated with your Home. Basically, these devices have a public/private key that's permanently associated with them, and when you pair a new HomeKit accessory they now just try to "login" to it to see if the accessory still has their information stored. All we have to do is respond "nope, no idea who you are", and then they'll go through the first device that paired asking it to ask the accessory to add them. Originally we were giving a 500 error instead of an auth error in this scenario.

As long as you're not seeing this warning repeatedly in the log, you're fine.

@stValDor
Copy link

Hey @ccutrer thank you so much for the swift fix. I can confirm that it works now. 😃

However, I would like to give a hint to those using dockerhub container openhab/openhab:latest.
Somehow, just updating jar from the console did not help. For my instance. Hence backuped all my things and item files, cleared the containers local storage and pulled a fresh image.
After installing the homekit plugin, it gave be a pairing error (unknown user) - however, the update via console worked after pairing and all items are available now.

Again - thanks sooo much !

ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Dec 22, 2022
refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Dec 22, 2022
refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
@JacekKac
Copy link
Contributor

JacekKac commented Dec 22, 2022

i have problems after updating to
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
everythinkg is working but my thermostat items are gone... probably because the TempSensor are gone ;)

[INFO ] [mekit.internal.HomekitChangeListener] - Created 13 HomeKit items in instance 1.

openjdk 11.0.9 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode)
openhab:
Version: 3.4.0.M4 (Build)

TempSensor group/items:

items.replaceItem({ type: 'Group', name: `gRoom${i}_TempSensor`, label: `Czujnik temperatury ${i}`, tags: [`Room${i}`], category: 'temperature', groups: [`gRoom${i}`], metadata: {homekit: `TemperatureSensor,Battery` } } );
    items.replaceItem({ type: `Number`, name: `TempSensor${i}_CurrentTemp`, label: `Temperatura aktualna`, tags: [`Room${i}`], category: `temperature`, groups: [`gRoom${i}_TempSensor`,`gRoom${i}`,`gRoom${i}_termostat`], metadata: { homekit: `TemperatureSensor.CurrentTemperature,Thermostat.CurrentTemperature`, ga: { value: 'thermostatTemperatureAmbient', config: {roomHint: roomlabels[i], structureHint: roomlabels[0]}}, stateDescription: { value: ` `, config: { pattern: `%.1f °C`} } }, channels: { [`mqtt:topic:mymqttbroker:Temp_${i}:temperature`]: {} } });
    items.replaceItem({ type: `Switch`, name: `TempSensor${i}_BatteryLow`, label: `Niski poziom baterii`, tags: [`Room${i}`], category: `temperature`, groups: [`gRoom${i}_TempSensor`,`gRoom${i}`,`gRoom${i}_termostat`], metadata: { stateDescription: { value: ` `, config: { pattern: `%s`} }, homekit: {value: `TemperatureSensor.BatteryLowStatus,Battery.BatteryLowStatus`}}  });
    items.replaceItem({ type: `Number`, name: `TempSensor${i}_Battery`, label: `Poziom baterii`, tags: [`Room${i}`], category: `temperature`, groups: [`gRoom${i}`,`gRoom${i}_TempSensor`,`gRoom${i}_termostat`], metadata: { stateDescription: { value: ` `, config: { pattern: `%.1f %%`} }, homekit: {value: `Battery.BatteryLevel`} }, channels: { [`mqtt:topic:mymqttbroker:Temp_${i}:battery`]: {} } });
    items.replaceItem({ type: `Switch`, name: `TempSensor${i}_FaultStatus`, label: `Czujnik temperatury`, tags: [`Room${i}`], category: ``, groups: [`gRoom${i}`,`gRoom${i}_TempSensor`,`gRoom${i}_termostat`], metadata: { stateDescription: { value: ` `, config: { pattern: `%s`} }, homekit: {value: `TemperatureSensor.FaultStatus`} }, channels: { [`mqtt:topic:mymqttbroker:Temp_${i}:availability`]: {} } });

2022-12-22 14:16:52.485 [WARN ] [.accessories.HomekitAccessoryFactory] - Cannot instantiate accessory implementation for accessory TemperatureSensor
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitAccessoryFactory.create(HomekitAccessoryFactory.java:192) ~[?:?]
        at org.openhab.io.homekit.internal.HomekitChangeListener.createRootAccessories(HomekitChangeListener.java:457) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:183) ~[?:?]
        at org.openhab.io.homekit.internal.HomekitChangeListener.applyUpdates(HomekitChangeListener.java:297) ~[?:?]
        at org.openhab.io.homekit.internal.Debouncer.tryActionOrPostpone(Debouncer.java:102) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchMethodError: 'org.openhab.core.library.types.QuantityType org.openhab.core.library.types.QuantityType.toUnitRelative(javax.measure.Unit)'
        at org.openhab.io.homekit.internal.HomekitTaggedItem.getConfigurationAsQuantity(HomekitTaggedItem.java:430) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitCharacteristicFactory.getTemperatureStep(HomekitCharacteristicFactory.java:306) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitTemperatureSensorImpl.getMinStepCurrentTemperature(HomekitTemperatureSensorImpl.java:78) ~[?:?]
        at io.github.hapjava.services.impl.TemperatureSensorService.<init>(TemperatureSensorService.java:30) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitTemperatureSensorImpl.<init>(HomekitTemperatureSensorImpl.java:41) ~[?:?]
        ... 15 more
2022-12-22 14:16:52.495 [WARN ] [mekit.internal.HomekitChangeListener] - Cannot create accessory Item:gRoom2_TempSensor (Type=GroupItem, Members=4, State=NULL, Label=Czujnik temperatury 2, Category=temperature, Tags=[Room2, _DYNAMIC_], Groups=[gRoom2])  HomeKit type: 'TemperatureSensor' characteristic: 'Empty'
2022-12-22 14:16:52.503 [WARN ] [.accessories.HomekitAccessoryFactory] - Cannot instantiate accessory implementation for accessory Thermostat
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitAccessoryFactory.create(HomekitAccessoryFactory.java:192) ~[?:?]
        at org.openhab.io.homekit.internal.HomekitChangeListener.createRootAccessories(HomekitChangeListener.java:457) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:183) ~[?:?]
        at org.openhab.io.homekit.internal.HomekitChangeListener.applyUpdates(HomekitChangeListener.java:297) ~[?:?]
        at org.openhab.io.homekit.internal.Debouncer.tryActionOrPostpone(Debouncer.java:102) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchMethodError: 'org.openhab.core.library.types.QuantityType org.openhab.core.library.types.QuantityType.toUnitRelative(javax.measure.Unit)'
        at org.openhab.io.homekit.internal.HomekitTaggedItem.getConfigurationAsQuantity(HomekitTaggedItem.java:430) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitCharacteristicFactory.getTemperatureStep(HomekitCharacteristicFactory.java:306) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitThermostatImpl.getMinStepCurrentTemperature(HomekitThermostatImpl.java:137) ~[?:?]
        at io.github.hapjava.services.impl.ThermostatService.<init>(ThermostatService.java:53) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitThermostatImpl.<init>(HomekitThermostatImpl.java:84) ~[?:?]
        ... 15 more
2022-12-22 14:16:52.513 [WARN ] [mekit.internal.HomekitChangeListener] - Cannot create accessory Item:gRoom3_termostat (Type=GroupItem, Members=22, State=NULL, Label=Termostat 3, Category=heating, Tags=[_DYNAMIC_, Room3], Groups=[gRoom3])  HomeKit type: 'Thermostat' characteristic: 'Empty'
2022-12-22 14:16:52.521 [WARN ] [.accessories.HomekitAccessoryFactory] - Cannot instantiate accessory implementation for accessory Thermostat
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.openhab.io.homekit.internal.accessories.HomekitAccessoryFactory.create(HomekitAccessoryFactory.java:192) ~[?:?]
        at org.openhab.io.homekit.internal.HomekitChangeListener.createRootAccessories(HomekitChangeListener.java:457) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:183) ~[?:?]

@ccutrer
Copy link
Contributor

ccutrer commented Dec 22, 2022

The toUnitRelative method missing is indicative that you're not actually running 3.4.0. That method was introduced in core about two months ago.

@jlaur jlaur linked a pull request Dec 22, 2022 that will close this issue
jlaur pushed a commit that referenced this issue Dec 22, 2022
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs #13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
jlaur pushed a commit that referenced this issue Dec 22, 2022
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs #13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Dec 23, 2022
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
andrasU pushed a commit to andrasU/openhab-addons that referenced this issue Dec 24, 2022
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
dougculnane pushed a commit to dougculnane/openhab-addons that referenced this issue Dec 26, 2022
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Doug Culnane <doug@culnane.net>
andrewfg added a commit to andrewfg/openhab-addons that referenced this issue Dec 27, 2022
commit 1df693a
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 27 16:27:19 2022 +0100

    [bluetooth.am43] null annotations (openhab#13972)

    * null annotations forbidden package
    * improve createChecksum
    * spotless + typo

    Signed-off-by: lsiepel <leosiepel@gmail.com>

commit 8b1d0fc
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 27 16:16:55 2022 +0100

    null annotations - checkstyle (openhab#13979)

    Signed-off-by: Leo Siepel <leosiepel@gmail.com>

commit df6454e
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 27 16:13:12 2022 +0100

    minro checkstyle (openhab#13977)

    Signed-off-by: Leo Siepel <leosiepel@gmail.com>

commit 9687c3d
Author: Jiri Kraus <jkraus@nvidia.com>
Date:   Tue Dec 27 16:08:12 2022 +0100

    [velux] Updated Discovery instructions for scenes and actuators (openhab#14009)

    * Updated Discovery instructions for scenes and actuators

    Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

    * @jirikraus Updated Discovery instructions for scenes and actuators

    Formatting update to address comment from @andrewfg.

commit 35e930c
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 27 12:56:43 2022 +0100

    [astro] Added moon phase precision (openhab#14067)

    * add more precision to MoonPhase.Age

    Signed-off-by: lsiepel <leosiepel@gmail.com>

commit 4a98295
Author: mlobstein <michael.lobstein@gmail.com>
Date:   Tue Dec 27 05:54:26 2022 -0600

    [nuvo] Auto update source channel for grouped zones (openhab#14012)

    * Auto update source channel for grouped zones

    Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

commit e39e691
Author: Cody Cutrer <cody@cutrer.us>
Date:   Tue Dec 27 03:55:12 2022 -0700

    [homekit] support Rollershutter items for HoldPosition (openhab#14045)

    * [homekit] support Rollershutter items for HoldPosition

    just send STOP to them

    * [homekit] log a warning for incompatible HoldPosition items

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit 0b59be6
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Tue Dec 27 11:41:59 2022 +0100

    Skip loading/migrating items with invalid name (openhab#14054)

    Fixes openhab#14053

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit e7938ae
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Tue Dec 27 10:55:15 2022 +0100

    [rrd4j] Improve logging of exceptions thrown by getDB (openhab#14068)

    Add exception message for better identification of root cause.

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit e5f30b1
Author: Tim Harper <tharper@d2iq.com>
Date:   Tue Dec 27 02:25:28 2022 -0700

    [tplinksmarthome] Document sending raw commands to devices (openhab#14062)

    Signed-off-by: Tim Harper <timcharper@gmail.com>

    Signed-off-by: Tim Harper <timcharper@gmail.com>

commit 1c5b794
Author: lsiepel <leosiepel@gmail.com>
Date:   Mon Dec 26 17:00:53 2022 +0100

    [airvisualnode] Add null annotations (openhab#13895)

    * Add null annotation

    Signed-off-by: Leo Siepel <leosiepel@gmail.com>

commit 88c0b72
Author: Wouter Born <github@maindrain.net>
Date:   Mon Dec 26 15:27:03 2022 +0100

    [jsscriptingnashorn] JavaScript Scripting Nashorn Automation  (openhab#14013)

    * [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

    This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
    The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

    * Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

    For the Nashorn changelog, see:

    https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

    * Update parent to 4.0.0-SNAPSHOT
    * Remove removeUnsupportedNashornArgs
    * Update scriptTypes
    * Add CODEOWNERS entry
    * Recycle ScriptScopeOSGiTest.java

    It got removed in openhab/openhab-core#2994

    * Remove redundant new line from pom.xml

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 605574b
Author: Hilbrand Bouwkamp <hilbrand@h72.nl>
Date:   Mon Dec 26 10:17:42 2022 +0100

    Set openHAB to correct version in binding skeleton scripts. (openhab#14061)

    Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>

commit 6cd59e4
Author: Jørgen Austvik <jaustvik@acm.org>
Date:   Sun Dec 25 20:56:04 2022 +0100

    [nanoleaf] More robust caching of layout (openhab#13998)

    * [nanoleaf] More robust caching of layout

    This is a bugfix/enhancement to make sure the caching of the layout
    (to save it from being recalculated) works better:
    - Only save previous layout if indeed painted
    - Only save layout from the layout update, not the display state
    - Recalculate anyway if current state is null

    * Bugfix: Update colors

    When Stefan runs, the getBridge() returns null, when Jørgen runs, is doesn't. But it isn't needed, because we
    are already in the handler, so just call own methods.

    Improvement: Less draws when updating colors

    Instead of drawing the picture for each panel (which gave a cool effect), draw only once when we have parsed all color data.

    Signed-off-by: Jørgen Austvik <jaustvik@acm.org>

commit 0357049
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Sat Dec 24 12:11:28 2022 +0100

    [knx] Fix SAT warnings (openhab#14052)

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit f619798
Author: Cody Cutrer <cody@cutrer.us>
Date:   Fri Dec 23 16:00:57 2022 -0700

    [lifx] Handle and provide QuantityType for color-temperature-abs channel (openhab#14025)

    See openhab/openhab-core#3129

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit b62e145
Author: Cody Cutrer <cody@cutrer.us>
Date:   Fri Dec 23 15:41:44 2022 -0700

    [homekit] Allow configuring secondary services as members of a group (openhab#13879)

    * [homekit] allow configuring secondary services as members of a group

    Required introduction of AccessoryGroup to represent the base
    AccessoryInformationService for ease of configuring multiple of the
    same service.

    This is also "breaking" in that someone who previously had HomeKit
    accessories nested directly inside of a group that was itself a
    HomeKit accessory will now have those items grouped within the Home
    app.

    * [homekit] combine multiple readme sections on complex accessories

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit b1d4c40
Author: Wouter Born <github@maindrain.net>
Date:   Fri Dec 23 14:10:58 2022 +0100

    Remove JavaScript Transformation pom.xml (openhab#14048)

    Everything except for this pom.xml got removed in openhab#13276

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 7c2d5dc
Author: Cody Cutrer <cody@cutrer.us>
Date:   Thu Dec 22 16:16:55 2022 -0700

    [homekit] implement List-Pairings method (openhab#13982)

    * [homekit] implement List-Pairings method
    * [homekit] fix listUsers() method
    * [homekit] bump HAP-java to 2.0.5

    refs openhab#13949

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit fbf302e
Author: Wouter Born <github@maindrain.net>
Date:   Fri Dec 23 00:13:17 2022 +0100

    Use HTTPS in pom.xml where possible (openhab#14044)

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 14c8b39
Author: Andreas Berger <Andy2003@users.noreply.github.com>
Date:   Thu Dec 22 21:17:07 2022 +0100

    [fineoffsetweatherstation] Fix QuantityType for rain-rate (openhab#14039)

    A community member realized, that the used unit for rain-rate was wrong (https://community.openhab.org/t/fine-offset-weather-station-binding-discussion/134167/153)
    Rain rate is measured in mm/h and so it is not a `VolumetricFlowRate` but a `Speed`.

    Additionally, I added some details to the doc.

    Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>

commit af16d52
Author: Wouter Born <github@maindrain.net>
Date:   Thu Dec 22 18:21:13 2022 +0100

    Fix "Hello, World!" examples in automation documentation (openhab#14041)

    The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed.

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 7195825
Author: lolodomo <lg.hc@free.fr>
Date:   Thu Dec 22 18:17:15 2022 +0100

    [keba] Fix unit in example for power channel (openhab#14031)

    Related to openhab#12529

    Signed-off-by: Laurent Garnier <lg.hc@free.fr>

commit 16fcd5d
Author: lsiepel <leosiepel@gmail.com>
Date:   Thu Dec 22 09:04:50 2022 +0100

    nul;l annotations and codestyle (openhab#13980)

    Signed-off-by: lsiepel <leosiepel@gmail.com>

commit fb31c14
Author: lsiepel <leosiepel@gmail.com>
Date:   Thu Dec 22 08:58:12 2022 +0100

    [bluetooth.govee] null annotations (openhab#13978)

    * null annotations and checkstyle
    * Fix more warnings

    Signed-off-by: lsiepel <leosiepel@gmail.com>

commit a079603
Author: Cody Cutrer <cody@cutrer.us>
Date:   Wed Dec 21 16:37:26 2022 -0700

    [homekit] allow configuring min/max light level (openhab#14034)

    since the default is weirdly 0.0001, yet my sensors can report a
    straight 0.

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit 462dca8
Author: Cody Cutrer <cody@cutrer.us>
Date:   Wed Dec 21 16:31:05 2022 -0700

    [homekit] update AuthInfo objects when blockUserDeletion changes (openhab#14017)

    * [homekit] update AuthInfo objects when blockUserDeletion changes

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

    * [homekit] general cleanup of redundant method call and unused local vars

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit 672b60b
Author: Cody Cutrer <cody@cutrer.us>
Date:   Wed Dec 21 14:43:46 2022 -0700

    [nanoleaf] Handle and provide QuantityType for color-temperature-abs channel (openhab#14026)

    * [nanoleaf] handle and provide QuantityType for color-temperature-abs channel

    see openhab/openhab-core#3129

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit df8e0bb
Author: Cody Cutrer <cody@cutrer.us>
Date:   Wed Dec 21 12:21:53 2022 -0700

    [dali] tweak color temperature abs QuantityType fix (openhab#14029)

    adds an example of usage of the channel to the README, and
    simplifies one method call

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit a0c2c76
Author: Christoph Weitkamp <github@christophweitkamp.de>
Date:   Wed Dec 21 20:10:21 2022 +0100

    [hue] Allow handling of QuantityType for color temperature channel (openhab#14024)

    * Allow handling of QuantityType for color temperature channel
    * Fixed log messages and reduce log level.

    Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

commit 528140d
Author: Christoph Weitkamp <github@christophweitkamp.de>
Date:   Wed Dec 21 17:24:57 2022 +0100

    [darksky] Remove DarkSky binding due to EOL of their API (openhab#13037)

    * Remove DarkSky binding due to EOL of their API

    Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

commit 324483d
Author: Cody Cutrer <cody@cutrer.us>
Date:   Tue Dec 20 13:15:10 2022 -0700

    [dali] handle and provide QuantityType for color-temperature-abs channel (openhab#14021)

    see openhab/openhab-core#3129

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit 4d98cca
Author: Florian Hotze <florianh_dev@icloud.com>
Date:   Tue Dec 20 09:15:43 2022 +0100

    [jsscripting] Minor fixes & improvements (openhab#13960)

    * [jsscripting] Correct wrong `createScriptEngine` implementation
    * [jsscripting] Also unlock lock on unexpected exceptions (rethrow them)
    * [jsscripting] Call super methods from their overrides
    * [jsscripting] Move superclass call of `beforeInvocation`

    Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

commit cd9e1b0
Author: J-N-K <github@klug.nrw>
Date:   Tue Dec 20 08:11:31 2022 +0100

    Fix build / Resolve itests (openhab#14018)

    * Fix build / Resolve itests
    * Remove Java 11 from GHA matrix

    Also-by: Wouter Born <github@maindrain.net>
    Signed-off-by: Jan N. Klug <github@klug.nrw>

commit 0b1eb2c
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 20 00:06:52 2022 +0100

    null annotations (openhab#13976)

    Signed-off-by: Leo Siepel <leosiepel@gmail.com>

commit 1519cb4
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 20 00:04:43 2022 +0100

    nul annotations, checkstyle, forbidden packagel (openhab#13981)

    Signed-off-by: lsiepel <leosiepel@gmail.com>

commit 40b8b77
Author: lsiepel <leosiepel@gmail.com>
Date:   Tue Dec 20 00:01:50 2022 +0100

    Very minor checkstyle (openhab#13973)

    Signed-off-by: Leo Siepel <leosiepel@gmail.com>

commit 127f998
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Mon Dec 19 23:49:51 2022 +0100

    Upgrade MySQL Connector/J to 8.0.31 (openhab#13991)

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit 3bec273
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Mon Dec 19 22:58:43 2022 +0100

    [rrd4j] Upgrade base library from 3.8.1 to 3.8.2 (openhab#13956)

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit 3aefefb
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Mon Dec 19 22:49:40 2022 +0100

    [knx] Upgrade Calimero library to release 2.5.1 (openhab#14015)

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit 9f3b8e1
Author: J-N-K <github@klug.nrw>
Date:   Mon Dec 19 20:39:42 2022 +0100

    Raise minimum JDK version to 17 (openhab#13276)

    Signed-off-by: Jan N. Klug <github@klug.nrw>

commit 4d6d644
Author: J-N-K <github@klug.nrw>
Date:   Mon Dec 19 15:22:17 2022 +0100

    fix spotless after release (openhab#14014)

    Signed-off-by: Jan N. Klug <github@klug.nrw>

commit 7993786
Author: openhab-bot <infrastructure@openhabfoundation.org>
Date:   Mon Dec 19 00:55:11 2022 +0000

    [unleash-maven-plugin] Preparation for next development cycle.

commit c5b68d0
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Sun Dec 18 23:22:40 2022 +0100

    Fix NullPointerException (openhab#14010)

    Fixes openhab#13961

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit 4871d6d
Author: Wouter Born <github@maindrain.net>
Date:   Sun Dec 18 19:50:23 2022 +0100

    [shelly] Remove broken images (openhab#14007)

    See also openhab#13993

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 8d65371
Author: Wouter Born <github@maindrain.net>
Date:   Sun Dec 18 19:49:42 2022 +0100

    [shelly] Remove broken images (openhab#14007)

    See also openhab#13993

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 3613799
Author: Kai Takac <kai.takac@gmail.com>
Date:   Sun Dec 18 19:04:43 2022 +0100

    [jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0 (openhab#14003)

    * [jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0

    Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
    Signed-off-by: Kai Takac <kai.takac@gmail.com>

commit ef836a1
Author: Дилян Палаузов <git-dpa@aegee.org>
Date:   Sun Dec 18 15:18:24 2022 +0200

    typos: success, successful (openhab#13997)

commit 6b1354f
Author: openhab-bot <bot@openhab.org>
Date:   Sun Dec 18 14:02:15 2022 +0100

    New Crowdin updates (openhab#13999)

    * New translations iCloud.properties (French)

    * New translations openwebnet.properties (Italian)

    * New translations plugwise.properties (Dutch)

commit 6dd8cd5
Author: MikeTheTux <44850211+MikeTheTux@users.noreply.github.com>
Date:   Sun Dec 18 13:35:08 2022 +0100

    fixed potential StringIndexOutOfBoundsExceptions (openhab#14000)

    fixed compiler warnings

    Signed-off-by: Michael Weger <weger.michael@gmx.net>

commit debdfa5
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Sun Dec 18 11:55:59 2022 +0100

    [wolfsmartset] Fix link to external documentation (openhab#13996)

    Update link to current document from Wolf download center.
    Fixes openhab#13995.

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit 9b89130
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Sun Dec 18 10:22:07 2022 +0100

    Fix alignment/indentation (openhab#13994)

    Fixes openhab#13882

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit d03d3e4
Author: Wouter Born <github@maindrain.net>
Date:   Sat Dec 17 23:53:57 2022 +0100

    Show add-on intros in Main UI (openhab#13992)

    Using these Markdown tweaks a small intro will show in Main UI instead of emptyness and a "more" button.

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 6753234
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Sat Dec 17 17:25:38 2022 +0100

    Fix Zigbee name stylization (openhab#13954)

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit d20b103
Author: openhab-bot <bot@openhab.org>
Date:   Sat Dec 17 16:51:35 2022 +0100

    New Crowdin updates (openhab#13990)

    * New translations tr064.properties (German)
    * New translations jsscripting.properties (Danish)
    * New translations jsscripting.properties (Italian)

commit 15e6beb
Author: Florian Hotze <florianh_dev@icloud.com>
Date:   Sat Dec 17 15:42:23 2022 +0100

    [yamaha] README: Recommend correct binding for specific model (openhab#13985)

    This doc improvement tries to avoid future issue like openhab#10838.

    Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

commit 11e2c4f
Author: Florian Hotze <florianh_dev@icloud.com>
Date:   Sat Dec 17 13:40:12 2022 +0100

    [jsscripting] Update add-on name in default translation (openhab#13984)

    Leftover from openhab#13764.

    Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

commit 4a13e1a
Author: openhab-bot <bot@openhab.org>
Date:   Sat Dec 17 12:13:24 2022 +0100

    New Crowdin updates (openhab#13971)

    * New translations knx.properties (German)
    * New translations yamahamusiccast.properties (German)
    * New translations hdpowerview.properties (Danish)
    * New translations jsscripting.properties (Danish)

commit 23875a6
Author: Wouter Born <github@maindrain.net>
Date:   Fri Dec 16 11:22:48 2022 +0100

    [mapdb] Fix "a" typo and use "-" for bullets in docs (openhab#13966)

    Signed-off-by: Wouter Born <github@maindrain.net>

commit ab504bc
Author: Dan Cunningham <dan@digitaldan.com>
Date:   Thu Dec 15 23:31:02 2022 -0800

    [hydrawise] fixes null pointer error for some sprinkler controllers (openhab#13965)

    Signed-off-by: Dan Cunningham <dan@digitaldan.com>

commit 15ad22b
Author: Wouter Born <github@maindrain.net>
Date:   Thu Dec 15 23:39:37 2022 +0100

    [mapdb] Add some documentation (openhab#13964)

    This is based on the original OH1 documentation.

    Signed-off-by: Wouter Born <github@maindrain.net>

commit d6db727
Author: openhab-bot <bot@openhab.org>
Date:   Thu Dec 15 23:36:49 2022 +0100

    New Crowdin updates (openhab#13962)

    * New translations chromecast.properties (Italian)
    * New translations sonos.properties (Italian)
    * New translations exec.properties (Italian)
    * New translations knx.properties (German)
    * New translations jsscripting.properties (German)
    * New translations yamahamusiccast.properties (German)

commit c75b04e
Author: Wouter Born <github@maindrain.net>
Date:   Thu Dec 15 22:40:52 2022 +0100

    [wundergroundupdatereceiver] Prevent 😕 showing in documentation (openhab#13963)

    See: https://www.openhab.org/addons/bindings/wundergroundupdatereceiver/

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 9318f6f
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Thu Dec 15 16:22:43 2022 +0100

    [knx] Minor documentation update (openhab#13918)

    Slightly change wording of docs related to localSourceAddress to avoid
    address conflicts during initial setup.
    Add remark about knxd.
    Fixes openhab#13602.

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit 83f0f7a
Author: Wouter Born <github@maindrain.net>
Date:   Thu Dec 15 12:28:32 2022 +0100

    Prevent Markdown rendering issues in Main UI (openhab#13958)

    Some add-ons use `---` separators which causes issues when rendering the documentation in Main UI.

    Fixes openhab#13953

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 6ab0561
Author: Holger Friedrich <holgerfriedrich@users.noreply.github.com>
Date:   Thu Dec 15 11:31:20 2022 +0100

    [rrd4j] Error handling for broken rrd4j files (openhab#13955)

    * [rrd4j] Error handling for broken rrd4j files

    Catch exceptions thrown by getDB(..) and print the name of the affected
    database file. This allows to identify a broken rrd4j file.

    Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

commit 04f059c
Author: Simon Spielmann <simon.spielmann@gmx.de>
Date:   Thu Dec 15 09:18:11 2022 +0100

    [icloud] Rework authentication to reflect changes in iCloud API (openhab#13691)

    * Implement Authentication (WIP)
    * Validation Code accepted
    * Refactor session state
    * RefreshClient working
    * Implement session persistence in openhab store
    * Integration in binding
    * Remove persistent cookies, which break authentication
    * Bugfixing
    * Add code configuration to UI
    * Improve documentation, error-handling and cleanup
    * Rework auth order
    * Rework auth process
    * Add 2-FA-auth to documentation
    * Set bridge to online if data refresh works
    * Case-sensitive rename ICloudAPIResponseException
    * Include authentication in refresh flow
    * Fix regression for data not being updated
    * Fix typo in i18n props
    * Fix review and checkstyle.
    * More javadoc, new RetryException
    * Introduce @NonNullByDefault
    * Introduce server for RetryException, add NonNullbyDefault, fix warnings
    * Rework for contribution, e.g. null checks, ...
    * Fix checkstyle
    * Move JsonUtils to utilities package
    * Async initialize bridge handler.
    * Report Device OFFLINE if Bridge is OFFLINE
    * Set bridge thing status to UNKOWN in init
    * Move refresh init into async init
    * Cancel init task in dispose

    Also-by: Leo Siepel <leosiepel@gmail.com>
    Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>

commit 6e8b35c
Author: Wouter Born <github@maindrain.net>
Date:   Thu Dec 15 07:51:22 2022 +0100

    [jsscripting] Fix broken event object table (openhab#13952)

    The table is not properly rendered when reading the documentation in Main UI.

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 79060f3
Author: Jørgen Austvik <jaustvik@acm.org>
Date:   Wed Dec 14 20:15:47 2022 +0100

    [nanoleaf] Bugfix: Handle non-integer panel ids (openhab#13951)

    Panel ids are sometimes returned as BigInteger

    We haven't been able to understand why this happens somewhere and
    somewhere not, but this is an sledgehammer attempt to fix it quickly
    to unblock users, and then we will try to understand it later.

    Discussions:
    https://community.openhab.org/t/java-lang-classcastexception-class-java-math-bigdecimal-cannot-be-cast-to-class-java-lang-integer/142035/16
    https://community.openhab.org/t/nanoleaf-binding-oh3-stabilization-update/116300/61

    Signed-off-by: Jørgen Austvik <jaustvik@acm.org>

commit d4ec220
Author: Florian Hotze <florianh_dev@icloud.com>
Date:   Wed Dec 14 20:12:54 2022 +0100

    [jsscripting] Extend synchronization to common ScriptEngine methods (openhab#13924)

    * [jsscripting] Extend synchronization to common ScriptEngine methods

    This extends the multi-thread synchronization to "eval" and "invokeMethod" and moves synchronization for "invokeFunction" to the DelegatingScriptEngineWithInvocableAndAutocloseableAndSynchronization class. Fixes the multi-thread access requested warnings described in the community (https://community.openhab.org/t/openhab-3-4-milestone-discussion/138093/130) and related to openhab/openhab-core#3180.

    * Revert "[jsscripting] Extend synchronization to common ScriptEngine methods"

    This reverts commit aadd21e.

    * [jsscripting] Extend synchronization to common ScriptEngine methods & Switch to ReentrantLock

    This extends the multi-thread synchronization to "eval" and "invokeMethod" and moves synchronization for "invokeFunction" to the InvocationInterceptingScriptEngineWithInvocableAndAutoCloseable class.
    The synchronization mechanism changed from using synchronized to using a ReentrantLock together with catch_finally to avoid having deadlocks when an exception is thrown.
    Fixes the multi-thread access requested warnings described in the community (https://community.openhab.org/t/openhab-3-4-milestone-discussion/138093/130) and related to openhab/openhab-core#3180.

    * [jsscripting] Reduce compiler warnings
    * [jsscripting] Replace finally blocks & Wrap returns in afterInvocation
    * [jsscripting] Fix deadlock caused by NoSuchMethodException in Invocable interface methods

    During testing my latest changes, I noticed that there is a deadlock when invokeFunction or invokeMethod are called on a non-existing method.
    This happens because the NoSuchMethodException keeps afterInvocation from running and therefore the lock never gets released.

    * [jsscripting] Also rethrow NPE & Fix PMD warnings/errors
    * [jsscripting] Wrap and rethrow other exceptions instead of returning them
    * [jsscripting] Address review comment from @jpg0

    Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

commit 1ca9baf
Author: Jerome Luckenbach <github@luckenba.ch>
Date:   Wed Dec 14 16:52:43 2022 +0100

    [Documentation] Markdown improvements n to s (openhab#13948)

    Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

commit d73218d
Author: Udo Hartmann <udo1toni@users.noreply.github.com>
Date:   Wed Dec 14 08:21:34 2022 +0100

    [mqtt.generic] Change color example (openhab#13861)

    Change color example to fit to the real parameters.

commit 4aca2c6
Author: Cody Cutrer <cody@cutrer.us>
Date:   Tue Dec 13 15:28:55 2022 -0700

    [jrubyscripting] remove some development logging that crept in (openhab#13947)

    Signed-off-by: Cody Cutrer <cody@cutrer.us>

commit 8314433
Author: lolodomo <lg.hc@free.fr>
Date:   Tue Dec 13 09:04:16 2022 +0100

    [mielecloud] Fix integration tests (openhab#13935)

    Code change provided by @BjoernLange

    Signed-off-by: Laurent Garnier <lg.hc@free.fr>

commit e9473ca
Author: Hilbrand Bouwkamp <hilbrand@h72.nl>
Date:   Tue Dec 13 08:40:10 2022 +0100

    [airq] fix table in readme that broke rendering markup (openhab#13937)

    Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>

commit 9c3ec38
Author: openhab-bot <bot@openhab.org>
Date:   Tue Dec 13 07:27:26 2022 +0100

    New Crowdin updates (openhab#13932)

    * New translations boschshc.properties (Italian)

    * New translations ecowatt.properties (French)

    * New translations nikohomecontrol.properties (Dutch)

    * New translations systeminfo.properties (Dutch)

    * New translations upnpcontrol.properties (Dutch)

commit bd087f1
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Mon Dec 12 22:55:38 2022 +0100

    Fix examples after migration of time channels (openhab#13933)

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit 286a27d
Author: Wouter Born <github@maindrain.net>
Date:   Mon Dec 12 22:12:24 2022 +0100

    [nest] Add missing enable SDM API configuration step to README.md (openhab#13931)

    Fixes openhab#11814

    Signed-off-by: Wouter Born <github@maindrain.net>

commit 518272a
Author: Jacob Laursen <jacob-github@vindvejr.dk>
Date:   Mon Dec 12 22:10:48 2022 +0100

    Fix dimension for powerConsumption channel (openhab#13930)

    Fixes openhab#13929

    Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

commit e027932
Author: lolodomo <lg.hc@free.fr>
Date:   Mon Dec 12 20:28:59 2022 +0100

    [goecharger] Consider correct channel ID (maxCurrentTemp) (openhab#13927)

    Fix openhab#13891

    Signed-off-by: Laurent Garnier <lg.hc@free.fr>
borazslo pushed a commit to borazslo/openhab-mideaac-addon that referenced this issue Jan 8, 2023
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
psmedley pushed a commit to psmedley/openhab-addons that referenced this issue Feb 23, 2023
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this issue Feb 28, 2023
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs openhab#13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
@ztalbot2000
Copy link

Hi all,

I moved the error to hang off of the accessory instead of in storedValues. My b_unresponsive branch in GitHub is up to date.
I'm still unsure of the homebridge update function with an error condition as per the docs. It really does not seem to do anything.
Also 'self' is supposed to be used within an exec. There really was no affect.
My testing shows this works though there are way too many log messages and they need to be cleaned up. I'll do more testing tomorrow.
Everything was submitted with no-verify so tests are also screwed up because of the excess logs.
ttyl,
John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.