Measuring the water temperature