Added temperature conversion and message receiving code.