I'm having trouble with a timer thing. It's a fairly simple flow: If the door unlocks start a timer. After 15 minutes, if the door is still unlocked, run an IFTTT Applet and send a notification to the TV.
Here's the flow:
And a pic:
The problem is that it's not consistently waiting 15 minutes before running IFTTT.
Here's and example from my activity history:
Front Door Unocked
12:50 PM DoorLock switch: turned on (this happens in a different flow).
Front Door Lock Is Open
12:51 PM IFTTT: Action taken : Run an IFTTT Applet
12:51 PM X1 TV Box D0:39:B3:0B:0E:13: Sent notification Front door is unlocked.
Front Door Locked
12:52 PM DoorLock switch: turned off (this happens in a different flow)
The door was unlocked for only 2 minutes, but the notification still triggered.
I've tried both turning a switch off and on (it's a SmartThings virtual switch) and querying the lock directly. Same result.
I can look in SmartThings and see that the switch is being set correctly and that the lock is reporting correctly.
Any suggestions would be appreciated.