Digitalstrom binding ONLINE - CONFIGURATION_PENDING

Hello. Thanks for your message. DS is my main system here, too! I am currently looking at IP-Symcon and Sarah2. Trouble is, that all the time I invested goes down the drain and that is quite annoying. However, I am surprised you did not encounter the same problems…

I am not quite shure if we could/should blame the binding for those issues.
What I see, even the original digitalSTROM IOS App is not able to connect to the dss all the time. To me it seems they have introduced some bugs in firmware 1.14…
In regards to the binding, using IP Address instead of hostname should solve your issue.

Hello to all,

since the 3.1.2019 there is a new version of dss out. 1.15.0 for newer ds-servers older ds-servers will be updated to 1.14.5 for a last time.

Due to some problems the update process for the dss was stopped on 4.1.2019.

Has anyone updated allready 1.15.0 ? Is this version working with the new OH2.4 release?

I still had no time to upgrade my dss as well as my openhab.

For more information about the actual dss version you can have a look here
https://www.digitalstrom.com/support/softwareupdate/

I don’t which server I have but I don’t see any pending system updates. Version is now 1.14.4.1

@ maxx92 I use IP-adress in the binding config, maybe that’s the solution for now?

My dss just updated to 1.14.5 and still running. Won‘t get 1.15 as it is to old.

It is not, unfortunately. I did use the IP-address and the binding picked up the token allright… The “funny” thing is, this time I did not change anything on the dss side, only on the OH side.

Hello Hans-Jörg. See my answer below, I did use the IP-address to no avail. The token was generated and fetched but now it sits idling around, waiting for “configuration”…

That‘s strange, it is working fine here, upgraded my dss to 1.14.5 yesterday.
So I don‘t see a real issue with the binding.
My Installation:
Intel NUC (Celeron N2840 / 8GB Ram)
OpenHAB 2.4M6 (no changes to digitalSTROM Binding in newer versions)
Oracle Java 8 64bit 1.8.0_181
dss 1.14.5

I use openHAB 2.5.0~S1491-1 (Build #1491) and dss 1.14.4.1
The rest I don’t know how to look up…

Hello @hmerk

are you joking? The 1.15 is the newest release digitalstrom offers. The 1.14.5 is highest last release for a dss11 all other dss wil be or can be upgraded to 1.15.

No, not joking as I have a dss11

Quote from DS:

To analyze and fix the problems that occurred, we took the new update for dSS11-E / dSS-IP / dSS20 / dSS22 offline and reset it accordingly to version 1.14.4.1.

Whatever I do, I can’t get across this one:

java.lang.StringIndexOutOfBoundsException: String index out of range: 2
	at java.lang.String.substring(String.java:1963) ~[?:?]
	at org.eclipse.smarthome.binding.digitalstrom.internal.discovery.DiscoveryServiceManager.onDeviceAdded(DiscoveryServiceManager.java:200) ~[?:?]
	at org.eclipse.smarthome.binding.digitalstrom.internal.lib.manager.impl.DeviceStatusManagerImpl$PollingRunnable.run(DeviceStatusManagerImpl.java:345) ~[?:?]
	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) [?:?]```

BTW: Do your dS item states get updated when you press a physical switch?
After startup all item states show as ON (lights) and if I use a physical switch the item states will not get updated. What is your experience?

Hi Christian

This is a known „feature“… Even in their own app the status is not visible, afaik.

java -version

Btw, are you using textual config (things file) ?

Yes, I do.

Ok, that‘s a main difference to my installation, I don‘t use Thing files at all. I tried in the past but faced some issue that Bindings could not update Thing configs properly. So to track your issue down, could you please setup a test installation and try the digitalSTROM Binding without using a Things file. You probably have to manually create the dss thing in PaperUI.

I wish I could. However, I am at work in the middle East, roughly 4000 kilometers from home. I only get to go home towards the end of the month. Up to then, I can not do anything that does not work via VPN… I might give it a try once there.

After few days, all imported things from digitalstrom show UNINITIALIZED… I did some restarts of the openhab machine. What now?