Announcement

Collapse
No announcement yet.

Set Hold in events

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

  • Set Hold in events

    This is part feature request and part request for some help...

    The issue is that the Set Run/Hold action in BLStat events does not allow for input of the hold temperature, so two actions are needed, first set the set point, then set the hold on. The request would be to make the event action similar to the thermostats page where you can also plug in the set point and duration of the hold


    I frequently need to set 9 thermostats in a vacation home to hold, and I asked for this enhancement in the HS2 version, but Blade suggested I run this immediate script instead, that worked well in HS2.

    &hs.Plugin("BLStat").SetHoldOn(1, 55)

    sets tstat 1 in to indefinite hold 55F

    &hs.Plugin("BLStat").SetHoldOff(1)

    turns off the hold mode.

    now, how do I translate this in to the HS3 equivalent statement to run as immediate script? I guess I should add that if I knew how to write scripts I probably would not have to ask...

    Thanks,

    Johan

  • #2
    You will need to use a script because I believe there is an issue in HS3 with the run immediate command not working for vb.net code

    Code:
    Public Sub Main(ByVal parm As Object)
        hs.PluginFunction("BLStat", "", "SetHoldOn", New Object(){1, 55})
    End Sub
    Code:
    Public Sub Main(ByVal parm As Object)
        hs.PluginFunction("BLStat", "", "SetHoldOff", New Object(){1})
    End Sub
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Originally posted by Blade View Post
      You will need to use a script because I believe there is an issue in HS3 with the run immediate command not working for vb.net code
      Is there a Bugzilla ticket on this?
      -Rupp
      sigpic

      Comment


      • #4
        No but Rich does know about it
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


        • #5
          You will want to put in a Bugzilla ticket on the issue so Rich doesn't forget.
          -Rupp
          sigpic

          Comment

          Working...
          X