I've created a thermostat script to control heating devices. It compares a set temperature to the current temperature in the room, and then turns heating devices on or off.

The idea here is that you either have a thermostat that only sets a temperature like Danfoss RS or a virtual device with the set temperature, one or more thermometers in the room and one or more heating devices and you would like to combine them all into a virtual thermostat.

You can find the code here: https://github.com/audunru/homeseer-thermostat

I only have access to the Linux version of Homeseer, so any feedback on how it works on Windows (or any feedback at all) is welcome.