Rule for Monday and Thursday???

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
guz
Normal user
Posts: 10
Joined: 04 Sep 2016, 21:50

Rule for Monday and Thursday???

#1 Post by guz » 12 Sep 2016, 21:13

Hi,
How can I have a rule for more than one day per week?

On Clock#Time=Mon,18:25 ... and for Thursday???

User avatar
nonflammable
Normal user
Posts: 42
Joined: 09 Mar 2016, 22:19
Location: Poland

Re: Rule for Monday and Thursday???

#2 Post by nonflammable » 12 Sep 2016, 22:45

You can use "All"

Code: Select all

On Clock#Time=All,18:25 do // every day at 18:25 hours do ...
 gpio,14,0
endon
or specified days separately eg. Mon, Tue, Fri:

Code: Select all

On Clock#Time=Mon,18:25 do  // for Monday
 gpio,14,0
endon
On Clock#Time=Tue,18:25 do  // for Tuesday
 gpio,14,0
endon
On Clock#Time=Fri,18:25 do  // for Friday
 gpio,14,0
endon
It seems impossible to use now "On Clock#Time=Mon,Tue,Fri,18:25 do" format ... but maybe in future :)

guz
Normal user
Posts: 10
Joined: 04 Sep 2016, 21:50

Re: Rule for Monday and Thursday???

#3 Post by guz » 13 Sep 2016, 00:26

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests