Fork of ThermostatPi originally created by Chris Drumgoole