Announcement

Collapse
No announcement yet.

HS4 Internet Monitoring

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

    #16
    Originally posted by Sireone View Post
    Is it possible to add some sort of occurrence to this script so it'll trigger after 5 ping attempts?
    You could probably do that by using the device time of the virtual device. So if it's value is 0 and the device time is greater than X, then . . .
    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


      #17
      Or set the virtual device up for multiple values and then set it for the attempt number if not successful as opposed to just Off. Then have an event triggered based on attempt being 5.
      Karl S
      HS4Pro on Windows 10
      242 Devices
      56 Z-Wave Nodes
      37 Events
      HSTouch Clients: 3 Android, 1 iOS
      Google Home: 3 Mini units 1 display

      Comment


        #18
        Originally posted by 123qweasd View Post
        Correct.

        and if the current state is 0 (off) and changes to 100 (on), then it will log "internet restored"

        The original script is simply the opposite.
        Just a quick comeback... we've lost power already a few times since this... this script works perfectly! Thanks to you and Uncle Michael

        Comment


          #19
          Thanks for the feedback, glad it worked out.
          Cheers,
          ​​​​​​

          Comment

          Working...
          X