Hello,
I am bussy using the flukso api + php + curl to output the data in my own graphs etc.
But i have some questions about it.
- Is there a way to get the "day" results using a 5 min or 1min timestamp in stead of the 15min?
- is there a way tot select the "day" results of a date in the past (yesterday ...)
- How to get the "kwh" consumption of the current day (00:00 - current time), or do i have the calculate it using the day results.
Thx.
Choose "hour" instead of "day" to get "minutes"
Example : http://www.fonera.be/flukso.php?interval=hour&unit=watt&show=text
Choose "month" to get results per day in the last 30 days
Choose "kwhperwatt" instead of "watt" and divide by 365 days (if no 366 days this year)
Thanks,
But i want to make a day graph with a higher resolution.
So a day graph with values eatch 5 min (normal 15min).
kwhperwatt / 365?
Flukso uses rrdtool for the graphs, so it's probably using it for data storage. This uses a fixed size database, and may not store anything more than what it graphs. That is, it may not store one day of data with 1 minute intervals. It may only store the last hour with 1 minute intervals, then aggregates that to produce one day of data at 15 minutes intervals, then aggregate that to product 8 weeks of data at 1 day intervals etc.
Hopefully Bart give the answer for how much data is retained.
I too would like to keep the raw data, so that I can reprocess it in the future, and do such things as comparing the Flukso readings with those from my electricity company's Time Of Use meter.
The data is indeed stored in a round-robin database. Here are the number of samples we keep per time unit:
* 120 1min samples
* 192 15min samples
* 60 day samples
* 520 week samples
Cheers,
Bart.