BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Get long term historic data

Hey

Ive been playing with blynk for a while and i would like to export all the data from my superchart into a csv, ive tried doing this both with a CSV export from the app and via the REST historic api (eg http://blynk-cloud.com/${token}/data/${pin}). Both of these are correctly returning the data but only for the last 10 days. I can see way more data in the superchart, is there a way to get all the data stored? (not just the current page).

Thanks

No, the cloud servers limit the data that is sent via CSV export, reports or the API to limited number of data points - which equates to around 10 days at one data point per minute.

If you run your own local server, and enable raw data storage (and provide enough disk space to store all of your data long term) then you can change this parameter and export more data points - or query it directly from the SQL database.

Pete.