Connect Virtual Thermostat to Temperature Sensor

I’ve installed a virtual thermostat and was wondering if there’s a way to have the temperature reading that it shows be linked to a temperature sensor. Thanks!

Which Virtual Thermostat DTH?

If it has an “updateTemperature()” (or similar Command) defined, then it is a pretty trivial SmartApp to call this Command whenever a subscribed Temperature Sensor is updated.

Simulated thermostat.

1 Like

Yup… The SmartThings “Simulated Thermostat” has a “setTemperature()” Command that you can use in a SmartApp to write the Temperature from a Temperature Sensor. It also then evaluates the temperature value to see if that triggers heating or cooling.

1 Like