Announcement

Collapse
No announcement yet.

Event Help - Exclude first Monday of every Month

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

  • Event Help - Exclude first Monday of every Month

    Does anyone know if there is a way to set up an event to trigger every Mon, Wed, Fri but to exclude the first Monday of every month? The only way I can think of at the moment is to repeat all of my other event conditions and have three/four "Or If" for each of the days:

    Or If the day is the second Monday of the month
    Or if the day is the third Monday of the month
    Or if the day is the fourth Monday of the month

    It would be nice if there was a condition "If the day is not" First Monday of a month.
    HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
    Plugin's:
    BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
    EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
    weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

  • #2
    If Time is equal to 8:00am (the trigger)
    AndIf Date is after "mm/7/yyyy"
    Then ...

    The first Monday of the month will be from 1 to 7. If its 8 or greater, then it will be the second Monday of the month.

    Comment


    • #3
      Originally posted by aa6vh View Post
      If Time is equal to 8:00am (the trigger)
      AndIf Date is after "mm/7/yyyy"
      Then ...

      The first Monday of the month will be from 1 to 7. If its 8 or greater, then it will be the second Monday of the month.
      Yeah, I thought about using that too but restricting it to after the seventh day would exclude the first Wed and Friday.

      The only two options I think would be to create one event that changes a virtual device or just create a large event.....not much of a script guy.


      Sent from my iPad using Tapatalk
      HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
      Plugin's:
      BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
      EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
      weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

      Comment


      • #4
        Sorry, the fix I had above was incomplete (tried to edit it, but forum was not cooperating...)

        If Time is equal to 8:00am
        AndIf Day is Monday
        AndIf Date is after "mm/7/yyyy"

        OrIf Time is equal to 8:00am
        AndIf Day is Wednesday

        OrIf Time is equal to 8:00am
        AndIf Day is Friday

        Then...

        Comment


        • #5
          Originally posted by aa6vh View Post
          Sorry, the fix I had above was incomplete (tried to edit it, but forum was not cooperating...)

          If Time is equal to 8:00am
          AndIf Day is Monday
          AndIf Date is after "mm/7/yyyy"

          OrIf Time is equal to 8:00am
          AndIf Day is Wednesday

          OrIf Time is equal to 8:00am
          AndIf Day is Friday

          Then...
          Oh yeah.....that would work....I guess my mind was stuck on just using the And If the days are Mon, Wed, Fri instead of splitting them up.

          Thank you for the help!


          Sent from my iPad using Tapatalk
          HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
          Plugin's:
          BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
          EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
          weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

          Comment

          Working...
          X