Announcement

Collapse
No announcement yet.

HS3, RCS Serial Plugin Status?

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

    HS3, RCS Serial Plugin Status?

    I have read the threads there, specifically this thread, and am confused about the HS3 status of the RCS plugin that I recently downloaded from the HS3 plugins interface. I have a single TR40 that I currently read and update via scripts in HS2. Can anyone tell me if than functionally is reliably available in HS3?

    It appears that the (scripting) object model for the HS3 version is different than in HS2 (e.g.):
    Dim objRCS As Object
    objRCS = hs.PluginFunction("RCS Serial Thermostats", "RCS", "CmdSetOutsideTemp", {obj1,obj2})

    If this is correct, is there any documentation or other guidance on what the other read/write/query commands are?

    I noticed that sdwinkelman posted what looks like an updated plugin for HS3, is this the module folks are using instead of the one in the HS3 downloads?

    Thanks
    Gary

    #2
    I installed and tried the updated plug-in, but abandoned it because it did not support more than one thermostat. In my limited experience it seemed to work fine with just one.

    I believe the information in the thermostat API is still accurate, but as you note, the command syntax is different from HS2.
    I haven't tested these extensively, but I believe the syntax for a set command is this:
    hs.PluginFunction("RCS Serial Thermostats", "", "CmdSetFan", new Object() {1, 0, 1})

    The syntax for a command to retrieve data is this:
    dblReturn = hs.PluginFunction("RCS Serial Thermostats", "", "GetTemp", new Object() {1, 2})

    Perhaps someone who is actively using the plug-in will chime in and provide more authoritative information.
    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


      #3
      Thanks greatly Uncle Michael for the feedback.

      The syntax for a command to retrieve data is this:
      dblReturn = hs.PluginFunction("RCS Serial Thermostats", "", "GetTemp", new Object() {1, 2})
      The "new Object()", is that literal, or is that a prior setting of an object variable? The parameters: 1 = thermostat number, what is the 2?

      I would guess by your GetTemp example that the other method calls would be(?):
      GetModeSet
      GetHeatSet
      GetCoolSet
      GetFanMode
      GetHoldMode
      GetCurrentMode
      GetOperating
      GetOperatingRCS

      Thanks
      Gary

      Comment


        #4
        Originally posted by Kbevo View Post
        The "new Object()", is that literal, or is that a prior setting of an object variable? The parameters: 1 = thermostat number, what is the 2?
        Gary,
        'New Object()' is part of the syntax (assuming I have the construction right, of course). That is the pattern in other plug-ins.
        Yes, the first parameter is the thermostat number. The second parameter is the temperature sensor. In my example, I was retrieving the outside temperature, which is the second sensor on that thermostat. The internal sensor would be 1.

        The thermostat API details all the script calls. You can find the API here:
        http://board.homeseer.com/showthread.php?t=114698
        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


          #5
          Originally posted by Uncle Michael View Post
          Gary,...
          The thermostat API details all the script calls. You can find the API here:
          http://board.homeseer.com/showthread.php?t=114698
          Ahaaa, thanks again Uncle Michael, I missed that post. Actually, I believe I saw it, and didn't think it had anything to do with the HS3 plugin. The HS2 plugin calls either did not have a sensor parm or it was optional.

          I will do some more testing to see if I can get anything to work.

          Gary

          Comment

          Working...
          X