Get temp sensing main working.