SmartThings decided today that my wife’s phone left the house and then immediately returned. This, of course, triggered my departure and arrival piston, and caused the garage door to roll up and the doors to unlock. She was… unimpressed.
We’ll of course check her app to ensure the presence circle is positioned appropriately but I’d also like to add some code to guard against this from happening again.
What’s the accepted design pattern for dealing with this issue? I’m thinking of having some sort of “don’t do the open stuff if departure happened within the last 1 minute”, but I’m not sure how to code that in webcore. Anyone have any good sample pistons that handle this well?
Thanks!