Announcement

Collapse
No announcement yet.

Event Run On Days Of The Week

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Event Run On Days Of The Week

    Can anybody tell me why this event ran today, Monday?

    Click image for larger version

Name:	image.png
Views:	87
Size:	104.5 KB
ID:	1611400

    #2
    Because the AND IF is associated with the OR When above it. So basically, you've set it up to trigger every 7am or at 7pm only on Tues, Thur, Sat

    Comment


      #3
      Originally posted by TC1 View Post
      Because the AND IF is associated with the OR When above it. So basically, you've set it up to trigger every 7am or at 7pm only on Tues, Thur, Sat
      Ok, so how do I make it to run only tues, thurs & sat at 7am & 7pm?

      Comment


        #4
        Combine the AND IF with the 7am trigger, put another OR IF and then the 7PM trigger and combine another AND IF with that one.

        You have to remember that triggers are points in time... 7am and 7pm are distinct and separate triggers.
        Something like the day of the week is a condition, and if you want it tested for all triggers, then it must be applied for each trigger.

        Comment


          #5
          Here you go:

          Click image for larger version

Name:	image.png
Views:	88
Size:	48.0 KB
ID:	1611406

          Comment


            #6
            Originally posted by TC1 View Post
            Combine the AND IF with the 7am trigger, put another OR IF and then the 7PM trigger and combine another AND IF with that one.

            You have to remember that triggers are points in time... 7am and 7pm are distinct and separate triggers.
            Something like the day of the week is a condition, and if you want it tested for all triggers, then it must be applied for each trigger.
            So this?

            Click image for larger version

Name:	image.png
Views:	88
Size:	102.3 KB
ID:	1611409​​
            Attached Files

            Comment


              #7
              Looks good to me.

              Pro Tip: You can always disable the individual actions and then temporarily change the trigger times to a time like 5 minutes from now, just to see if the event logic triggers (it will write into the log unless you disabled it). That way you can play with it without actually having to turn on any devices. Once you think the event trigger logic is working, simply set the times or days back to what you want, and then enable the actions.

              Comment


                #8
                Thanks TC1

                Comment

                Working...
                X