reading temperature value to console