How to get digitalstrom on basicUI working?

I mananged to get a running installation of the digitalstrom Binding on my OH2 on an RPI using the PaperUI.

The digitalSTROM Server THING is running. In the inbox of the PaperUI I find a lot of my digitalstrom equipment. I added a few as a new thing. An voilá, on the PaperUI ControlPage I found my rollershutter and I can command it.

What do I have to do, get digitalstrom Server working in the classicUI ?

I tried by two ways:

  1. I added the thing as an channel in my .items File like
> Rollershutter Rol_WohnTe        "Rollladen WohnT  UP/DOWN"   {channel="digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600"}
  1. I added like described in the binding description
Rollershutter Jal_Kueche        "Küche UP/DOWN"              {digitalstrom="dsid:3504175fe00000000005932e"}
Rollershutter Jal_Kueche        "Küche UP/DOWN"              {digitalstrom="dsid:3504175fe00000000005932e#context:slat"}

I think for the second try I also need to define a digitalstrom.cfg File, what I did not, because it should work like for example the astro binding does.

In my classicUI sitemap I entered:

 Slider item=Jal_Kueche
 Slider item=Rol_WohnTe

The sliders can be moved with the mouse, but nothing happens.

What am I doing wrong?

Can somebody please give me a hint?

Thank you

the correct item definition would be

> Rollershutter Rol_WohnTe        "Rollladen WohnT  UP/DOWN"   {channel="digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600:shade"}

where “shade” is the important part for RollerShutters.

Your second try is looking like an openHAB 1.x Binding definition

Thank you very much for your tip.

It is working now.

But it only worked after I added the rollershutter as thing as well in the PaperUI and after an reboot of the system.

Is this the correct behavior I should expect during an installation of an new item?

An other question is: Where did you know from, that you have to wright :shade at the end of the channel expression ?

In case of my jalousie what do I have to attach for up/down and moving the slat angle?

In the classicUI the rollershuter slider and symbol shows 100% with symbol closed. In reality the rollershuter ist open. In PaperUI it is shown and working the correct way. It seem to me that I have to configure somehow the parameter awning in the .items file. What do I have to do therefor.

Alternatively it would be nice to know where you did get the information from. It is not described in the digitalstrom binding!
The channel definition was just an assumption, because I thought it could work like the astro binding.

Well,it is all in the binding doku :

demo.items:

Dimmer Brightness { channel="digitalstrom:GE:GE-KM200-1:brightness" }
Number ActivePower { channel="digitalstrom:GE:GE-KM200-1:activePower" }
Number OutputCurrent { channel="digitalstrom:GE:GE-KM200-1:outputCurrent"}
Number ElectricMeter { channel="digitalstrom:GE:GE-KM200-1:electricMeter" }
Number TotalActivePower { channel="digitalstrom:dssBridge:dssBridge1:totalActivePower "}
Number TotalElectricMeter { channel="digitalstrom:dssBridge:dssBridge1:totalElectricMeter  "}
Rollershutter Shade { channel="digitalstrom:GR:GR-KM200-1:shade" }
Switch Scene { channel="digitalstrom:namedScene:scene1:scene" }

Like the Docu says : shadeAngle

Thanks a lot for that link.

I never found that page before.

But I never thought about searching digitalstrom in combination with eclipse smarthome. I allways searched in combination with openhab or oh2.

Now I have a lot new thing to read. May be the further installation becomes now a little bit easier.

You will find it there as well: http://docs.openhab.org/addons/bindings/digitalstrom/readme.html

Hello Kai,

I found the page with the tutorial, Beginner, Advanced and Migration. I read all of the text.

But somehow I never noticed that there is on the top also a link to a UserManual.

Most of the pages in there I read on a different place, I think it was linked from the knx forum. With that link I managed to get an working OH2 installation on an RPI. I am sure that I did nothing with apt-get, chown, or samba. I was on different pages.

