How can I Check a state during a defined duration ?

domoteek shared this question 11 years ago
Answered

Hello


Id'like to do that :


When my virtual switch is ON

Wait 10s

If virtual switch is still ON Then do something

(Else do nothing)


How can I do that ? Can you help me ?


(join fonction seems not working in that case, or i don't understand how to use it)

Replies (4)

photo
2

Your rule should look like this:

ZEmyV2lGGlh5hcXVi2iz

photo
1

Great ! It seems that i could do everything that I want with your box ;)

photo
1

Hello


It is not working for me


When tje 10 seconds are finished, the action is executed, even if the switch get back off within the 10 seconds.


Is it a bug or a mistake in my rule ? please have a look to the joinde file


Thanks

photo
1

You need to put your virtual switch in sensor puzzle and choose true (same as On).

Save and synchronize, it will work.

Leave a Comment
 
Attach a file