Skip to content

Venstar Thermostat Binding ​

The Venstar Thermostat binding supports an interface to Wi‑Fi enabled ColorTouch and Explorer thermostats manufactured by Venstar.

Venstar Wi‑Fi enabled thermostats provide a local API that this binding uses to communicate with the thermostat. This binding does not require "cloud" access and may be used independently of Venstar's Skyport cloud services.

The Local API is not enabled by default, so you will need to set up your thermostat by configuring its Wi‑Fi connection and enabling the Local API. In order for the binding to connect, you will need to enable HTTPS support and set a username and password. While it is possible to enable the Local API without HTTPS and authentication, the binding does not support it, in an effort to provide as secure an installation as possible.

When you've set the username and password, make a note of these, as you will need to enter them in the thermostat configuration in openHAB.

Supported Things ​

Thing TypeDescription
colorTouchThermostatA Venstar ColorTouch thermostat

Discovery ​

Once the binding is installed it will attempt to automatically discover Venstar thermostats located on the local network. These will appear as Things in the system Inbox. After adding the Inbox item, enter the username and password from the physical thermostat in the Thing's configuration.

Thing Configuration ​

ColorTouch Thermostat ​

ParameterDescriptionRequired
usernameThe username set on the thermostat's configuration screen (typically 'admin')yes
passwordThe password set on the thermostat's configuration screenyes
urlURL of the thermostat in the format https://hostyes
refreshThe frequency at which the binding will poll for update information (seconds)no

Channels ​

ChannelTypeDescriptionNotes
awayModeStringHome or Away Mode
awayModeRawNumberAway Mode Raw (Read Only)0 (Home) 1 (Away)
systemModeStringSystem Mode
systemModeRawNumberSystem Mode Raw (Read Only)0 (Off) 1 (Heat) 2 (Cool) 3 (Auto)
systemStateStringSystem State (Read Only)
systemStateRawNumberSystem State Raw (Read Only)0 (Idle) 1 (Heating) 2 (Cooling) 3 (Lockout) 4 (Error)
heatingSetpointNumber:TemperatureHeating Setpoint
coolingSetpointNumber:TemperatureCooling Setpoint
temperatureNumber:TemperatureCurrent Temperature
outdoorTemperatureNumber:TemperatureOutdoor Temperature
humidityNumberHumidity
fanModeStringFan Mode
fanModeRawNumberFan Mode Raw (Read Only)0 (Auto) 1 (On)
fanStateSwitchFan State (Read Only)
fanStateRawNumberFan State Raw (Read Only)0 (Off) 1 (On)
scheduleModeStringCurrent Schedule Mode
scheduleModeRawNumberCurrent Schedule Mode Raw (Read Only)0 (Disabled) 1 (Enabled)
schedulePartStringCurrent Schedule Part
schedulePartRawNumberSchedule Part Raw (Read Only)0 (Morning) 1 (Day) 2 (Evening) 3 (Night) 255 (Inactive)

Runtime data ​

The Venstar thermostat provides data about how many minutes the system has been running in each of the different modes (heat1, heat2, cool1, cool2, aux1, aux2, free cool) every day for the last 7 days. A time stamp is provided with each runtime data set which represents the end of each day. The binding reads the runtime data and time stamps and provides them all as separate channels.

ChannelTypeDescriptionNotes
timestampDay0DateTimeTimestamp of last runtime updateThis is always the current time today
timestampDay1DateTimeTimestamp of 00:00, end of yesterdayThis represents the end of 1 day ago
timestampDay2DateTimeTimestamp of 00:00, end of 2 days agoThis represents the end of 2 days ago
timestampDay3DateTimeTimestamp of 00:00, end of 3 days agoThis represents the end of 3 days ago
timestampDay4DateTimeTimestamp of 00:00, end of 4 days agoThis represents the end of 4 days ago
timestampDay5DateTimeTimestamp of 00:00, end of 5 days agoThis represents the end of 5 days ago
timestampDay6DateTimeTimestamp of 00:00, end of 6 days agoThis represents the end of 6 days ago
heat1RuntimeDay0Number:DimensionlessRuntime in heat1 mode (minutes) todayThis is the runtime between the Day 1 and Day 0 timestamps
heat1RuntimeDay1Number:DimensionlessRuntime in heat1 mode (minutes) yesterdayThis is the runtime between the Day 2 and Day 1 timestamps
heat1RuntimeDay2Number:DimensionlessRuntime in heat1 mode (minutes) 2 days agoThis is the runtime between the Day 3 and Day 2 timestamps
heat1RuntimeDay3Number:DimensionlessRuntime in heat1 mode (minutes) 3 days agoThis is the runtime between the Day 4 and Day 3 timestamps
heat1RuntimeDay4Number:DimensionlessRuntime in heat1 mode (minutes) 4 days agoThis is the runtime between the Day 5 and Day 4 timestamps
heat1RuntimeDay5Number:DimensionlessRuntime in heat1 mode (minutes) 5 days agoThis is the runtime between the Day 6 and Day 5 timestamps
heat1RuntimeDay6Number:DimensionlessRuntime in heat1 mode (minutes) 6 days agoThis is the runtime in the 24 hours up to the Day 6 timestamp
heat2RuntimeDay0..6Number:DimensionlessSimilar Runtimes in heat2 mode (minutes)
cool1RuntimeDay0..6Number:DimensionlessSimilar Runtimes in cool1 mode (minutes)
cool2RuntimeDay0..6Number:DimensionlessSimilar Runtimes in cool2 mode (minutes)
aux1RuntimeDay0..6Number:DimensionlessSimilar Runtimes in aux1 mode (minutes)
aux2RuntimeDay0..6Number:DimensionlessSimilar Runtimes in aux2 mode (minutes)
freeCoolRuntimeDay0..6Number:DimensionlessSimilar Runtimes in free cool mode (minutes)

