This object is in archive! 

Timing issue

Darkwing shared this question 8 years ago
Need Answer

Hi,


I have a motion sensor in the kitchen, and when it senses motion, it needs to switch on the kitchen light. I got that bit working, but I only want it to switch on those lights between 6:30am and 8:00am and 17:00pm and 22:30pm. No matter how I make the rule, the lights never come on.


I use the time <now> between 6:30 and 8:00 and time <now> between 17:00pm and 22:30pm blocks, but it seems these are not working?


Could someone show me a rule that would work? Below a rule i made:


df16b99d562263fef82e51e87ae65f47


Thanks

Replies (1)

photo
2

Try use the OR function instead of AND, as you have it now the rule will only run if the time is both between (06:30 and 08:00) and (17:00 and 22:30) at the same time.

Leave a Comment
 
Attach a file