ImperiHome binding 2.0

Hi @dmorell, I’d need some more data to help you with that. Since others are using the Android app without problems I expect it’s something specific to your situation. Can you set the logging of OH to debug and post the parts where you try connecting the app? More details on any errors you get in the app can also help.

Good Morning and Happy Thanksgiving.Im not sure how to set openhab to debug.
Here are the steps that I did for installing the binding.

  1. Install Imperihome Binding.
  2. I rebooted openhab(just for S**ts and giggles)
  3. I didnt add the imperihome .cfg file since i kept everything default.
  4. I opened the app on my android and clicked add a new system and clicked imperihome
  5. I added the local API which is http://192.168.x.x/8080/imperihome/iss
  6. I didn’t add anything for the external API since I can’t figure out what to insert here. I am using myopenhab.org for remote access at work.
  7. I click next and it says system found and displays a long set of numbers.
  8. Click finish and click the back arrow to go to the main screen and a message comes up that says, see attached photo
    I can’t figure out what is wrong. If you can assist me in how to set the debug log I can send that over.

Strange… ImperiHome seems to be able to connect (I guess you meant ‘:8080’, not ‘/8080’).
I’d really need the log to understand what’s happening. You can use the log:set command in the Karaf console, check out http://docs.openhab.org/administration/logging.html for more info on how to use that.

Ok logged in. will log:display work ?

Hi,How do you want me to save the file. The openhab is over

The openhab log is 698 pages after I converted it to word. How can Ievent log.pdf (675.2 KB)
attach it? I have attached the event log though.

I’d need the openhab.log, not event.log :slight_smile: First set the loglevel using “log:set DEBUG org.openhab.io.imperihome”.
Then, to get a small log, stop openHAB, delete the log file, start it and try to use ImperiHome.
You can just copy the file from disk and post it here.

Hi there. This is what i did.

  1. used putty to logged in.
  2. ssh -p 8101 openhab@local host
  3. password habopen
  4. typed log:set DEBUG org.openhab.io.imperihome
  5. typed logout in karaf
  6. sudo service openhab2 stop
  7. deleted openhab.log
  8. sudo openhab2 restart

The file is still too big and even if I pdf it, it is 2.3 meg versus the 1024 limit allowed to post.

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]

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?

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.

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

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?

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!

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.

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.

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.

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 !!!

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.

Thank you!
It’s fine!