From Hentschel
(→homekit setup) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | === Openhab hacks === | ||
* console at ohab: [http://ohab:9001/ console] | * console at ohab: [http://ohab:9001/ console] | ||
+ | * timeout exception prevents any further updates. This is evidently a eclipse smarthome framework bug | ||
+ | <pre>2017-11-21 16:59:30.517 [WARN ] [org.apache.karaf.services.eventadmin] - EventAdmin: Blacklisting ServiceReference [{org.osgi.service.event.EventHandler, org.eclipse.smarthome.core.events.EventPublisher}={event.topics=smarthome, component.name=org.eclipse.smarthome.core.internal.events.OSGiEventManager, component.id=38, service.id=139, service.bundleid=109, service.scope=bundle} | Bundle(org.eclipse.smarthome.core_0.9.0.201711202142 [109])] due to timeout!</pre> | ||
+ | ** It appears the same bug is described here as well: https://community.openhab.org/t/openhab-stopped-working-after-update-2-2-0-build-1088/36441/2 | ||
+ | ** there is a fix that I applied in that thread, basically add | ||
+ | <pre>org.apache.felix.eventadmin.Timeout=0</pre> | ||
+ | to <pre>/var/lib/openhab2/etc/org.apache.felix.eventadmin.impl.EventAdmin.cfg</pre>. This should probably be removed at some point since it basically hides long running (or never returning) event handlers | ||
=== homekit setup === | === homekit setup === |
Revision as of 19:49, 21 November 2017
Openhab hacks
- console at ohab: console
- timeout exception prevents any further updates. This is evidently a eclipse smarthome framework bug
2017-11-21 16:59:30.517 [WARN ] [org.apache.karaf.services.eventadmin] - EventAdmin: Blacklisting ServiceReference [{org.osgi.service.event.EventHandler, org.eclipse.smarthome.core.events.EventPublisher}={event.topics=smarthome, component.name=org.eclipse.smarthome.core.internal.events.OSGiEventManager, component.id=38, service.id=139, service.bundleid=109, service.scope=bundle} | Bundle(org.eclipse.smarthome.core_0.9.0.201711202142 [109])] due to timeout!
- It appears the same bug is described here as well: https://community.openhab.org/t/openhab-stopped-working-after-update-2-2-0-build-1088/36441/2
- there is a fix that I applied in that thread, basically add
org.apache.felix.eventadmin.Timeout=0to
/var/lib/openhab2/etc/org.apache.felix.eventadmin.impl.EventAdmin.cfg. This should probably be removed at some point since it basically hides long running (or never returning) event handlers
homekit setup
- there is a issue with the homekit addon overwriting the generated mac address on exit (I think). See https://github.com/openhab/openhab2-addons/issues/1822
- for now, after successful pairing, set /var/lib/openhab2/jsondb/homekit.json read only after successful pairing. May have to undo to re-create a new pairing
- after a reset of the openhab server, it may take quite some time for homekit to attempt a reconnect to the server. You can force a reconnect by putting the iPhone etc temporarily into and out of airplane mode. This forces homekit to reconnect