One method to accurately control the temperature is the use of a proportional-integral-derivative (PID) controlled thermostat.