HomeKit 2.5 SNAPSHOT

Tried to find the latest 2.5 SNAPSHOT .jar for the HomeKit integration. Did not find. Perhaps someone can put a link as response.

Thanks in advance

Here is the link to Tim´s 2.6

Thanks

Thanks Peter,

but now I am confused a bit. Tim’s version states 2.4.0-homekit-6 and he refers to a new branch for 2.5.0.

I am running 2.5-M1, with some add-ons from the SNAPSHOT (Echo and Z-Wave Binding).

Will Tim’s version 2.4.0-homekit-6 work with openHAB Milestone 2.5-M1?

Because I have installed the HomeKit integration from 2.5-M1 and linked to HomeKit, will I have to

uninstall the current integration, prior to copying the .jar in the add-ons folder?
remove opanHAB from HomeKit and clear the pairings?

Thanks again in advance.

the 2.4.0-…6 version works with my 2.5-M1 installation.
Yes, you should uninstall the M1 version first by e.g. using Paper UI.
Resetting pairing is also recommended.

Thanks. Works well!

Question. I have a FIBARO Motion Sensor. I have tagged the relevant items as MotionSensor and CurrentTemperature. The temperature is not transferred to HomeKit.

Is this a bug, or do I need to do something different?

The latest version (snapshot) should contain all features from the version you are referring to and also some bugfixed.

You’ll always find the latest snapshot JARS here (=07-Jun-2019 11:34, 402.04 KB).

( = JFrog )

Or here (=03-May-2019 07:28, 4.52 MB)??

(= JFrog )

Downloaded the SNAPSHOT jar from the first link and get an error message, that this

com.nimbusds.srp6

is not installed. How to install?

@CHTHSCH

Maybe you need the sources also? From first link second row…

Still getting this message:

2019-06-12 21:12:24.741 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.io.homekit-2.5.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.io.homekit [258]
Unresolved requirement: Import-Package: com.nimbusds.srp6
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]

Which version of OH are you using?

I have installed OH 2.5-M1 (through openHABian)

In addition I am using the 2.5 SNAPSHOTs for the ECHO Control, Z-Wave Binding and at the moment the 2.4-homekit-6 from Tim (see link above)

The 2.5 SNAPSHOTs (links above did not work - missing components)

I use snapshot 2.5.0 version #1597: When I install homekit through PaperUI and then do a bundle:list, I get the following:

255 │ Active │  80 │ 1.51                  │ bcprov
256 │ Active │  80 │ 1.5.2                 │ Nimbus SRP6a
257 │ Active │  80 │ 4.0.32                │ Netty All
258 │ Active │  80 │ 1.0.1                 │ ECC-25519
259 │ Active │  80 │ 1.0.4                 │ JSR 353 (JSON Processing) Default Provider
260 │ Active │  80 │ 2.5.0.201906130440    │ openHAB Add-ons :: Bundles :: IO :: Homekit


bundle:tree-show 260

Bundle org.openhab.io.homekit [260] is currently ACTIVE

