robin71 Posted July 29, 2014 Posted July 29, 2014 I cannot figure out why this program will not work the way I think it should. When testing a program, I sometimes would like to be notified when a series of commands are executed. Here is an example of a simple program with 4 sprinkler zones that are on to separate EZFlora devices with notify actions when each zone completes. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set 'EZFlora / A-Zone_8_front_landscaping' On Wait 30 seconds Set 'EZFlora / A-Zone_8_front_landscaping' Off Send Notification to 'Rob' content 'stage 1' Set 'EZFlora / B-Zone_7_frontyard_N_side_drv' On Wait 30 seconds Set 'EZFlora / B-Zone_7_frontyard_N_side_drv' Off Send Notification to 'Rob' content 'stage 2' Set 'EZFlora / A-Zone_1_N_side_generator' On Wait 30 seconds Send Notification to 'Rob' content 'stage 3' Set 'EZFlora / A-Zone_6_frontyard_driveway_e' On Wait 30 seconds Set 'EZFlora / A-Zone_6_frontyard_driveway_e' Off Send Notification to 'Rob' content 'stage 4' As the THEN commands are being executed, I can watch the zones change, however I am only notified by 'stage I' and not the other 3 notifications. I feel stupid for having to ask, but why?
Techman Posted July 29, 2014 Posted July 29, 2014 You might want to double check your remaining notifications, stage 2, 3, and 4, to make sure that the fields are correctly populated. The program looks OK. Can you post a copy of one of the notifications that isn't working.
robin71 Posted July 29, 2014 Author Posted July 29, 2014 Solved. (I am so embarrassed right now.) Each notification was a text message. I quickly set the notifications up and didn't notice that the body fields were empty for stages 2-4. The text message for stage I would read "(stage I) stage I", both the subject and body fields with the same. For this reason I thought as long as there was something in the subject it would still send the text with the message "(stage x)". Thank you.
Techman Posted July 29, 2014 Posted July 29, 2014 Glad to hear it's fixed. You can also add a date and/or time variable to the body of the message to show exactly when each device was activated.
robin71 Posted July 29, 2014 Author Posted July 29, 2014 Glad to hear it's fixed. You can also add a date and/or time variable to the body of the message to show exactly when each device was activated. Cool. Thanks to Apostolakisl for this variable clock http://forum.universal-devices.com/topic/13295-variable-based-scheduling-of-programs/?p=109629 and a calendar program I already have, I can do that! Thanks again.
robin71 Posted July 30, 2014 Author Posted July 30, 2014 Cool. Thanks to Apostolakisl for this variable clock http://forum.universal-devices.com/topic/13295-variable-based-scheduling-of-programs/?p=109629 and a calendar program I already have, I can do that! Thanks again. And all of that only to find out it is not necessary… It's been a long day. The good news is I now have the date and time in my notifications. Very cool. Thanks again.
Recommended Posts