records temperature and posts it to statto