org.openhab.io.homekit [260]
+- bcprov [255]
+- org.ops4j.pax.logging.pax-logging-api [6]
|  +- org.apache.karaf.services.eventadmin [3]
|     +- org.apache.felix.metatype [2]
|     +- org.apache.felix.configadmin [9]
|        +- org.apache.felix.coordinator [8]
+- javax.jmdns [28]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
+- io.netty.netty-all [257]
|  +- bcprov [255]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
|  +- javassist [224]
+- org.openhab.core.io.console [144]
|  +- org.ops4j.pax.logging.pax-logging-api [6]
|  +- org.openhab.core [133]
|     +- org.ops4j.pax.logging.pax-logging-api [6]
|     +- org.apache.karaf.services.eventadmin [3]
|     +- tec.uom.se [199]
|     |  +- tec.uom.lib.uom-lib-common [198]
|     |  |  +- javax.measure.unit-api [30]
|     |  +- javax.measure.unit-api [30]
|     +- tec.uom.lib.uom-lib-common [198]
|     +- javax.measure.unit-api [30]
|     +- org.apache.felix.scr [42]
|     |  +- org.apache.felix.metatype [2]
|     |  +- org.apache.felix.configadmin [9]
|     |  +- org.apache.karaf.shell.core [14]
|     |  |  +- org.apache.felix.configadmin [9]
|     |  |  +- org.ops4j.pax.logging.pax-logging-api [6]
|     |  |  +- org.apache.karaf.services.eventadmin [3]
|     |  |  +- org.jline.builtins [16]
|     |  |  |  +- org.jline.reader [17]
|     |  |  |  |  +- org.jline.terminal [18]
|     |  |  |  |     +- org.fusesource.jansi [5]
|     |  |  |  +- org.jline.terminal [18]
|     |  |  +- org.jline.reader [17]
|     |  |  +- org.jline.terminal [18]
|     |  +- org.osgi.util.promise [197]
|     |     +- org.osgi.util.function [196]
|     +- org.apache.commons.lang [41]
|     +- com.google.gson [21]
+- org.glassfish.javax.json [259]
+- org.openhab.core [133]
+- com.nimbusds.srp6a [256]
+- org.apache.commons.lang [41]
+- net.vrallev.ecc.ecc-25519-java [258]
+- org.apache.commons.io [40]
+- org.openhab.core.config.core [138]
   +- org.ops4j.pax.logging.pax-logging-api [6]
   +- org.openhab.core [133]
   +- org.apache.commons.lang [41]
   +- com.google.gson [21]

If I use above mentioned Snapshots, then I also get errors.

First Snapshot (=07-Jun-2019 11:34, 402.04 KB): Unresolved requirement: Import-Package: com.nimbusds.srp6

Second Snapshot (=03-May-2019 07:28, 4.52 MB):

bundle org.openhab.io.homekit:2.5.0.201905030604 (261)[org.openhab.io.homekit.internal.HomekitImpl(9)] : The unsetItemRegistry method has thrown an exception
java.lang.NullPointerException: null
	at org.openhab.io.homekit.internal.HomekitChangeListener.setItemRegistry(HomekitChangeListener.java:82) ~[?:?]
	at org.openhab.io.homekit.internal.HomekitImpl.unsetItemRegistry(HomekitImpl.java:71) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[42:org.apache.felix.scr:2.1.16]
	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[42:org.apache.felix.scr:2.1.16]
	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[42:org.apache.felix.scr:2.1.16]
	at org.apache.felix.scr.impl.inject.methods.BaseMethod$NotResolved.invoke(BaseMethod.java:6

In the past, when I needed a “quick solution” ( =.JAR file), I did always a download from here:

https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/addons/bundles/

But it seems, that now this is not working anymore??

How to get this installed? I have found this component on the internet, but I do not know how to get it installed on my Raspberry/opeanHABian environment.

I would say, you need all of the shown dependencies above:

255 │ Active │ 80 │ 1.51   │ bcprov 
256 │ Active │ 80 │ 1.5.2  │ Nimbus SRP6a 
257 │ Active │ 80 │ 4.0.32 │ Netty All 
258 │ Active │ 80 │ 1.0.1  │ ECC-25519 
259 │ Active │ 80 │ 1.0.4  │ JSR 353 (JSON Processing) Default Provider

They are all NOT included in first snapshot, but in second above.

But I don’t know how to install them manually.

It‘s difficult ATM as some of them need wrapping (which is for some unknown reason only working if a feature is installed). It‘ll get easier when the osgiify-PR is finished. I plan to finish it this weekend.

1 Like

I updated OH 2.2 to 2.5.0.M2, but Homekit isn‘t working anymore now.
I already cleared the pairings but this didn‘t solve the issue.
Any other action required when updating OH?

Many thanks.

Did you see the breaking changes (renamed tags)?

Hi @stefan13,
I was also on big trouble after update from 2.4 to 2.5m2, so you have possible the same error than me.
Can you check bundle:list -s|grep netty for the versions from Netty?
Mine was all 4.1.34 but io.netty.codec-http was 4.0.32 so not compatible with the rest. These came in from Homekit PlugIn, all other was from other modules like pax-logging.
I removed the io.netty.codec-http with bundle:uninstall and copied the matching version from https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.34.Final into the addin directory. After restart of openHab homekit runs again.