Announcement

Collapse
No announcement yet.

SetHeatSetpoint error?

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

  • SetHeatSetpoint error?

    Hi Blade,

    I try to set a setpoint using a script (in HS3) by using the examples in documentation. The command looks like this:
    hs.PluginFunction("BLStat", "", "SetHeatSetpoint", new Object(){4,1,28})

    Unfortunately, I get an error:
    BLStat error Error in PluginProc: Parameter count mismatch.

    Do you have any ideas or am I using the wrong statement?
    (Btw the plugin works like a charm now with the Horstman HRT4-ZW/Secure SRT-321 thermostats)

    Regards

    Redbull

  • #2
    Yes that is because I used to be able to make the other 2 parameters optional but that does not work in HS3.

    Try this:

    Code:
    hs.PluginFunction("BLStat", "", "SetHeatSetpoint", new Object(){4,1,28,False,False})
    The other 2 parameters are override and speakingRequired.
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Bob, thanks!

      Thats working
      Perhaps to be added as comment to the documentation?


      Thanks for the good work, happy new Year!


      Redbull

      Comment

      Working...
      X