I have a question regarding an event involving my venetian blinds.
I want to control them at to bes set to predefined levels like 25% blinds closed or 25% blinds open.
To be sure that the blinds are closed at 25% they have to come from a lower level.
For example if the blinds are at 75% and i set them 25% the flaps would be rotated open.
So to be sure that they are at 25% closed they have to go to a lower level first.
I made an event that looks like this
Code: Select all
if (dz.devices(Schalter).level == 10) then
if(dz.devices(Jalousie).level < 25) then
dz.devices(Jalousie).dimTo(25).silent()
else dz.devices(Jalousie).dimTo(20).silent() at this point the next step should only be executed once this position is reached
dz.devices(Jalousie).dimTo(25).silent()
end
To work correctly they should go to 20% wait till they are at 20% and then go to 25%
Can someone help me with that?