This object is in archive! 
Rule for turn off a lamp after 15mn
Need Answer
When some one turn on a lamp with a switch, I would like to turn off this lamp after for example 15mn.
It s eazy to do something like :
When lamp is on
wait 15mn
turn the lamp off
problem :
if we turn off the lamp before with for example an other switch. And if somebody else enters the room and lights(switches on) the lamp by the first switch, for example 10mn after the first "light on", the lamp is going to be off at the end of 5mn (15-10)
Michel
No connection
Real-time notifications may not work
Use join in your rule juste before ""wait 15 mn"
Use join in your rule juste before ""wait 15 mn"
Hi, I'm not sure if Join is not for the purpose he's describing having problem with. When you use join, it should ignore any later state changes and stick to the original evoking action. So normally the original rule should work and not turn off the lamp as every time when the lamp is on, the rule should start from scratch.
Michel, give it another try. Use:
When lamp on,
if lamp turn off - stop the rule
else count 15 minutes, than turn off.
I have attached picture but it is also a trial error case as not sure it will work until tested.
You can acrially replace the part "Stop" with send email message and if you receive an email message, you know the 1st part is working.
Hi, I'm not sure if Join is not for the purpose he's describing having problem with. When you use join, it should ignore any later state changes and stick to the original evoking action. So normally the original rule should work and not turn off the lamp as every time when the lamp is on, the rule should start from scratch.
Michel, give it another try. Use:
When lamp on,
if lamp turn off - stop the rule
else count 15 minutes, than turn off.
I have attached picture but it is also a trial error case as not sure it will work until tested.
You can acrially replace the part "Stop" with send email message and if you receive an email message, you know the 1st part is working.
Replies have been locked on this page!