Announcement

Collapse
No announcement yet.

Recuring Event

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

    Recuring Event

    I am trying to find a way to have a recuring event every hour, but only between the hours of 7 am 12 pm. I have tried and had not luck. I some events that run like every 10 minutes or so, but at night I do back ups and do not what them to be running and taking away from the resources. Could some one please help me? With a script or anything.
    Thanks,
    Dan
    danielbo

    #2
    One way would be to create a virtual device to indicate if you want a reacurring event to happen or not, turn this virtual device on and off during the times you desire. Then have your reacurring event conditional on if your virtual device is on or off.

    Type back if need a longer rundown.

    Later, Terry

    Comment


      #3
      What does the event need to do? - device action/script/speak etc?

      Malarcy

      Comment


        #4
        Set the trigger to recurring.
        Then add conditions between 7am And Midday OR between midday and midnight.

        Make sure you have the OR not AND!!!

        Comment


          #5
          Thank You

          That really helped me, I had never used the conditions before.
          Thank you again.
          Dan
          danielbo

          Comment


            #6
            one note of caution - watch when doing this when you want to cross midnight. You can't use a single condition to say "if after 7 pm and before 6 am". You need to break this into two conditions since they are separate days and HS can't handle this.

            Comment


              #7
              more than one way to skin a cat.....

              In case you get a really need to control events you can always enable/disable them directly from another event, this will certainly give you more creativity if you add more conditions to the trigger...

              EVENT:

              #1 trigger-time:at 7am
              run script &hs.EnableEvent "Your New Event #3"

              #2 trigger-time:at 12pm
              run script &hs.DisableEvent "Your New Event #3"

              #3 trigger-recurring: every 30 min
              if light A1 off
              and HouseOccupancy = "Home"
              and hs.IgnorePhone = "set to ignore"
              and hs.CarWashStatus = "Clean"
              and hs.WifeStatus = "AwayShopping"

              action --> hs.IR - turn on big screen for football game
              and crack open 2 beers
              and hs.speak "Come sit down the game is about to start"

              Comment

              Working...
              X