remove console log and add dynamic chart for sensor