Long data series is being truncated | ThingSpeak API | Forum

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
Long data series is being truncated
No permission to create posts
March 31, 2017
5:27 am
Avatar
uphillbattle

Silver
Members
Forum Posts: 5
Member Since:
June 22, 2016
sp_UserOfflineSmall Offline

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. There should be 8 or 9 months worth of data. 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?

April 3, 2017
3:32 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 200
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

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.

April 21, 2017
8:44 am
Avatar
uphillbattle

Silver
Members
Forum Posts: 5
Member Since:
June 22, 2016
sp_UserOfflineSmall Offline

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

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

frenk0, Jassonchulp, MatGame, Domnesich, saxenadj, concepcionoa3

Administrators: Hans: 387, lee: 457