Just installed five Venstat T5800 color touchscreen wifi thermostats, and they are terrific - they look great, the user interface is extremely easy to understand (using the 'Simple' mode), and they maintain their wifi connection.
The setup is very straightforward as well. Note that you need to purchase the wifi key in addition to the thermostat to use with Homeseer.
Because there is no plugin yet, I wrote a simple script to send commands to the thermostat, and to read its status. (Note that these scripts are contained in xxx.txt files, and are triggered by a Homeseer event). The following sets the desired temperature:
and the following reads the desired temperature and the current temperature in the room:
I'm hoping this is helpful to someone, as I have received so much help from others on this forum over the years.
The setup is very straightforward as well. Note that you need to purchase the wifi key in addition to the thermostat to use with Homeseer.
Because there is no plugin yet, I wrote a simple script to send commands to the thermostat, and to read its status. (Note that these scripts are contained in xxx.txt files, and are triggered by a Homeseer event). The following sets the desired temperature:
Code:
Sub Main() setpoint = 65 ip = "192.168.0.40" result = setThermo(ip, setpoint) End Sub function setThermo(ip, temp) headers="Content-Type: application/x-www-form-urlencoded" data = "mode=1&fan=0&heattemp=" & temp & "&cooltemp=75" url = "http://" & ip & "/control" retval = hs.URLAction(url, "POST", data, headers) setThermo = retval end function
Code:
Sub Main() ip = "192.168.0.40" status = readThermo(ip, currentTemp, setpoint) 'note that the values of currentTemp and setpoint are set in the function and can now be used here 'do whatever with currentTemp and setpoint End sub function readThermo(ip, currentTemp, setpoint) url = "http://" & ip & "/query/info" retval = hs.URLAction (url, "GET", "", "") retval = replace(retval,"{","") retval = replace(retval,"}","") 'now parse the results of retval to extract the setpoint and current temperature. To see the many other return values sent 'by the thermostat, simply point your browser to 192.168.0.40/query/info , substituting of course the IP address of your thermostat arr = split(retval, ",") setpoint = 0 currentTemp = 0 for i = 0 to ubound(arr) arr2 = split(arr(i),":") arr2(0) = replace(arr2(0),chr(34), "") if arr2(0) = "heattemp" then setpoint = arr2(1) if arr2(0) = "spacetemp" then currentTemp = arr2(1) next if currentTemp > 0 then readThermo = "OK" else readThermo = "Offline" end if end function
Comment