Announcement

Collapse
No announcement yet.

How to create repeating but limited event?

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

    How to create repeating but limited event?

    Greetings,

    I have an event I have created (see below) that attempts to lock a door overnight repeatedly. The problem is that if it can't it repeats the attempts indefinitely looping it to the point it disables homeseer from running other events (see error message pictured below).

    Click image for larger version

Name:	Event.png
Views:	76
Size:	48.4 KB
ID:	1613095

    Click image for larger version

Name:	Errors.png
Views:	66
Size:	32.2 KB
ID:	1613096

    How could I change this event to run repeatedly, but for a limited number of times and then fail and send out an email?

    Thank you.

    #2
    Maybe try using a counter or timer. Add an action to increment a counter by one and then add a condition in your event that will stop the event from triggering after X attempts. Then have another event to reset the counter after a specific amount of time (2 hours??)


    Sent from my iPad using Tapatalk
    HS4 4.2.6.0 &HSTouch Designer 3.0.80
    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

    Comment


      #3
      Why the 10s delay to lock? "For at least" will trigger every second that the condition is true, triggering 10 times before the "lock" command is sent and possibly flood the system. Try getting rid of the delay or set "Cannot re-run for 10 minutes"

      Comment


        #4
        Sorry, I didn't review your event very well….I agree with [mention]Kevb [/mention] Your event will trigger every second. I would agree, set a “Cannot re-run for 10 minutes” instead.


        Sent from my iPad using Tapatalk
        HS4 4.2.6.0 &HSTouch Designer 3.0.80
        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

        Comment


          #5
          Thank you, those suggestions are working.

          Comment

          Working...
          X