Announcement

Collapse
No announcement yet.

Direct Command (API) not Working

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

  • Blade
    replied
    That was something Rich added to tell that it was vb.net code to execute

    Leave a comment:


  • cbabkirk
    replied
    Works!! Thank you....

    Now tell my why the "n" is needed after the ampersand.

    Leave a comment:


  • Blade
    replied
    Try this:

    Code:
    &nhs.PluginFunction( "BLStat", "", "LoadSchedule", new Object() {1,"BUDERUSON"} )

    Leave a comment:


  • cbabkirk
    started a topic Direct Command (API) not Working

    Direct Command (API) not Working

    Blade,

    I am trying to setup events to toggle schedules for an RTC-80 t-stat. I am getting these errors when running the events. There is one to set an OFF schedule and another to set an ON schedule.

    Error Running script(2) &hs.PluginFunction( "BLStat", "", "LoadSchedule", new Object() {1,"BUDERUSON"} ), init error: Expected end of statement

    Event Running script statement immediately: &hs.PluginFunction( "BLStat", "", "LoadSchedule", new Object() {1,"BUDERUSON"} )

    Event Event Trigger "HVAC Controls BUDERUS ON"

    I am running 2.0.69.0 version of BLSTAT.

    Please advise where to look for the source of the error

    -Cliff
Working...
X