This object is in archive! 

Any good rule to keep lights on while movement around ?

Gerardo A. shared this idea 5 years ago
Completed

Hi all,

Since some time I'm trying to write a rule to keep lights on when persons around an IR sensor, with the different approaches lights turn off (and later on) even with last movement detected was a few seconds ago. Did you get any reliable?

Unfortunally in rule creator there is not a puzzle like DO WHILE / UNTIL

Thanks in advance !

Gerardo

Replies (3)

photo
1

Hi,

I would do something like:

- When sensor state = motion

- Join

-turn light on

- wait xxx seconds

- turn light off

photo
1

This type has worked fine for me(see attachment). I have paired motion sensor with virtual switch in rule so the rule can be turned of easily.

photo
1

Thanks for your suggestions, I noticed that you all use the Join clausule,.. I tried to write this rule without the join as I could see that sometimes it has rare behaviours and don't stop previous running instances of the rule,..

Did any of you manage to get this rule without 'Join'? I guess it is a challenge,.. :-)

Thanks !

Gerardo

photo
1

Hi,


Join should stop previous running instances. If not: submit a ticket. And i think that this can not be accomplished without "join"


John

photo
Leave a Comment
 
Attach a file