added free memory library
added temperature and luminosity to json message