Announcement

Collapse
No announcement yet.

Run Event Every X sec Based On Device Value

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

    Run Event Every X sec Based On Device Value

    I want to run an event, in seconds based on the value of a HS4 VD.

    Example:

    1) I have a HS4 VD feature called 'Interval' where I manually enter the amount of time in seconds (say 30)
    2) I would like an event to run every x seconds that was entered in the HS4 VD (30 seconds in this example)

    Is this possible?

    RJ_Make On YouTube

    #2
    How about this...

    Event1:
    IF Timer equals Interval
    THEN Run Event2
    THEN Restart Timer
    -Wade

    Comment


      #3
      Originally posted by Wade View Post
      How about this...

      Event1:
      IF Timer equals Interval
      THEN Run Event2
      THEN Restart Timer
      How do I compare a Timer to a VD value?
      RJ_Make On YouTube

      Comment


        #4
        Originally posted by Wade View Post
        IF Timer equals Interval
        THEN Run Event2
        THEN Restart Timer
        How do you make the timer comparison to a variable happen? Can you elaborate?
        Mike____________________________________________________________ __________________
        HS3 Pro Edition 3.0.0.548, NUC i3

        HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

        Comment


          #5
          You can do this, but I suspect a script will be required using hs.WaitSecs(VD Value).

          Comment


            #6
            I got to thinking about what Wade suggested, and with EasyTrigger it's possible.

            Click image for larger version  Name:	2021-08-28_13-36-05.png Views:	0 Size:	207.5 KB ID:	1492089
            RJ_Make On YouTube

            Comment


              #7
              Greetings ServiceXp,

              As Wade stated, this will do it for you...

              Click image for larger version  Name:	Interval.png Views:	0 Size:	526.7 KB ID:	1492148

              You will need to start the Timer manually.

              Roger D

              Comment


                #8
                The Event to run would be setup like so...

                Click image for larger version

Name:	Screenshot_2021-08-28_16-36-57.png
Views:	78
Size:	332.0 KB
ID:	1492150

                Roger D

                Comment


                  #9
                  Originally posted by ServiceXp View Post
                  I got to thinking about what Wade suggested, and with EasyTrigger it's possible.
                  [/ATTACH]
                  Oops, left out an important detail. Yes, it's ET that lets you compare the devices.
                  -Wade

                  Comment

                  Working...
                  X