Restrict rule to weekdays ?

Reidar Østrem shared this question 9 years ago
Answered

Hi,

Is it possible to create the attached rule only to trigger on weekdays ?

I see there are a variable "day of week" but will i then need to define each day in the rule ?

Thanks for the help.

Reidar

Best Answer
photo

Try something like this.

Replies (6)

photo
2

Hello


Use the Scheduler for this.


regards Maik

photo
1

Hmm.. tried the scheduler but maybe i did it wrong....


Any ideas why the attached is not working ?

photo
1

Try something like this.

photo
1

Hi Maik,


Adding the scheduler with the sensor did the trick i think.

Thank you for the input! :)


Reidar

photo
photo
1

Thanks for the feedback guys, ill try the scheduler :)

photo
1

Hi guys, I am also trying to set a simple daily schedule, but somehow it is not working, can someone explains why? I followed HeroS's link but why does it requires an location to work?

photo
1

Try without the between you don't need it.


And test with an e-mail

photo
photo
1

Also tried adding a sensor, but no luck so far.

photo
1

I have a somewhat other approach.

Because I have different rules that only may fire in the weekend OR on weekdays I have created a weekend check rule that will flip a virtual switch and use that virtual switch in my conditions for various rules. That way you only have to configure it once and your other rules stay "clean" and "simple" :)


The rule runs through the scheduler everyday at 00:01 and flips the switch when it's day 1 or 7.

Leave a Comment
 
Attach a file