ELKRP :Writing rules based on day of week- How?

Vomitor

New Member
Greetings!


I've recently installed an ELK output expanded w/relays for sprinkler control.

According to my water district, I am allow to water on Tuesdays, Thursdays, and Saturdays- preferably @ night.

When starting to write i rule, i realized that "Time Occurrence" variables only address hours/minutes/seconds.

Any ideas?
 
Only time is allowed for WHENEVER but a date is allowed for AND, so your rule would look something like:

WHENEVER THE TIME IS 9:00 PM
AND THE DAY(S) OF THE WEEK IS/ARE --T-T-S
THEN ....
 
Don't be so hard on yourself. I didn't get it right away either (although I didn't get so far as to post to a public forum :blush: )
 
Back
Top