getting temperature and connecting to wifi...