1) Give a description of the problem
I am trying to mimic a motion detector in smartthings using IP Cams detection webhook but execution might stop during a wait call.
2) What is the expected behavior?
When Cam calls Piston external URL, identify motion detector based on cam name, set proper motion device to active, wait 5 seconds and set motion to inactive.
3) What is happening/not happening?
Looks like when the Piston external URL is called while it is in the wait line of a previous call (2 very close calls in time). ti’s going to kill the 1st instance and therefor never set motion back to inactive
**4) Post a Green Snapshot of the piston![image|45x37]
Thanks for our help