ImperiHome binding 2.0

imperihome
openhab2
io
Tags: #<Tag:0x00007f01469519a8> #<Tag:0x00007f0146951840> #<Tag:0x00007f01469516d8>

(Devin) #111

I totally wiped out openhab and started over. Here is the log viewer.
2017-11-26 13:20:50.675 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.2:8080
2017-11-26 13:20:50.688 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.2:8443
2017-11-26 13:36:00.175 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-11-26 13:36:00.826 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 13:36:01.124 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 13:36:01.215 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-11-26 13:36:01.368 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-11-26 16:52:27.555 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-11-26 16:52:27.672 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-11-26 16:52:27.722 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-11-26 16:52:27.751 [INFO ] [assic.internal.servlet.WebAppServlet] - Stopped Classic UI
2017-11-26 16:52:27.921 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-11-26 16:52:28.047 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-11-26 16:53:17.556 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.2:8080
2017-11-26 16:53:17.566 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.2:8443
2017-11-26 16:53:33.247 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 16:53:33.585 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-11-26 16:53:33.937 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-11-26 16:53:34.320 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 16:53:34.504 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-11-26 16:59:20.694 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-11-26 16:59:20.744 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-11-26 16:59:20.785 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-11-26 16:59:20.812 [INFO ] [assic.internal.servlet.WebAppServlet] - Stopped Classic UI
2017-11-26 16:59:20.944 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-11-26 16:59:21.124 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-11-26 17:00:06.919 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.2:8080
2017-11-26 17:00:06.951 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.2:8443
2017-11-26 17:00:21.933 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 17:00:22.827 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-11-26 17:00:23.089 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-11-26 17:00:23.413 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 17:00:23.527 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-11-26 17:19:45.218 [INFO ] [thome.core.internal.I18nProviderImpl] - Locale set to en, Location set to 41.444963200000004,-72.01125979999999
2017-11-26 17:20:43.744 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-11-26 17:20:43.807 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-11-26 17:20:46.056 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 17:20:46.698 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 17:20:48.208 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: not authorized
2017-11-26 17:39:15.669 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-11-26 17:39:16.895 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: not authorized
2017-11-26 17:39:19.954 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-11-26 17:39:20.048 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-11-26 17:39:20.227 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-11-26 17:39:21.535 [ERROR] [org.eclipse.smarthome.io.rest.sse ] - FrameworkEvent ERROR - org.eclipse.smarthome.io.rest.sse
org.osgi.framework.BundleException: Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.doStart(Module.java:571)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.start(Module.java:439)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
Caused by: java.lang.LinkageError: ClassCastException: attempting to castbundleresource://21.fwk15416995/javax/ws/rs/ext/RuntimeDelegate.class to bundleresource://21.fwk15416995/javax/ws/rs/ext/RuntimeDelegate.class
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:146)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
at javax.ws.rs.core.MediaType.valueOf(MediaType.java:179)
at org.glassfish.jersey.media.sse.SseFeature.(SseFeature.java:62)
at org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start(SseActivator.java:44)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_152]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
… 14 more
2017-11-26 17:39:21.762 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 17:39:21.978 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: not authorized
2017-11-26 17:39:22.482 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 17:39:22.542 [INFO ] [imperihome.internal.ImperiHomeConfig] - Configuration updated
2017-11-26 17:39:22.609 [INFO ] [rihome.internal.ImperiHomeApiServlet] - Started ImperiHome integration service at /imperihome/iss
2017-11-26 17:39:23.167 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-misc-imperihome’: Error restarting bundles
2017-11-26 17:40:37.376 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-11-26 17:40:46.738 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-11-26 17:40:46.882 [INFO ] [rihome.internal.ImperiHomeApiServlet] - ImperiHome integration service stopped
2017-11-26 17:40:46.921 [INFO ] [assic.internal.servlet.WebAppServlet] - Stopped Classic UI
2017-11-26 17:40:46.996 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-11-26 17:40:47.410 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-11-26 17:40:47.422 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-11-26 17:40:47.432 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
==> /var/log/openhab2/events.log <==
2017-11-26 13:35:35.497 [ExtensionEvent ] - Extension ‘package-expert’ has been installed.
2017-11-26 13:36:01.622 [ExtensionEvent ] - Extension ‘misc-restdocs’ has been installed.
2017-11-26 13:36:01.626 [ExtensionEvent ] - Extension ‘transformation-javascript’ has been installed.
2017-11-26 13:36:01.628 [ExtensionEvent ] - Extension ‘ui-habpanel’ has been installed.
2017-11-26 13:36:01.641 [ExtensionEvent ] - Extension ‘transformation-regex’ has been installed.
2017-11-26 13:36:01.643 [ExtensionEvent ] - Extension ‘transformation-jsonpath’ has been installed.
2017-11-26 13:36:01.646 [ExtensionEvent ] - Extension ‘transformation-xpath’ has been installed.
2017-11-26 13:36:01.648 [ExtensionEvent ] - Extension ‘ui-basic’ has been installed.
2017-11-26 13:36:01.650 [ExtensionEvent ] - Extension ‘transformation-map’ has been installed.
2017-11-26 13:36:01.652 [ExtensionEvent ] - Extension ‘ui-classic’ has been installed.
2017-11-26 13:36:01.657 [ExtensionEvent ] - Extension ‘ui-habmin’ has been installed.
2017-11-26 13:36:01.659 [ExtensionEvent ] - Extension ‘transformation-xslt’ has been installed.
2017-11-26 13:36:01.664 [ExtensionEvent ] - Extension ‘transformation-exec’ has been installed.
2017-11-26 13:36:01.666 [ExtensionEvent ] - Extension ‘ui-paper’ has been installed.
2017-11-26 13:36:01.668 [ExtensionEvent ] - Extension ‘transformation-scale’ has been installed.
2017-11-26 17:20:47.341 [ExtensionEvent ] - Extension ‘misc-openhabcloud’ has been installed.
==> /var/log/openhab2/openhab.log <==
2017-11-26 17:41:23.042 [INFO ] [thome.core.internal.I18nProviderImpl] - Locale set to en, Location set to 41.444963200000004,-72.01125979999999
2017-11-26 17:41:23.312 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.2:8080
2017-11-26 17:41:23.318 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.2:8443
2017-11-26 17:41:25.415 [INFO ] [imperihome.internal.ImperiHomeConfig] - Configuration updated
2017-11-26 17:41:25.492 [INFO ] [rihome.internal.ImperiHomeApiServlet] - Started ImperiHome integration service at /imperihome/iss
2017-11-26 17:41:26.190 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: not authorized
2017-11-26 17:41:38.701 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-11-26 17:41:38.945 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-11-26 17:41:39.235 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-11-26 17:41:39.479 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-11-26 17:41:39.651 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-11-26 18:14:24.324 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /imperihome/iss/rooms
java.lang.NullPointerException
at java.util.HashSet.(HashSet.java:119)[:1.8.0_152]
at org.openhab.io.imperihome.internal.processor.DeviceRegistry.getRooms(DeviceRegistry.java:49)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.handler.RoomListHandler.handle(RoomListHandler.java:31)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.ImperiHomeApiServlet.service(ImperiHomeApiServlet.java:202)[208:org.openhab.io.imperihome:2.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[18:javax.servlet-api:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[79:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[71:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-26 18:14:24.405 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /imperihome/iss/rooms
java.lang.NullPointerException
at java.util.HashSet.(HashSet.java:119)[:1.8.0_152]
at org.openhab.io.imperihome.internal.processor.DeviceRegistry.getRooms(DeviceRegistry.java:49)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.handler.RoomListHandler.handle(RoomListHandler.java:31)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.ImperiHomeApiServlet.service(ImperiHomeApiServlet.java:202)[208:org.openhab.io.imperihome:2.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[18:javax.servlet-api:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[79:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[71:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-26 18:14:24.442 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /imperihome/iss/rooms
java.lang.NullPointerException
at java.util.HashSet.(HashSet.java:119)[:1.8.0_152]
at org.openhab.io.imperihome.internal.processor.DeviceRegistry.getRooms(DeviceRegistry.java:49)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.handler.RoomListHandler.handle(RoomListHandler.java:31)[208:org.openhab.io.imperihome:2.1.0]
at org.openhab.io.imperihome.internal.ImperiHomeApiServlet.service(ImperiHomeApiServlet.java:202)[208:org.openhab.io.imperihome:2.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[18:javax.servlet-api:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[79:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[80:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[71:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]


(Pepijn) #112

Strange, I expected more logging, it shows nothing about parsing your items. There’s an exception in the rooms part which suggests you didn’t specify any rooms at all.

Did you add the required ‘iss’ tags to your items? Can you post the relevant item definitions?


(Devin) #113

Is it because I haven’t created an items file or sitemaps file yet. I have a bigger issue I tried to. Reinstall openhabiab and it hangs up at waiting for dpkg/apt. To get ready.

Sent from my BlackBerry 10 smartphone.


(Pepijn) #114

Ok, then let me know if ImperiHome works for you when you have Items with the proper ‘iss’ tags on them.


(Devin) #115

Question, I re-installed openhab and followed everything but can’t see the openhabian in my network under windows 1o when I did the first time I install openhab.I checked my setup and auto discovery is set to on. Any idea?


(Sergey M) #116

Hello! I tried this with a couple of elements of temperature and humidity, and also add a graph. After adding a graph in the log many such lines:

2018-02-27 19:47:15.490 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559234653 to 1519732034653

2018-02-27 19:47:17.587 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559236778 to 1519732036778

2018-02-27 19:47:17.592 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559236779 to 1519732036779

2018-02-27 19:47:17.598 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559236780 to 1519732036780

2018-02-27 19:48:13.361 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item cellar_climate_temp, from 1519559292518 to 1519732092518

2018-02-27 19:48:15.660 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559294869 to 1519732094869

2018-02-27 19:48:15.674 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559294870 to 1519732094870

2018-02-27 19:48:15.681 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559294869 to 1519732094869

2018-02-27 19:49:03.041 [INFO ] [nternal.handler.DeviceHistoryHandler] - Querying persistence for history of Item box_climate_temp, from 1519559342244 to 1519732142244

is 3-6 for a second, is this normal?

Here and here there is a discussion about the binding of Google Home to the openHAB2. And it became possible, thanks to @MARZIMA. I do not have Google Home yet, but I’m following the events in this thread, I hope to buy Google Home in the near future and screw it to the openHAB2. If I understand correctly, then Google Home communication with openHAB2 is done through the tags of the itemes and they should only be from a specific list supported by Google.
@pdegeus your binding also uses tags. So these two bindings can not work in parallel with openHAB2? What if they need both? Or am I missing something?
Thanks!


(Greg) #117

Yeah I think those log entries are normal - it may be possible to decrease the logging level though for the Imperihome binding.

With the tags, yes your items will need a tag for Google Home ( which is the same for Homekit/Alexa ) AND separate ones for the Imperihome bindings. No problem having both at the same time.


(Sergey M) #118

Maybe @pdegeus will change the level of data messages to debug? I think we would not have lost anything? Or are you talking about the same thing? I understand English very badly, sorry;)

Again, with my English, I realized that users of Google Home remove all tags and leave only those that are supported by Google, otherwise nothing works. I hope I misunderstood (translated) the discussion in the above topics.


(Pepijn) #119

Greg is right, nothing to worry about. The code is just logging what it is doing to retrieve the graph data.
I’ll change the log level to debug. In the meantime you could change the loglevel for the binding to Warning to get rid of them in your log.

The ImperiHome binding is fine with other tags, it only reads the tags starting with ‘iss’. From a quick scan of the topics I suspect the Google Home binding shouldn’t have any issues too.


(Sergey M) #120

Thanks for the quick feedback!
If I set the logs in warnings, I will not see my logInfo()?

Have you done this in a binding? Will it be in a new build?

This is great news!
Thanks for the binding, I like it !!!


(Greg) #121

Here is an example showingf both tags present:

Switch	DrivewayLightStatus	"Driveway Lights"	(gLights,gOutside)	["Lighting","iss:room:Outside","iss:type:DevSwitch","iss:link:energy:DrivewayLightWatts"]	{ mios="unit:house,device:26/service/SwitchPower1/Status"}

The “Lighting” tag is for GoogleHome/Alexa/HomeKit
the “iss:room:Outside”,“iss:type:DevSwitch”,“iss:link:energy:DrivewayLightWatts” tags are for Imperihome binding.


(Sergey M) #122

Thank you!
It’s fine!


(Brian Chan) #123

I’ve been reading the documentation and have not been able to get the kwh displayed properly other than with a generic device. How can I display it with the electric meter and link it to the watts?


(Pepijn) #124

The only way to show both values on the same widget is using a composite widget, either the Comp. sensor or Sensors sliding. For this to work it’s not required to link the items in openHAB.

If you still want to do that, this works for me:

Number  P_LVR_TV_Current          "TV huidig verbruik [%.1f W]"                           (Wattage)               ["iss:room:Living room", "iss:type:DevElectricity", "iss:link:kwh:P_LVR_TV_Usage"]    { channel="zwave:device:1:node4:sensor_power" }
Number  P_LVR_TV_Usage            "TV totaal verbruik [%.1f KWh]"                         (PowerUsage)            ["iss:room:Living room", "iss:type:DevElectricity", "iss:link:watt:P_LVR_TV_Current"] { channel="zwave:device:1:node4:meter_kwh" }

(andredts) #125

Hi,

After updating for Openhab 2.3 Imperihab is not working anymore. I had to add it as a new “Object”, in the Imperihome software, guess that the system ID changed with the update, but the list of devices is empty. Anyone with the same problem?

thanks


(Pepijn) #126

Strange, haven’t seen that in my install. The system ID should remain the same and at the very least all your devices should remain intact. I suspect something else is off.

Can you check if the add-on endpoints are working as expected?
http://your-openhab.local/imperihome/iss/system
http://your-openhab.local/imperihome/iss/devices


(andredts) #127

Thanks for the quick response.

You where right to the point, endpoinis are not reachable on a browser, but the Imperihome software can find the system, just not the devices, bit odd. Only other problem I had updating was with “wifiled” add-on, so I´m using version 2.4 of it, and I had to reinstall the persistences, don´t know if it relates in any how.
I have noting wrong in the log with imperihab, and I tried to uninstall reboot and install it again but it did not worked. Any suggestions.

Thanks


(Pepijn) #128

You changed to URL to use a local host/IP, right? :sweat_smile:

Did you install a version of the add-on manually in the past? Make sure there’s no jar file for Imperihome in the addons dir of openHAB.

You can check the status of the add-on using the Karaf console. Use SSH to open it (ssh openhab@localhost -p 8101) and find the bundle status:
list | grep -i imperihome

This should look something like this:
228 │ Active │ 80 │ 2.4.0.201805280907 │ ImperiHome Integration Service
If the status is not ‘active’ then you may have an installation problem.


(andredts) #129

Hi
I did changed the IP, but forgot to use the port, my bad! :sweat_smile:
So I got system “{“id”:“Openhab2.3”,“apiVersion”:1}” and devices “{“devices”:[]}” Endpoints working.
On Karaf I got this answer:
262 │ Active │ 80 │ 2.3.0 │ ImperiHome Integration Service
I guess it`s ok too.

I´m haven’t changed my .item file after update. But I had problems before with item tags, to be more specific I use tags for Imperihab and for Google Assistant, they look like this [“Lighting”, “iss:type:DevSwitch”, “iss:room:Terraço”], some version of the GA was not compatible with having wall the tags together, so for a week a had to chose using ether imperihab or GA.
You have the .jar for the 2.2 so I can text if the same problem is now on imperhab`s side?

Thanks


(Pepijn) #130

The /devices response is empty, so that’s why Imperihome can’t find any devices. I suspect the changes to tags caused this.

Can you double-check the tags and syntax of your items files? No errors while loading them? You can trigger a reload by just re-saving a file.
If you set the log-level of org.openhab.io.imperihome to debug, you should see logging like this when saving an items file (probably with other stuff in between):

Found item <name> with ISS tags: [<bla>,<bla>]
Setting initial state of <name> to <state>
Item parsed to device: <device data>

If you don’t see this, or errors are logged, you might get a clue where to look.