OpenAgricultureFoundation / openag-device-software

Software for running controlled grow environments on Linux / OSX machines and embedded linux devices such as Beaglebones and Raspberry Pis.
GNU General Public License v3.0
193 stars 50 forks source link

download csv from device ui #178

Open jakerye opened 5 years ago

utkarshdeep commented 5 years ago

Hey @jakerye. I am very excited about the OpenAg initiative and reading a lot on the forum as well. I am willing to contribute. If you can elaborate on the issue here, I can take it forward and resolve this.

rbaynes commented 5 years ago

Hi @utkarshdeep. Jake has left the project, but there are two other engineers still perfecting it.

The intent of this issue was to allow a user to download a CSV file of data the device is producing. The things that would have to happen are:

  1. Where the data is being published by the IoTManager, also write it into the database (which has recently switched from postgres to sqlite).
  2. Make sure we are not filling up the DB without bounds, the data should be written to only keep the last 100 or so values of each variable.
  3. Add a button to the UI to create and download the CSV data.

Thank you for the interest and help!

utkarshdeep commented 5 years ago

I am sure the two other engineers are doing a great job.

If there is any other issue I can help with, please let me know, I am more than willing to help!