Example ​

thermostat.things ​

dsl
Thing venstarthermostat:colorTouchThermostat:001122334455 "Venstar Thermostat (Guest)" [ username="admin", password="secret", url="https://192.168.1.100", refresh=30 ]

thermostat.items ​

dsl
Number:Temperature Guest_HVAC_Temperature   "Temperature [%d °F]"   {channel="venstarthermostat:colorTouchThermostat:001122334455:temperature"}
Number:Temperature Guest_HVAC_HeatSetpoint  "Heat Setpoint [%d °F]" {channel="venstarthermostat:colorTouchThermostat:001122334455:heatingSetpoint"}
Number:Temperature Guest_HVAC_CoolSetpoint  "Cool Setpoint [%d °F]" {channel="venstarthermostat:colorTouchThermostat:001122334455:coolingSetpoint"}
String Guest_HVAC_Mode                      "System Mode [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:systemMode"}
Number Guest_HVAC_Humidity                  "Humidity [%d %%]"      {channel="venstarthermostat:colorTouchThermostat:001122334455:humidity"}
String Guest_HVAC_State                     "State [%s]"            {channel="venstarthermostat:colorTouchThermostat:001122334455:systemState"}
String Guest_Away_Mode                      "Away Mode [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:awayMode"}
String Guest_Fan_Mode                      "Fan Mode [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:fanMode"}
Switch Guest_Fan_State                      "Fan State"             {channel="venstarthermostat:colorTouchThermostat:001122334455:fanState"}
String Guest_Schedule_Mode                      "Schedule Mode [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:scheduleMode"}
String Guest_Schedule_Part                      "Schedule Part [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:schedulePart"}
DateTime Guest_timestampDay0                 "Date/Time Last Update [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:timestampDay0"}
Number Guest_heat1RuntimeDay0                      "Heat1 Day0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:heat1RuntimeDay0"}
Number Guest_heat2RuntimeDay0                      "Heat2 Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:heat2RuntimeDay0"}
Number Guest_cool1RuntimeDay0                      "Cool1 Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:cool1RuntimeDay0"}
Number Guest_cool2RuntimeDay0                      "Cool2 Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:cool2RuntimeDay0"}
Number Guest_aux1RuntimeDay0                      "Aux1 Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:aux1RuntimeDay0"}
Number Guest_aux2RuntimeDay0                      "Aux2 Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:aux2RuntimeDay0"}
Number Guest_freeCoolRuntimeDay0                      "Free Cool Day 0 Run Time [%s]"             {channel="venstarthermostat:colorTouchThermostat:001122334455:freeCoolRuntimeDay0"}

thermostat.sitemap ​

dsl
sitemap demo label="Venstar Color Thermostat Demo"
{
   Frame {
    Setpoint item=Guest_HVAC_HeatSetpoint minValue=50 maxValue=99
    Setpoint item=Guest_HVAC_CoolSetpoint minValue=50 maxValue=99
    Switch item=Guest_HVAC_Mode mappings=[off=Off,heat=Heat,cool=Cool,auto=Auto]
    Switch item=Guest_Away_Mode mappings=[home=Home,away=Away]
    Text item=Guest_HVAC_State
    Switch item=Guest_Fan_Mode mappings=[auto=Auto, on=On]
    Switch item=Guest_Fan_State mappings=[on=On,off=Off]
    Switch item=Guest_Schedule_Mode mappings=[enabled=Enabled,disabled=Disabled]
    Text item=Guest_Schedule_Part
    Text item=Guest_timestampDay0
    Text item=Guest_heat1RuntimeDay0
    Text item=Guest_heat2RuntimeDay0
    Text item=Guest_cool1RuntimeDay0
    Text item=Guest_cool2RuntimeDay0
    Text item=Guest_aux1RuntimeDay0
    Text item=Guest_aux2RuntimeDay0
    Text item=Guest_freeCoolRuntimeDay0

   }
}