[ANSWERED]Question about conditions, coming from ISY

Posted on
Sat Jan 31, 2015 2:45 pm
416to305 offline
Posts: 30
Joined: Jan 27, 2015

[ANSWERED]Question about conditions, coming from ISY

Hi there,

I just switched from the ISY994 and just had a question. On the ISY programs run in sequence, so I could write a program like:

If Status Garage Door is Open
Then
Wait 30 minutes
Send notification Door Open to my iPhone

Where this is super handy is that while it's in the 30 minute wait, if someone closes the door, the IF part of the program is no longer true and therefore the program stops running and never sends a notice. The ISY runs programs in order not all at once, so in the above, the 30 minute wait happens first, then the notice happens. I could say wait 2 minutes, send a notice, wait 10 more minutes, send another notice, wait 20 minutes after that, and then close the door automatically, etc.

Im just wondering how you do these types of things in Indigo and if a change in a Condition halts the program? So if I do a trigger saying condition is garage door is open, and then action is "Send notification email" or Pushover notice or whatever, but I choose Delay by 30 minutes, if I close the garage door making the condition no longer true, does that stop this program, or because it was true once, the rest of the program runs?

Second part of my question is that if I wanted to do the example like above, would I have to do that like:

Send first reminder - Delay by 2 minutes
Send second reminder - Delay by 12 minutes
Send third reminder and close door - Delay by 32 minutes

Thank you!

Posted on
Sun Feb 01, 2015 1:47 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Question about conditions, coming from ISY

setup trigger A : If Status Garage Door changes and status is OPEN ==> action that waits for 30 minutes, then send out the message
setup trigger B : If Status Garage Door changes and status is CLOSED ==> cancel pending trigger A

Hope that helps

Karl


here the screen shots (in reverse order with a window sensor .. should all be the same sensor .. picked window and window2 by mistake )

the trigger A action should have your action - I did just speak "hello"
Attachments
Screen Shot 2015-02-01 at 1.42.20 AM.png
Screen Shot 2015-02-01 at 1.42.20 AM.png (32.28 KiB) Viewed 2612 times
Screen Shot 2015-02-01 at 1.41.54 AM.png
Screen Shot 2015-02-01 at 1.41.54 AM.png (26.68 KiB) Viewed 2612 times
Screen Shot 2015-02-01 at 1.41.17 AM.png
Screen Shot 2015-02-01 at 1.41.17 AM.png (17.34 KiB) Viewed 2612 times
Screen Shot 2015-02-01 at 1.40.53 AM.png
Screen Shot 2015-02-01 at 1.40.53 AM.png (25.24 KiB) Viewed 2612 times

Posted on
Sun Feb 01, 2015 7:59 am
416to305 offline
Posts: 30
Joined: Jan 27, 2015

Re: Question about conditions, coming from ISY

Awesome thank you so much! I figured it would be done similar to that but wanted to check. Your example doesn't seem to work for me though because when the door opens, the system creates 2 delayed schedules both 30 minutes away, one to send an email, another for a pushover notice. If I say when the door closes, disable the trigger for open notice (or A in your example), it actually disables that program in Indigo from running, and then those 2 schedules remain. So instead of saying disable program A, I said when the door closes remove all delayed actions for program A. Doing that deletes the scheduled actions and seems to work. Thanks!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests