Timer Cancellation?


#1

I want all my living room lights to come on on motion and start a timer after 10 min I want some lights to go off? and after a further 5 min the rest off the lights to go off unless the motion activates again then start the timer afresh. But if an over ride switch is pressed the timer is cancelled and the light stay on until the switch is turned off?

My problem is I have set up the timers to never cancel so they stay on after motion stops but I cant figure out how to cancel the timers on switch change?


Prescriptive guidance on how to cancel wait in pistons
#2

use the 'cancel all pending tasks` task when the switch is turned on.


#3

Can that go anywhere in the piston?


#4

yes.


#5

Thanks I will give it a try its a big piston controls all my living room