OH2 digitalSTROM binding "Uninitialised" and even disappearing


(Walter) #25

Hi
I have exactly the same problem here.
I hoped the problem dissapears, when updating to the latest OH built 2.3.
I don’t know when exactly the problems started. But might be together with the DSS update to 1.14.


(Hans-Jörg Merk) #26

Hmm, that could be an issue, my dss is running distro version 1.13.5


(Gerstl) #27

Hello,
I have the same issue.

I just startet with digitalstrom again, after being abstinent for a while.

I’am using openhabian and I just installed the 2.3.0 Binding Version.

After entering my login Data

The Server keep standing in configuration pending

grafik

If I go to the Configuration Parameter back nothing has changed. I supose the username and password should be replaced by the application token automatically.

Could this be the reason, why the binding is not working?

Or what do I have to do next, to get my devices listet somewhere?

Scan for things is not returning any result for the digitalstrom binding.


(Hans-Jörg Merk) #28

Anything in your logs ???


(Gerstl) #29

Yes,

the first log entry shows what happend, on starting with the binding, the second, what happens afer reboot.

First Log

2018-06-20 15:14:27.122 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'digitalstrom:dssBridge:303505d7f800182000000a96' to inbox.
2018-06-20 15:15:27.414 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types '[digitalstrom:circuit]' on 'DeviceDiscoveryService'!
java.lang.NullPointerException: null
	at org.eclipse.smarthome.binding.digitalstrom.handler.BridgeHandler.getCircuits(BridgeHandler.java:795) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.discovery.DeviceDiscoveryService.startScan(DeviceDiscoveryService.java:95) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:208) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:427) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:403) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:260) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [118:org.eclipse.smarthome.io.rest.core:0.10.0.oh230]
	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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [15:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-06-20 15:15:49.219 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:17:33.655 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 15:17:43.093 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:17:44.357 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
java.lang.NullPointerException: null
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.climate.jsonresponsecontainer.BaseTemperatureControl.<init>(BaseTemperatureControl.java:68) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.climate.jsonresponsecontainer.impl.TemperatureControlStatus.<init>(TemperatureControlStatus.java:53) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.serverconnection.impl.DsAPIImpl.getApartmentTemperatureControlStatus(DsAPIImpl.java:1115) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.checkZones(TemperatureControlManager.java:170) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.<init>(TemperatureControlManager.java:151) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.<init>(TemperatureControlManager.java:130) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.handler.BridgeHandler$Initializer.run(BridgeHandler.java:166) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-06-20 15:20:53.756 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'

Second Log after reboot

2018-06-20 15:39:11.815 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been shut down
2018-06-20 15:39:12.688 [INFO ] [b.core.service.AbstractActiveService] - Modbus Polling Service has been shut down
2018-06-20 15:39:12.804 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2018-06-20 15:39:12.862 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2018-06-20 15:39:12.925 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2018-06-20 15:40:30.448 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '49.2918467,8.515585699999999'.
2018-06-20 15:40:30.487 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'de_DE'.
2018-06-20 15:40:34.065 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.203:8080
2018-06-20 15:40:34.072 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.203:8443
2018-06-20 15:40:50.484 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'CMI_Modbus.items'
2018-06-20 15:40:50.924 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'CMI_Json.items'
2018-06-20 15:40:51.082 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'lg.items'
2018-06-20 15:40:51.417 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'AC40.items'
2018-06-20 15:40:51.561 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'general.items'
2018-06-20 15:40:51.667 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Astro.items'
2018-06-20 15:40:53.178 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2018-06-20 15:40:59.211 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-06-20 15:41:07.989 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'CMI_Kessel.rules'
2018-06-20 15:41:10.361 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'AC40.rules'
2018-06-20 15:41:14.389 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'CMI_Modbus.rules'
2018-06-20 15:41:16.013 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'gehome.sitemap'
2018-06-20 15:41:18.255 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:local
2018-06-20 15:41:18.385 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled Positional job astro:sun:local every 300 seconds
2018-06-20 15:41:18.640 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:local
2018-06-20 15:41:18.677 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled Positional job astro:sun:local every 300 seconds
2018-06-20 15:41:24.587 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-06-20 15:41:24.988 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-06-20 15:41:25.194 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been started
2018-06-20 15:41:25.665 [INFO ] [b.core.service.AbstractActiveService] - Modbus Polling Service has been started
2018-06-20 15:41:27.436 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-06-20 15:41:27.777 [WARN ] [eclipse.jetty.servlet.ServletHandler] - 
javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_3,4,15901562) has been shut down

	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [15:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.glassfish.hk2.api.MultiException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_3,4,15901562) has been shut down

	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:106) ~[?:?]
	at org.jvnet.hk2.internal.FactoryCreator.dispose(FactoryCreator.java:173) ~[?:?]
	at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope$Instance.remove(RequestScope.java:532) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope$Instance.release(RequestScope.java:549) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:319) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) ~[170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) ~[170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) ~[167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	... 31 more
Caused by: java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_3,4,15901562) has been shut down
	at org.jvnet.hk2.internal.ServiceLocatorImpl.checkState(ServiceLocatorImpl.java:2288) ~[?:?]
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandleImpl(ServiceLocatorImpl.java:629) ~[?:?]
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:622) ~[?:?]
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:640) ~[?:?]
	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:103) ~[?:?]
	at org.jvnet.hk2.internal.FactoryCreator.dispose(FactoryCreator.java:173) ~[?:?]
	at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope$Instance.remove(RequestScope.java:532) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope$Instance.release(RequestScope.java:549) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:319) ~[169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) ~[170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) ~[170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) ~[167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	... 31 more
2018-06-20 15:41:31.757 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
java.lang.NullPointerException: null
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.climate.jsonresponsecontainer.BaseTemperatureControl.<init>(BaseTemperatureControl.java:68) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.climate.jsonresponsecontainer.impl.TemperatureControlStatus.<init>(TemperatureControlStatus.java:53) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.serverconnection.impl.DsAPIImpl.getApartmentTemperatureControlStatus(DsAPIImpl.java:1115) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.checkZones(TemperatureControlManager.java:170) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.<init>(TemperatureControlManager.java:151) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.TemperatureControlManager.<init>(TemperatureControlManager.java:130) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.handler.BridgeHandler$Initializer.run(BridgeHandler.java:166) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-06-20 15:41:37.618 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Kesselstatus': Could not cast NULL to java.lang.Number; line 9, column 31, length 22
2018-06-20 15:41:39.243 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Sommerbetrieb': Could not cast NULL to java.lang.Number; line 32, column 32, length 27
2018-06-20 15:43:00.168 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 15:43:17.160 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:43:51.640 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:48:01.150 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 15:50:17.247 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:50:37.456 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:50:50.415 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:50:50.478 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:50:53.368 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:51:18.371 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:51:18.391 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:51:33.024 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 15:52:21.158 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 15:57:22.164 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 15:59:23.401 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 16:01:09.190 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '1' with the file 'lg_mode.map' : Target value not found in map for '1'
2018-06-20 16:07:24.137 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS
2018-06-20 16:12:25.155 [INFO ] [.smarthome.model.script.Kesselstatus] - Kesselstatus=AUS

(Gerstl) #30

My dss is running under Version 1.14.2.1

The creation of the token on the dss has worked

grafik

shall I delete the token and try again?


(Gerstl) #31

I deletet the token and the digitalstromserver thing.

And started again:

I get the following log:

2018-06-21 18:57:31.825 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'digitalstrom:dssBridge:303505d7f800182000000a96' to inbox.
2018-06-21 19:00:19.977 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types '[digitalstrom:circuit]' on 'DeviceDiscoveryService'!
java.lang.NullPointerException: null
	at org.eclipse.smarthome.binding.digitalstrom.handler.BridgeHandler.getCircuits(BridgeHandler.java:795) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.binding.digitalstrom.internal.discovery.DeviceDiscoveryService.startScan(DeviceDiscoveryService.java:95) [227:org.eclipse.smarthome.binding.digitalstrom:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:208) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:427) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:403) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:260) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
	at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [118:org.eclipse.smarthome.io.rest.core:0.10.0.oh230]
	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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [15:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at java.lang.Thread.run(Thread.java:748) [?:?]

No token is created, because I did not enter my credentials yet.

On creating the digitalstrom server thing something goes wrong. But what?


(Marc Tanner) #32

There is a thread over at github. The “new” temporary binding did cure a few of the troubles. Still many pending though! https://github.com/eclipse/smarthome/pull/5673#issuecomment-398763354


(Christian Radermacher) #33

Hallo,

ich habe das selbe Problem,und bekomme es auch mit der aktuellen Snapshot nicht zum laufen.

Fehlermeldung im Log:

2018-07-05 12:39:39.061 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
java.lang.NullPointerException: null
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.structure.devices.impl.DeviceImpl.<init>(DeviceImpl.java:182) [187:org.eclipse.smarthome.binding.digitalstrom:0.10.0.201806271317]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.DeviceStatusManagerImpl$PollingRunnable.getDetailedDevices(DeviceStatusManagerImpl.java:416) [187:org.eclipse.smarthome.binding.digitalstrom:0.10.0.201806271317]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.DeviceStatusManagerImpl$PollingRunnable.run(DeviceStatusManagerImpl.java:254) [187:org.eclipse.smarthome.binding.digitalstrom:0.10.0.201806271317]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Auf dem DSS läuft dSS V1.14.3. Ich habe einen DSS IP vor einen alten DSS vorgeschaltet.
openHAB ist der 2.4.0 Snapshot.

Laut dem oben verlinkten Thread sollte der Fehler behoben sein im aktuellen Snapshot.

Kann da jemand helfen?

Gruß
Christian


(Christian) #34

I have the same issues with stable 2.3 release and newest dS system. I downloaded already the temporary zip file, but no luck…

Dump question: Would it be possible to download 2.2 dS binding ftom anywhere (jar) and put it manually in addons folder?


(Christian) #35

I’ve tried it and put the 2.2 jar file into the addons folder, but no luck.

Does anyone have a running 2.3 system with working digitalstrom binding?

Is it possible to downgrade a 2.3 openhabian system to 2.2?


(Christian) #36

My conclusion is as follows: As soon as dS server runs with most current release (1.14.3) all released OH bindings (2.2, 2.3, 2.4 snapshot) do NOT work anymore.

I’m using dS binding mostly for triggering “Away” (Gehen) or “Present” (Kommen) scene with a HABPanel switch. As a workaround till binding gets adapted I created some items and rules triggering scenes directly over dS JSON API.

At first you need a valid application token:

https://IP:8080/json/system/requestApplicationToken?applicationName=openHAB_JSON

IP is the host name (dss.local) or fixed IP of dS server. The application token needs to be veryfied under dS web backend (advanced view, system, access rights)

items

Switch swi_dsswa_sce_virtual_gehen "Gehen" {expire="2s,command=OFF"}
Switch swi_dsswa_sce_virtual_kommen "Kommen" {expire="2s,command=OFF"}

rules

rule "dS Workaround Gehen"
    when
      Item swi_dsswa_sce_virtual_gehen changed to ON
then
// Execute Command - Login
	val result = executeCommandLine("curl -k --cookie-jar ./somefile https://IP:8080/json/system/loginApplication?loginToken=TOKEN", 5000)
	logInfo("execTest", result)
// Execute Command - Call Scene
	val result2 = executeCommandLine("curl -k --cookie ./somefile https://IP:8080/json/apartment/callScene?sceneNumber=72", 5000)
	logInfo("execTest", result2)
end


rule "dS Workaround Kommen"
    when
      Item swi_dsswa_sce_virtual_kommen changed to ON
then
// Execute Command - Login
	val result = executeCommandLine("curl -k --cookie-jar ./somefile https://IP:8080/json/system/loginApplication?loginToken=TOKEN", 5000)
	logInfo("execTest", result)
// Execute Command - Call Scene
	val result2 = executeCommandLine("curl -k --cookie ./somefile https://IP:8080/json/event/raise?name=highlevelevent&parameter=id=1511475859", 5000)
	logInfo("execTest", result2)

end

–> IP and TOKEN needs to be replaced with you personal values. Also “Kommen” scene is a user defined scene and needs to be adapted or ignored.

The current state of the scenes gets not retrieved but at least scenes can be triggered over OH.


(FK) #37

Hello there
Since two weeks the binding refuses to connect for longer than 15 minutes.
I tried to reconnect, now I only get the set username and password are wrong.

I am using dssadmin and the password to directly access the local digital server.

For the netwrok address I was using (alternatively)
“dss.local” or
local IP address

It seems to fail to create an application-token.

Any tipps?

Thanks


(Gerstl) #38

Hello to all,

there is now a new version of dss 1.14.4 out.

Has anybody allready tested if this version works together with the digitalstrom binding?


(Christian) #39

Yeas, already tested… Unfortunately no progress.


(Christian) #40

@hmerk Hi Hans-Jörg: Do you experience the same issues? Have you updated dS to the newest release or do you have any workarounds in place?

I remember that you have good connections to dS developers or dS binding developers. Are they aware of these issues or are there even any updates in the nearest future planned?


(Hans-Jörg Merk) #41

Hi Christian,
no, I am still on an older dSS distro not facing those issues.
These are the reason why I am not upgrading.
The developers are aware of the issues as there are according github entries. We do not know when time allows Michael or Matthias to provide a fix.


(Christian) #42

Ok, thank you.

BTW: Is it possiple to downgrade dS server?


(Hans-Jörg Merk) #43

Sorry, don‘t know if that would be possible


(Marc Tanner) #44


The horror goes on… Yes, I should have known NOT to update my DSS server. However, it is good practice to do the updates as security might be affected. But now the digitalstrom binding does not initialise again! I wonder why other apps that access DSS with a token do not have such an ugly behaviour. Michael: could you please give road side assistance so that I can use the binding at least partially?