Turning a Boolean value false again after delay/motion sensor

My plan is to have a motion sensor above the front door that is set to set boolean value “sensortriggered” to true if motion is detected. This then sets off the chain of events to power on a WiFi plug light next to the door for 10 minutes then powers off. All using IFTTT. However how would that Boolean value reset to false to detect another person? Is this possible?

I use smart things and have a motion sensor that evaluates the logiblock “downstairs light” when it detects new motion.

In the logi block i have the following
Nighttime - True
Home - True

Action chain positive result
Light on
Advanced options
0 seconds this will turn the light on straight away
Light off
Advance options
600 seconds - This will turn of the light after 10 minutes

If you want the countdown to reset with new motion is detected follow these instructions.

2 Likes

Hi @Scott_HKR,

You can trigger a IFTTT trigger with a delay of 10 min…

And when you receive this event on IFTTT side, trigger an apilio to reset you boolean…

Sounds clear ?