This object is in archive! 

Working rule with scheduler and time restrictions

Reidar Østrem shared this question 8 years ago
Need Answer

Hi,


I'm struggling to get a rule working that will be restricted to weekdays and between defined times.

I've tried almost every combinations i can think of.. Last time i tried the rule looked like this:

When Scheduler (Repeat, Weekdays)

If time now between xxx and xxx

If Sensor Open

Action send message


Could someone post a working rule with the scheduler ?


Regards,

Reidar

Replies (2)

photo
1

Can you explain what you want to do?


Try like this:

When Sensor = Open AND Part day of week OF (now) = 1 or Part day of week OF (now) = 7

etc

photo
1

Hi HeroS,


What i'm trying to do is restrict push notifications when a sensor is triggered (OPEN).

The restrictions will be weekdays between 07:30 and 16:00. Should be simple enough, but i think i have tried every single combination with the scheduler and time but no luck. Therefore if someone actually have a similar working rule, it would be nice if they shared it.


Regards,

Reidar

photo
1

Try this:

When Sensor = Open AND Part day of week OF (now) = 1 or Part day of week OF (now) = 7

If time now between xxx and xxx


etc


make sure that the sync is working (use the API).

photo
Leave a Comment
 
Attach a file