Improved temperature change detection.

Now works after twenty-four hours and after 8 am.