Jump to content

Dumb Question about How Notifications Are Executed


robin71

Recommended Posts

Posted
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?

 

Posted

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.

Posted
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.

Posted

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.

Guest
This topic is now closed to further replies.

×
×
  • Create New...