Measuring environmental temperature