Number of Data recorded in a Chart | ThingSpeak API | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.
Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Number of Data recorded in a Chart
No permission to create posts
May 3, 2011
1:26 pm
Avatar
voyager

Silver
Members
Forum Posts: 6
Member Since:
May 3, 2011
sp_UserOfflineSmall Offline

Hi

 

i am trying to use ThingSpeak Charts for the observation of my Home Control System. Can somebody give an answer why the recording is stopped after 24 hours? Is this a limitation of TS or is it the push=false problem?

 

 

May 4, 2011
12:38 pm
Avatar
bgardner
Everett, WA

Silver
Members
Forum Posts: 12
Member Since:
April 11, 2011
sp_UserOfflineSmall Offline

I'm also using ThingSpeak to track home control data and I have not had this problem.  Some of my channels have many thousands of points and I can display multiple days.  Since I can only retrieve 8,000 points at a time, I am limited to the number of days I can display at one time depending on the data rate but that has not been a problem.  You can always use the start= and end= API calls to display a different range.

Here's a chart with two fields from one of my channels displaying the last 5 days:

http://gardnerswebsite.com/thingspeak.html

Good luck,

Bob

 

May 4, 2011
2:17 pm
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

If you log less data, it's easier to display charts on a longer time frame.  If you log every 15 seconds, you reach 8000 data points in 1.4 days, but if you log every hour you can return over 300 days worth of data.

 

We have to put the rate limits in place, otherwise getting a month's worth of data from 15 second intervals is extremely intensive on our systems.  For example, this would require a database call for 175,000 points, and then the web server might still have to slice that data into time slices and calculate averages for each of these time slices.

June 10, 2011
12:54 pm
Avatar
ricklon
New Member
Members
Forum Posts: 1
Member Since:
June 6, 2011
sp_UserOfflineSmall Offline

Shouldn't I be able to get a longer date range by changing the time scale? Going from timescale=10 to timescale=720 should increase the date range, but so far doesn't.

 

 

June 10, 2011
6:17 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

"timescale" is a data operation, like average or median. So, a timescale of 10 sets the channel output to even increments of 10 minute slices even if you have a 100 data points in a 10 minute windows, only 1 will be presented.

To get an extended range, use results=200 or specify days=3.

Does this make sense?

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormier

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457