This object is in archive! 

Sunblinds open and close with sunset sunrise not working with conditions

Dimitri Van Hove shared this problem 6 years ago
Known

Hello,


I got 2 rules to open and close the sunblinds with sunset and sunrise.

I also active a virtual switch , so i can over rule this.

For example if the sunblinds closes and i need to open them again when the rule is active.

04e80f53a307f275de57a70ea1444f1e

problem is now , when a active the rule, and i set the blinds between 0 and 100

the blinds go to 80 and then to 0 again, and then back to 80 . and this in an endless loop..

What is wrong in the script ?

I use the virtual swith to overule wheni need to open ore close the blinds manually

8e005ae2dbc5c5e77209d78d1ef8aee93b30800c8c5982b67ebee6ff28f84d96

Replies (4)

photo
1

Is it possible to the sheduler is not working ? If i set the blinds to 0 and then the virtual swith to off it executes the rules.

And there are 3 conditions, , needs to be sunset,blinds between 0 and 50 and virtual swith off. It like he is not seeing the shedular correct.... any tips ? the sunset /sunres is working because i do ths also wih lights and that works without problem.

photo
1

Hi Dimitri,


When you are making rule with scheduler you need to know 2 things.

1. There can be only one scheduler per rule.

2. Scheduler need to be ALONE in WHEN block.

photo
1

OK, so i need to set only the sheduler in WHEN and al the rest in the IF block.

Will try that, thanks for the tip.

tried this, and i think this will also work, just a long rule :-)

81e7eeb0ca35c64159698a2a89402599

photo
photo
1

No more loops now, will need to see if the blinds will close this evening.

4fc0e415e41820c6f6e3d53a9a870193

photo
1

Works just fine :-)

photo
photo
1

Glad to see it worked.

Thanks for the update Vedran on the scheduler, that it can only be used once per rule, and need to be in its own block.

Thought I would jump to the "Knowledge" section where beginners go to see this documentation for learning, and couldn't find the information page on blocks and programming. Any ideas where this has gone?

Leave a Comment
 
Attach a file