I have set up this project for temperature-monitoring:
https://chrisbaume.wordpress.com/2013/0 ... onitoring/
The problem is that the log file is keeping all recorded data, and is showing everything in the graph.
Old data from more than 2 days ago is not interesting for my use of this, so I would like to add an automatic deletion of old data, keeping only the last (insert number) of readings.
The log file is adding one line for each reading, which occurs every minute:
20131118153501,37.0,20.0
20131118153601,38.0,20.0
20131118153702,37.0,20.0
20131118153801,57.0,20.0
20131118153901,58.0,20.0
How can I do this?