www.homeseer.com    
 

Go Back   HomeSeer Message Board > Legacy Software & Plug-ins > Legacy Plug-ins > Legacy HomeSeer Plug-ins > ZWave

Reply
 
Thread Tools Display Modes
  #1  
Old April 16th, 2010, 12:23 PM
simplecontrol
Guest
 
Posts: n/a
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!
Reply With Quote
  #2  
Old April 16th, 2010, 02:18 PM
jasv's Avatar
jasv jasv is offline
Super Seer
 
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,305
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 .
Reply With Quote
  #3  
Old April 17th, 2010, 02:00 PM
simplecontrol
Guest
 
Posts: n/a
Thanks, worked like a charm!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:35 PM.


Copyright HomeSeer Technologies, LLC