Hi, I use wyze motion sensor to turn on the light using Sonoff. I do an IFTTT applet when motion is detected to turn on my Sonoff, when the sensor is clear I create another applet with 1 minute delay ( using glitch.me to run multiple applets) it is working fine. The downside is when the sensor is clear the delay start (1 minute), if the motion is detected again during this delay and then the 1 minute is over, the IFTTT applet will turn off the Sonoff during my presence in the room. How shall I reset the delay time as I am in the room ( motion is detected ) using filter code or what ever or use another delay method?
thanks