Announcement

Collapse
No announcement yet.

Pulling thermostat name by thermostat number-script

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pulling thermostat name by thermostat number-script

    I have 9 WDTC20 thermostats and I'm using scripts to set setpoints and modes on the fly using tstat scripts that use thermostat number. I want to be able to write the results to a database which uses the tstat device name as a field. Is there a script command to be able to pull the homeseer device name by thermostat number?

    Thanks!

    #2
    The thermostat API posted lists thermname as the function to get the thermostat name. It accepts one paramater which is the thermostat number and returns a string with the name.


    http://board.homeseer.com/showthread.php?t=114698
    James

    Running HS 3 on Win10 .

    Comment


      #3
      Thanks, worked like a charm!

      Comment

      Working...
      X