A smart temperature sensor for improved human comfort