updated logger to only record new temperature if it is different from rpevious measurement