Add a reset period to a variable

The example I have is if a motion sensor picked up movement and IFTTT sets a variable setting to TRUE, then it would be good to have the option for it to reset back to FALSE if no activity. Perhaps an option to reset a variable to a default value after a specified period? This would be really useful.

4 Likes

That’s a feature high on our priorities list and your solution would be definitely feasible. Thanks!
We will consider various options and try to find a universal solution.

Hi @nikv!

Last month we updated our delays and timeout feature and you’ll be able to effectively do a “reset” as you describe by using a timeout in your condition that is watching your boolean variable. Instead of changing the information you have from your sensor (the info stored in your variable), you state the amount of time that your condition should consider that information as valid.

I wrote an example using a motion sensor that might be helpful:

And here is the full article explaining how these time constraints for conditions are setup:

Let us know if this helps! :slight_smile: thanks!