Lighting with counter


#1

1) Give a description of the problem
Is this right? Basically I want the following:

Garage Door Shuts, count 5 minutes, if the motion sensor in garage has been inactive for 5 minutes then assume I went inside and shut off the garage lights. I do have a contact sensor on the entry door between kitchen and garage I can use but not sure if its necessary

2) What is the expected behaviour?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
See above

4) Post a Green Snapshot of the pistonimage

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

You will probably have better results doing something similar to this.


#3

Appreciate it @logeox that does look more in line with what I’m looking for.