And the Add Ons you refer I realy never found. I now your main entry link, since your anouncement at the beginning of June. It was mostly empty, now it seems to be full with information.

Up to now I was trying hard to get a running system. Nearly everything I managed to run, was by try an error.

I will start reading all the new information and I hope that all the configuration stuff will become a lot easier.

Thanks for that personal update.

If you feel that it is difficult to find the relevant parts in the docu, please feel free to help improving it. See this discussion around maintaining the docu, we definitely need more helping hands!

Hello,

I read a litle bit of the documentation. I’am still trying to get my jalousie fully controlled by openhab2.

In my .items file I added

Rollershutter Jal_Kueche        "Küche UP/DOWN"              {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade"}
Dimmer        Jal_Kueche_W        "Küche Winkel [%d %%]"       {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle"}

in the sitemap I entered

Slider item=Jal_Kueche
Slider item=Jal_Kueche_W

The slider “Jal_Kueche” is working without any problems.
The slider “Jal_Kueche_W” does nothing at all.

What am I doing wrong? Where is my missunderstanding?

I supose that it has to do with the note

Blinds:

  • Increase, decrease and up, down commands of the shade channel changes
    the angle in digitalSTROM, too. If you want to set only the position,
    you have to set the value directly.
  • To protect the slats digitalSTROM changes the position by setting the
    angle, too, if the position is very high or low. So if you want to see
    the correct position, you have to send a refresh or stop command, if the
    blind is ready.

I do not understand at all the meaning of that note. Can you, or somebody else give me an example how I can setup a fully working blind.

Even more, I would like to change continously the blind angle with the rising or falling sun elevation angle about every 10 or 15 minutes. I wanted to use therefore the astro binding.

I think this is a pretty simple target, and it should not last longer than 10 Minutes to implement having an allready running digitalstrom and astro binding.

I only can go on with very litle steps and I would be appreciated to have someone who can me let a jump forward.

Thank you

As it says, the angle can only be controlled by sendin the four listed commands.
A Slider does send percentage values, so it can not control an angle.
You should uses buttons sending the defined commands.

To give you some hints fo your second question :

  • you will need persistance to get historic states of items
  • define a rule with a cron trigger of every 15 minutes
  • read actual state and historic state of sun elevation
  • if difference is positive, send command “increase” to your shade angle item
  • if difference isnegative, send “decrease” command.

If you uses the search function, you will find more reference about using historic states or sending commands.

I changed now to the following:

Rollershutter Jal_Kueche        "Küche UP/DOWN"              {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade"}
Dimmer        Jal_Kueche_W      "Küche Winkel [%d %%]"       {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle"}
Slider item=Jal_Kueche
Switch item=Jal_Kueche
Setpoint item=Jal_Kueche_W minValue=0 maxValue=100 step=10

the blind is running via the slider as well as via the switch. Even the stop command is working.
I changed the shadeAngle to type setpoint. I supose with that I send defined commands. But nothing happens. The shown value changes when I press up or down, but the blind is not moving at all. I if set the angle directly by the dss-Server the blind is running, but nothing else happens.

How can I test the shadeAngle?

Am I right, when I define an Jal_Kueche for the up/down and an Jal_Kueche_W for the angle? In the example of the oh1 binding both where defined with the same name.

Ok, after reading again, I guess I misunderstood the docu and lead you to the wrong direction.
I will ask the authors to add examples for the slat angle to the docu.

Here is the authors response :

Hi peaeater,

we have test it and get some errors by the creation of the “Jal_Kueche_W” Item, because of that it will not be created. Without an Item the Binding can not receive the command and nothing will happen. Delete the statement “[%d %%]” and the item will be create and solve the Problem. It worked for us on the Testserver. The other definitions are correct.

So the Item definition will be like that:

Rollershutter Jal_Kueche        "Küche UP/DOWN"              {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade"}_
Dimmer        Jal_Kueche_W      "Küche Winkel"       {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle"}_

The first note of the following for blinds says, that you have to set the position and angle directly e.g. through a slider Item. If you want to set the parameters independently, increase, decrease and up, down commands will have an effect to both parameters by digitalSTROM.
_The second note says, that sometimes the position and angle will change, if you only affect one of the parameter. Because of that you have to send a refresh or stop command, if the blind is ready to read out the outputvalues again to get the correct position. We think that is to protect the slats of the blinds. It has to be triggered manually, because the digitalSTROM-server doesn’t inform other applications, if the blind is ready, so we don’t know when the blind is ready for reading out the outputvalue. _

Blinds:
• Increase, decrease and up, down commands of the shade channel changes the angle in digitalSTROM, too. If you want to set only the position, you have to set the value directly.
• To protect the slats digitalSTROM changes the position by setting the angle, too, if the position is very high or low. So if you want to see the correct position, you have to send a refresh or stop command, if the blind is ready.

Best regards and much success

Michael Ochel and Matthias Siegele

Hello thanks a lot for your nigthly answer.

But it didn’t work.

I changed it the following way:

Rollershutter Jal_Kueche        "Küche UP/DOWN"            {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade"}
Dimmer        Jal_Kueche_W      "Küche Winkel"             {channel="digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle"}
 Frame label="Wetter" {
         Text item=Clouds
         Slider item=Jal_Kueche
         Switch item=Jal_Kueche
         Slider item=Jal_Kueche_W
         Switch item=Rol_WohnTe
         Slider item=Rol_WohnTe
         Text item=NLWetterlage

The result is: The slider and switch of “Jal_Kueche” is working.
the Slider for “Jal_Kueche_W” does nothing.

Because of your comment, that the item may not be created, I checked my openhab.log File for “digitalstrom” entries.
I found follwing entry

Line 14685: 2016-07-23 00:14:40.710 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'Jal_Kueche_W-digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle' has been added.

Later on, when I move the ShadeAngle Slider I will have the follwoing entries:

Line 15195: 2016-07-23 00:18:40.611 [WARN ] [g.digitalstrom.handler.DeviceHandler] - Command sent to an unknown channel id: digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle

If I compare that entry with the working entry of shade changes

Line 15212: 2016-07-23 00:18:53.184 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade changed from 73 to 56

I see a naming difference. The shade item is divided by “_” the ShadeAngle Item by “.” May be that is the problem?

Following I send you all my digitalstrom entries after reboot. May be you will see something

    Line 14432: 2016-07-23 00:13:17.060 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 213 to 210
    Line 14433: 2016-07-23 00:13:17.096 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.081000000000130967237055301666259765625 to 1440.08300000000008367351256310939788818359375
    Line 14437: 2016-07-23 00:14:19.928 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' has been added.
    Line 14438: 2016-07-23 00:14:19.954 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' has been added.
    Line 14439: 2016-07-23 00:14:19.960 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' has been added.
    Line 14440: 2016-07-23 00:14:19.965 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' has been added.
    Line 14441: 2016-07-23 00:14:19.970 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'digitalstrom:dssBridge:303505d7f800182000000a96' has been added.
    Line 14547: 2016-07-23 00:14:20.665 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088600_shade' has been added.
    Line 14548: 2016-07-23 00:14:20.668 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088600_shade-digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600:shade' has been added.
    Line 14548: 2016-07-23 00:14:20.668 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088600_shade-digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600:shade' has been added.
    Line 14549: 2016-07-23 00:14:20.695 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088613_shade' has been added.
    Line 14550: 2016-07-23 00:14:20.698 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088613_shade-digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613:shade' has been added.
    Line 14550: 2016-07-23 00:14:20.698 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088613_shade-digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613:shade' has been added.
    Line 14551: 2016-07-23 00:14:20.702 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade' has been added.
    Line 14552: 2016-07-23 00:14:20.706 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade-digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade' has been added.
    Line 14552: 2016-07-23 00:14:20.706 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade-digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade' has been added.
    Line 14553: 2016-07-23 00:14:20.709 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_appScene_303505d7f800182000000a96_0_0_88_scene' has been added.
    Line 14554: 2016-07-23 00:14:20.712 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_appScene_303505d7f800182000000a96_0_0_88_scene-digitalstrom:appScene:303505d7f800182000000a96:0-0-88:scene' has been added.
    Line 14554: 2016-07-23 00:14:20.712 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_appScene_303505d7f800182000000a96_0_0_88_scene-digitalstrom:appScene:303505d7f800182000000a96:0-0-88:scene' has been added.
    Line 14555: 2016-07-23 00:14:20.716 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower' has been added.
    Line 14556: 2016-07-23 00:14:20.719 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower-digitalstrom:dssBridge:303505d7f800182000000a96:totalActivePower' has been added.
    Line 14556: 2016-07-23 00:14:20.719 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower-digitalstrom:dssBridge:303505d7f800182000000a96:totalActivePower' has been added.
    Line 14557: 2016-07-23 00:14:20.723 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter' has been added.
    Line 14558: 2016-07-23 00:14:20.728 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter-digitalstrom:dssBridge:303505d7f800182000000a96:totalElectricMeter' has been added.
    Line 14558: 2016-07-23 00:14:20.728 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter-digitalstrom:dssBridge:303505d7f800182000000a96:totalElectricMeter' has been added.
    Line 14563: 2016-07-23 00:14:27.570 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' changed from UNINITIALIZED to INITIALIZING
    Line 14564: 2016-07-23 00:14:27.607 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' changed from UNINITIALIZED to INITIALIZING
    Line 14565: 2016-07-23 00:14:27.619 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from UNINITIALIZED to INITIALIZING
    Line 14566: 2016-07-23 00:14:27.634 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from UNINITIALIZED to INITIALIZING
    Line 14567: 2016-07-23 00:14:27.698 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:dssBridge:303505d7f800182000000a96' changed from UNINITIALIZED to INITIALIZING
    Line 14568: 2016-07-23 00:14:27.712 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:dssBridge:303505d7f800182000000a96' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Checking configuration...
    Line 14569: 2016-07-23 00:14:27.732 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14570: 2016-07-23 00:14:27.732 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14571: 2016-07-23 00:14:27.735 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14572: 2016-07-23 00:14:27.744 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14573: 2016-07-23 00:14:27.747 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (BRIDGE_OFFLINE)
    Line 14574: 2016-07-23 00:14:27.754 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (BRIDGE_OFFLINE)
    Line 14575: 2016-07-23 00:14:27.754 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (BRIDGE_OFFLINE)
    Line 14576: 2016-07-23 00:14:27.758 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14577: 2016-07-23 00:14:27.762 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14578: 2016-07-23 00:14:27.766 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Loading configuration
    Line 14579: 2016-07-23 00:14:27.778 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (CONFIGURATION_PENDING): Waiting for building digitalSTROM model.
    Line 14579: 2016-07-23 00:14:27.778 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (CONFIGURATION_PENDING): Waiting for building digitalSTROM model.
    Line 14580: 2016-07-23 00:14:27.795 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Checking connection
    Line 14583: 2016-07-23 00:14:29.303 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Initializing digitalSTROM Manager
    Line 14583: 2016-07-23 00:14:29.303 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Initializing digitalSTROM Manager
    Line 14600: 2016-07-23 00:14:30.325 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Building digitalSTROM model
    Line 14600: 2016-07-23 00:14:30.325 [INFO ] [g.digitalstrom.handler.BridgeHandler] - Building digitalSTROM model
    Line 14602: 2016-07-23 00:14:30.664 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:dssBridge:303505d7f800182000000a96' has been updated.
    Line 14603: 2016-07-23 00:14:30.958 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from NULL to 211
    Line 14604: 2016-07-23 00:14:31.038 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from NULL to 1440.08699999999998908606357872486114501953125
    Line 14605: 2016-07-23 00:14:31.049 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (CONFIGURATION_PENDING): Checking configuration...
    Line 14606: 2016-07-23 00:14:31.249 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' has been updated.
...
    Line 14676: 2016-07-23 00:14:40.668 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' has been updated.
    Line 14677: 2016-07-23 00:14:40.678 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:dssBridge:303505d7f800182000000a96' changed from OFFLINE (CONFIGURATION_PENDING): Checking configuration... to ONLINE
    Line 14678: 2016-07-23 00:14:40.685 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'Rol_WohnTe-digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600:shade' has been added.
    Line 14679: 2016-07-23 00:14:40.686 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to ONLINE
    Line 14680: 2016-07-23 00:14:40.689 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_GR_303505d7f800182000000a96_303505d7f8000f0000088600_shade changed from NULL to 0
    Line 14681: 2016-07-23 00:14:40.693 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from OFFLINE (BRIDGE_OFFLINE) to OFFLINE
    Line 14684: 2016-07-23 00:14:40.704 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'Jal_Kueche-digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade' has been added.
    Line 14685: 2016-07-23 00:14:40.710 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'Jal_Kueche_W-digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle' has been added.
    Line 14695: 2016-07-23 00:14:40.842 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' has been updated.
...
    Line 14825: 2016-07-23 00:14:49.020 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088613' has been updated.
    Line 14826: 2016-07-23 00:14:49.025 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from OFFLINE to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14827: 2016-07-23 00:14:49.029 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to ONLINE
    Line 14828: 2016-07-23 00:14:49.161 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' has been updated.
...
    Line 14883: 2016-07-23 00:14:56.832 [INFO ] [smarthome.event.ThingUpdatedEvent   ] - Thing 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' has been updated.
    Line 14884: 2016-07-23 00:14:56.849 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for building digitalSTROM model. to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14884: 2016-07-23 00:14:56.849 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for building digitalSTROM model. to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14885: 2016-07-23 00:14:56.854 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to OFFLINE (CONFIGURATION_PENDING): Waiting for listener registration
    Line 14886: 2016-07-23 00:14:56.941 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:appScene:303505d7f800182000000a96:0-0-88' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for listener registration to ONLINE
    Line 14887: 2016-07-23 00:14:56.949 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_appScene_303505d7f800182000000a96_0_0_88_scene changed from NULL to OFF
    Line 14888: 2016-07-23 00:14:56.953 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' changed from OFFLINE (CONFIGURATION_PENDING): Checking configuration... to OFFLINE (CONFIGURATION_PENDING): waiting for listener registration
    Line 14889: 2016-07-23 00:14:56.959 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'digitalstrom:GR:303505d7f800182000000a96:303505d7f8000f0000088600' changed from OFFLINE (CONFIGURATION_PENDING): waiting for listener registration to ONLINE
    Line 15061: 2016-07-23 00:15:01.342 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.08699999999998908606357872486114501953125 to 1440.087999999999965439201332628726959228515625
    Line 15166: 2016-07-23 00:15:32.103 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 211 to 202
    Line 15167: 2016-07-23 00:15:32.134 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.087999999999965439201332628726959228515625 to 1440.091000000000121872290037572383880615234375
    Line 15170: 2016-07-23 00:16:03.169 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.091000000000121872290037572383880615234375 to 1440.093000000000074578565545380115509033203125
    Line 15173: 2016-07-23 00:16:34.133 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 202 to 200
    Line 15174: 2016-07-23 00:16:34.186 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.093000000000074578565545380115509033203125 to 1440.0940000000000509317032992839813232421875
    Line 15177: 2016-07-23 00:17:05.118 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.0940000000000509317032992839813232421875 to 1440.09600000000000363797880709171295166015625
    Line 15180: 2016-07-23 00:17:36.129 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 200 to 201
    Line 15181: 2016-07-23 00:17:36.168 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.09600000000000363797880709171295166015625 to 1440.097999999999956344254314899444580078125
    Line 15184: 2016-07-23 00:18:07.128 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 201 to 200
    Line 15185: 2016-07-23 00:18:07.184 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.097999999999956344254314899444580078125 to 1440.098999999999932697392068803310394287109375
    Line 15190: 2016-07-23 00:18:36.674 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade changed from NULL to 73
    Line 15192: 2016-07-23 00:18:37.834 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalActivePower changed from 200 to 202
    Line 15193: 2016-07-23 00:18:37.874 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.098999999999932697392068803310394287109375 to 1440.10100000000011277734301984310150146484375
    Line 15195: 2016-07-23 00:18:40.611 [WARN ] [g.digitalstrom.handler.DeviceHandler] - Command sent to an unknown channel id: digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle
...
    Line 15205: 2016-07-23 00:18:47.816 [WARN ] [g.digitalstrom.handler.DeviceHandler] - Command sent to an unknown channel id: digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle
    Line 15212: 2016-07-23 00:18:53.184 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_GR_303505d7f800182000000a96_3504175fe00000000005932e_shade changed from 73 to 56
...
    Line 15228: 2016-07-23 00:19:02.287 [WARN ] [g.digitalstrom.handler.DeviceHandler] - Command sent to an unknown channel id: digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle
    Line 15230: 2016-07-23 00:19:02.955 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e' takes more than 5000ms for processing event
    Line 15231: 2016-07-23 00:19:16.349 [INFO ] [marthome.event.ItemStateChangedEvent] - digitalstrom_dssBridge_303505d7f800182000000a96_totalElectricMeter changed from 1440.10100000000011277734301984310150146484375 to 1440.1030000000000654836185276508331298828125


Hi peaeater,
we have test it and get some errors by the creation of the “Jal_Kueche_W” Item, because of that it will not be created. Without an Item the Binding can not receive the command and nothing will happen. Delete the statement “[%d %%]” and the item will be create and solve the Problem. It worked for us on the Testserver. The other definitions are correct.
So the Item definition will be like that:Rollershutter Jal_Kueche “Küche UP/DOWN” {channel=“digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shade”}
Dimmer Jal_Kueche_W “Küche Winkel” {channel=“digitalstrom:GR:303505d7f800182000000a96:3504175fe00000000005932e:shadeAngle”}
The first note of the following for blinds says, that you have to set the position and angle directly e.g. through a slider Item. If you want to set the parameters independently, increase, decrease and up, down commands will have an effect to both parameters by digitalSTROM.The second note says, that sometimes the position and angle will change, if you only affect one of the parameter. Because of that you have to send a refresh or stop command, if the blind is ready to read out the outputvalues again to get the correct position. We think that is to protect the slats of the blinds. It has to be triggered manually, because the digitalSTROM-server doesn’t inform other applications, if the blind is ready, so we don’t know when the blind is ready for reading out the outputvalue.
Blinds:Increase, decrease and up, down commands of the shade channel changes the angle in digitalSTROM, too. If you want to set only the position, you have to set the value directly.To protect the slats digitalSTROM changes the position by setting the angle, too, if the position is very high or low. So if you want to see the correct position, you have to send a refresh or stop command, if the blind is ready.
Best regards and much success
Michael Ochel and Matthias Siegele

Hello,

I did, what you told me to do yesterday, when I got the answer from hmerk

As you see in my log files (the post before your post), the shadeAngel ChanelLinkAddedEvent is added.

But when I try to set the shadeAngel I get still the measage [quote=“peaeater, post:14, topic:12402”]
Command sent to an unknown channel id
[/quote]

You gave me the tip to:

At the moment I do not know how to send a refresh command, but when I send the stop command just after rebooting the system, my shade slider becomes updated. With my shadeAngle slider nothing happens.

If I connect the shadeAngle in my sitemap with an switch I get an On/Off Switch. There is no refresh nor stop option.so I supose the stop of the shade switch also should trigger the shadeAngle to become refreshed.

My shadeAngle is not working at all.

A question: Should the shadeAngle be shown in the PaperUI? I only have the possiblity to see and command the shade.

A question: in the openhab1.1 Binding the item name is not differentiated. Should it be the same in oh2? I used Jal_Kueche for the shade an Jal_Kueche_W for the shadeAngle. I also tried both with the same itemname it didn’t work eather. (I hoped to get something like a doubleparted Slider one part for the shade, one part for the angle)

May be we could clearify the issue better in german than in english.

Hallo peaeater,
ja, wir können das gerne auf Deutsch klären. Der Doppelpost lag daran, dass der Account für die openHAB-Community vorher noch nicht freigeschaltet war.

Das Problem, dass kein Item erstellt wurde, ist nun behoben. Zu sehen ist, dass nun die Befehle an den DeviceHandler weitergeleitet werden. Das Problem was jetzt besteht ist, dass der DeviceHandler keinen ChannelTyp ShadeAngle kennt. Einzige Erklärung, die wir aktuell dafür haben ist, dass Sie nicht die aktuellste Version des Bindings installiert haben, sondern die Version vor dem letzten Update nutzen. In dieser Version gab es diesen Channel noch nicht und daher kann der DeviceHandler die Befehle nicht behandeln.

Dies deutet ebenfalls darauf hin, dass eine veraltete Binding Version installiert ist, da der Channel in der PaperUI angezeigt werden sollte. Daher sollten Sie versuchen das Binding zu aktualisieren.

Da wir lediglich das Binding entwickelt haben und nicht viel mit OH2 zu tun haben, wissen wir leider nicht genau wie openHAB das aktuell mit Binding-Updates regelt. Man kann ein Binding auf jeden Fall deinstallieren und wieder neu installieren, ohne das die Things etc. gelöscht werden. Wir schätzten, dass openHAB bei der Installation in der Online-Version das aktuellste Binding aus dem Netz bezieht. Bei der Offline-Version gehen wir davon aus, dass die Bindings mit dem Server heruntergeladen wurden und lokal bezogen werden. Wenn dem so ist, sollte das Binding mit dem deinstallieren und wieder installieren bei der Online-Version gehen und bei der Offline nicht.

Wir gehen davon aus, dass man nicht die gleichen Namen nutzen sollte. Es müsste das oben genannte Problem sein.

Viele Grüße

Michael und Matthias

Hi guys,

sorry, but as this is an international community, please keep conversation in english.

Danke für die Antwort,

But no I have to continue again in english. [quote=“hmerk, post:18, topic:12402”]
sorry, but as this is an international community, please keep conversation in english.
[/quote]

I checked my version.

My Version is 0.8.0 snapshot.

I installed the online version of openhab2 by downloading the zip file.a few month ago and extraced it to /op/openhab2

wget https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-online/target/openhab-online-2.0.0-SNAPSHOT.zip

sudo unzip openhab-online-2.0.0-SNAPSHOT.zip -d /opt/openhab2/

I installed a sytemd service

cd /lib/systemd/system
sudo nano openhab.service

since than my openhab2 was running and I started to get my astro binding, weather binding an digitalstrom binding to run.

I supose, I have installed the online version, what do I have to to to update my digitalstrom binding from verrsion0.8.0snapshot to the 0.9.0snapshot (it seems to be the latest one I can find at github)

In paperUI I deinstalled my digitalstrom binding extension. Nothing changed in the version, after reboot, I still only can install the 0.8.0snapshot.

What do I have to do to get an updated digitalstrom binding?

Easiest would be to completely remove your old installation, do a fresh download and install everything from scratch.
There have been some more important changes, so this would give you the most benefit.