That program doesn't do exactly what you asked, but it might be what you meant.
"(changed from Off to On) I want to wait 10 minutes and check that sensor again. If it is still on I want to send an sms notification." Taken literally, this could mean you want it to ignore any off/on cycles that happen during those 10 minutes. This won't be the case.
That program will only send you an SMS if the i/o linc were continuously on for 10 minutes.
Ah yes. I understand what you are saying and, unknowingly, the program above is what I wanted. I only care if it is on for 10 minutes continuously. The exact program I have is below.
The intent is to send me an email/sms if the time is between 7:30am and 3:00am next day AND my irrigation pump has been on for 10 minutes continuously.
If
From 7:30:00AM
To 3:00:00AM (next day)
And Status 'Irrigation Pump Sensor' is On
And Status 'Irrigation Pump Sensor' is not Off
Then
Wait 10 minutes
Send Notification to 'Cell Phone' content 'Irrigation Pump Power'
Else
-No Actions
So the next question is...what happens if the pump turned on at 7:25AM? The program would not be invoked until 7:30AM and, assuming the pump is still on at 7:40AM I would get an SMS at 7:40AM? Or did I "miss" the On event for the pump I was outside my time window?
Appreciate the help!