Testing HomeKit add-on on OpenHAB 2

@beowulfe I am not using alternative persistence services. The userdata folder is wide open. I can see the storage.mapdb file being written to.

Thanks for your help! Sean

Very odd. Maybe try backing up your userdata folder and then deleting it (with OH shutdown)?

iOS 10 also brings support for sensors like movement or smoke, are you also integrate this types into the homekit binding?

@viruz - sure, would you bring those up in the ontology discussion I linked to?

Sure, already done!

Is anyone running OpenHAB2 on windows 10 with this plug in? Iā€™m getting the following error:

2016-10-01 22:29:30.669 [ERROR] [org.openhab.io.homekit ] - FrameworkEvent ERROR - org.openhab.io.homekit
org.osgi.framework.BundleException: Could not resolve module: org.openhab.io.homekit [193]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

I have installed JavaSE 1.8.0_101 and updated my path etc.

Any ideas? Thanks

EDIT: Sorted - Problem with my Java_Home still pointing to the old JRE.

I have this error. i see the homebridge accessory but cannot connect to it.

14:13:19.864 [`ERROR`] [lfe.hap.impl.connections.HttpSession] - Could not handle request
java.lang.NullPointerException
	at com.beowulfe.hap.characteristics.FloatCharacteristic.getValue(FloatCharacteristic.java:72)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.characteristics.BaseCharacteristic.makeBuilder(BaseCharacteristic.java:71)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.characteristics.FloatCharacteristic.makeBuilder(FloatCharacteristic.java:48)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.characteristics.BaseCharacteristic.toJson(BaseCharacteristic.java:61)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.json.AccessoryController.toJson(AccessoryController.java:73)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.json.AccessoryController.listing(AccessoryController.java:39)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.connections.HttpSession.handleAuthenticatedRequest(HttpSession.java:70)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:51)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:46)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:47)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at com.beowulfe.hap.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:15)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[196:org.openhab.io.homekit:2.0.0.201612051634]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[196:org.openhab.io.homekit:2.0.0.201612051634]

any ideas?

I just had the same issue. Probably one of your dimmer items has no current value. As a workaround try to change the values before pairing homekit

1 Like

@beowulfe

Hi
i have a NIKO configuration working with homekit bridge but only one problem i had
My rollershutter tested from Paper UI ale is working. up and down and also stopping .

this is not working only from Apple home kit bridge, only up and down
where can i start investigation where is a problem
thanks