Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

gmrza on Sum only gives one day's data

$
0
0

Vinod said
@gmrza: I had to look at your data in the database and noticed an anomaly. The entries do not appear to be in order, which I suspect may be an artifact of how it was created or imported. 

Since you have a reasonably small dataset, could you attach the file you are using for importing the data? I would like to check if the issue is in the data itself or is a bug in our import process.  

The data I uploaded is here:

http://www.rehmet.alt.za/wp-content/uploads/flowlog.csv

The steps I followed we essentially to clear the feed, start uploading of new data (the daemon which logs flow data calls a script which then uploads the reading via the API), and then populate the old data by uploading the CSV.  This meant that I had a couple of data points uploaded via the API before I uploaded the CSV.

There is one other issue I am running into in that when I do a daily sum, the sum for each day runs from 11:00 AEDT to 19:59 AEDT the next day - i.e. from 0:00 UTC to 23:59 UTC, where I actually want to sum from 0:00 to 23:59:59 Melbourne time.  

This is happening even when I specify the timezone in the URL:

https://api.thingspeak.com/channels/189600/charts/1?type=column&days=14&sum=daily&results=336&timezone=Australia%2FSydney

(Sydney and Melbourne are in the same timezone.)

Aside from the timezone issue, the result is looking quite good.

 

(It has been raining, so I have not had to water the garden in the last couple of days. Cool)


Viewing all articles
Browse latest Browse all 1833

Trending Articles