Long data series is being truncated | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Long data series is being truncated
Avatar
uphillbattle
New Member
Forum Posts: 4
sp_UserOfflineSmall Offline
1
March 31, 2017 - 5:27 am
sp_Permalink sp_Print

Hi,

I've embedded a chart on a web page. It's a temperature logger that has been running since July or so last year. Should be 8 or 9 months worth of data there. Update frequency is 10 minutes.

I'm trying to embed a chart showing the temperature for the last year (there's not enough data for that, but I expected to get a plot of the temperature since the start of logging).

This is what I do:

https://api.thingspeak.com/channels/129101/charts/1?bgcolor=%23ffffff&color=%23d62020&type=line&timescale=240&days=365

The result is a plot that starts on Feb 3 - just shy of 2 months worth of data. The same thing happens if I try to view the data on Thingspeak's own web page:

https://thingspeak.com/channels/129101

Data start on Feb 3.

Are my data older than Feb 3 missing?

Avatar
Vinod

Forum Posts: 154
sp_UserOfflineSmall Offline
2
April 3, 2017 - 3:32 pm
sp_Permalink sp_Print sp_EditHistory

Go into your channel private view, click on the pencil and select "average" to 1440.

The data in your channel is intact. Perhaps you are looking for this: https://thingspeak.com/channels/129101/charts/1?average=1440&days=365

The 1440 number is = 24(hours) *60 (minutes). This needed so your data in any day does not look like a blob and your graph with historical data doesn't look like a collection of blobs.

Avatar
uphillbattle
New Member
Forum Posts: 4
sp_UserOfflineSmall Offline
3
April 21, 2017 - 8:44 am
sp_Permalink sp_Print

Ahh, yes, thank you, Vinod! That's it - problem solved. Smile

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 250

Vinod: 154

cstapels: 83

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

webone

KMVp

aamir786

sugengprayogi

vickysam@gmail.com

farmerkjs

Forum Stats:

Groups: 4

Forums: 17

Topics: 1289

Posts: 4481

 

Member Stats:

Guest Posters: 1

Members: 5652

Moderators: 0

Admins: 2

Administrators: Hans, lee