Taking Temperature and Humidity measurements every 5s and displaying the 1000 last data points in a line plot.