Pis now save temperature data to database.