How to graph sensor data with rrdtool and the Bridge

AlexandreB, thanks for sharing.

I took a slightly different approach to essentially the same scenario. I am developing a controller for my greenhouse and I want to log the data every five minutes. So my steps are:

  1. Every five minutes the Arduino collects the sensor data and adds a new line in a csv file in a dedicated directory on the SD card.
  2. A new file is started every day at midnight (with the date stamp as the file name).
  3. I am invoking a PHP file from the web server, which parses the data and plots it using the jsflot library.

I am quite happy with the output from jsflot and it was very easy to use, many good tutorials. I could have used Python instead of PHP, but I did a bit of PHP stuff recently, so it was easier for me to install php5 rather than learning Python (enough other stuff to learn in getting up to speed with the Yun). I might eventually use a MySQL database instead of csv files, but for now it does the job.