To control something, first we have to be able to measure it. To control temperature, start with a thermometer.
A thermometer tells precisely how miserable the weather is but doesn't do anything about it. Here's an example of the information the thermometer provides: the outside temperature over a day, plotted every 10 minutes.