This object is in archive! 

Basic time program

Carl-Johan Bonander shared this question 10 years ago
Need Answer

Beginners help with programming a lighting schedule


Lamp (s) during Monday to Friday between the hours of 6:00 to 9:00 and 16:00 to 23:00 .


How to do this ?


find no example so please help me.


Preferably a picture = )

Replies (7)

photo
1

You need 4 different rules for that.


Here is 2 rules 1 for on and one for off. I´m using sunset and sunrise.


/wG1AeS2uFuOHwAAAABJRU5ErkJggg==


/D8AAAAAElFTkSuQmCC

photo
1

thank Mats, this community is perfect one :)

photo
1

You need to create an virtual weatherstation to get Astro sunset and sunrise.

Add device and select "virtual weatherstation" in the list. Set Astro offset to -1 for example. It have been a bug so Astro offset can´t be 0 to get it to work. I don´t know if it still is that problem.

photo
1

Thanks Mats ,


Did not know that it demanded " an offset to make it work.

photo
1

A late question to this.

Do we still need four different rules or can one use the IF and IF/ELSE blocks?

I attached a image of a script that do turn on the light every minute but turn them off just as quickly again.

I'm new to the Zipato scripts so any pointers would be great.

Kind Regards,

,

Anders

photo
1

I might have a solution to my own question.

Using the OR block the lights are on in the first timeframe.

Let see if they turn off and then on again at 2:30 pm :-)

2a94637b58d83daec99d6e599f8b4d22

Best,

Anders


PS the Scheduler is the same.

b902b9631172b1ab4c87ff318247ee78

photo
1

Hello,It works well for everyday. but how to limit this to Sunday for example?

Leave a Comment
 
Attach a file