Announcement

Collapse
No announcement yet.

EtherRain valve controller Scripts...

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

    #16
    StopAllCycles

    Can someone give me the syntax of this method? I've tried a few things and nothing works.

    Thanks
    Gary

    Comment


      #17
      StopAllCycles...

      Hi Gary,
      I answered your question via email a few months ago, but I just saw this post so I am posting this response here now in case anyone else has the same question:

      To stop all cycles in all controllers found on the network, the function is:

      Public Function stopAllCyclesRet(ByVal pstr)
      'this sends a stop command to all controllers found.
      'no parameters are required
      'this function is called from er_home "Disable"
      'can be called from a HomeSeer Manual event
      'or a weather event


      How to call in asp:
      'nowissueimmediatestop
      res = hs.RunEx("EtherRain.vb","stopAllCyclesRet","")



      How to call in a HomeSeer event:

      Create an event as per the instructions:
      In the field labeled "Optional Parameters" enter the following:




      Cheers,
      Jim

      Comment

      Working...
      X