driedlinger Posted March 9, 2011 Posted March 9, 2011 I must preface this post by I am new to the ISY-99 and it's programing...and so far I am very pleased with capabilities and still learning what it can do. I have read through some of the how to's and can't find what I am looking for. I have read through the "state machine post by Ergodic back in 2009" and still trying to make sense of all of that, there is a lot to wade through. The problem I am having is sending a Notification after Repeat operation. I do not want to send the notification after each repeat iteration but once the repeat is complete. Basically I want to run send and email at the start of the process, turn on a pump 15 min. then off for 1 hour and do this for 24 hours, at the end of the 24 repeats, send an email....Below is the code. Any help or advice would be great. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Send Notification to 'Default' content 'RainCycle Start 24hr' Repeat 24 times Set 'appLincPool' On Wait 15 minutes Set 'appLincPool' Off Wait 1 hour Else - No Actions - (To add one, press 'Action')
andyf0 Posted March 9, 2011 Posted March 9, 2011 I'm new to this too so this may be totally off the wall. Create a second program If - no conditions Then Run program 'xxxxx' (Then) Notify .................... Else - No Actions Then run the second program
driedlinger Posted March 9, 2011 Author Posted March 9, 2011 I tried having one program call another program, what seems to happen is it calls the pgm and then executes the next statement, it does not wait for the other pgm to complete and come back.
Chris Jahn Posted March 9, 2011 Posted March 9, 2011 The problem I am having is sending a Notification after Repeat operation. The simplest way to do this is to add a Repeat 1 after your other Repeat, as follows: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Send Notification to 'Default' content 'RainCycle Start 24hr' Repeat 24 times Set 'appLincPool' On Wait 15 minutes Set 'appLincPool' Off Wait 1 hour Repeat 1 time Send Notification to 'Default' content 'RainCycle Start 24hr' Else - No Actions - (To add one, press 'Action')
driedlinger Posted March 9, 2011 Author Posted March 9, 2011 The repeat one time makes sense, I will give it a try.
Recommended Posts