I have a WiFi smart switch enrolled into SmartLife and wanted the switch (light) to cut its power when it's been on for let's say 30 minutes. So what I did was create a "Smart" (in SmartLife) where when that specific light is turned on, it starts an 'action' called delay for 30 minutes then another action that turns off that specific switch (ie, light). This works well when the light is turned on and left on. After 30 minutes, it will turn off as intended. But trouble arises when the light is manually turned off within that 30 minutes counter. The counter keeps counting and if the light is turned back on with let's say 5 minutes left in the counter, the light will turn off after those 5 minutes instead of a new 30 minutes like I would have liked so I can't use the SmartLife app
So I'm trying something similar using Stringify/IFTTT. I've set a Flow in Stringify like this:
IFTTT1 -> Delay -> IFTTT2
IFTTT1 is triggered by a Smart Life Light On event
IFTTT2 triggers a Smart Life Light Off action.
But I'm afraid this will give the same result Is there a way to reset the Delay back to 30 minutes if the light is turned off then back on before the first 30 minutes delay expires?