4:56 am


Silver
January 15, 2014

Hi,
I can't figure out what I'm doing wrong. If I put any average or median entry into the properties on a chart, the chart returns nothing. When I use the API and put median or average (or any aggregation) I get null in the data.
For example:
http://api.thingspeak.com/channels/9675/feed.json - returns data but
http://api.thingspeak.com/channels/9675/feed.json?average=10 - returns null
Can someone please point me in the right direction.
Thanks
11:43 am

Admin
March 14, 2011

Hi,
You have the URL correct ( http://api.thingspeak.com/channels/9675/feed.json?average=10 ), however the data in your channel is a bit off. You have an extra space after each field entry, for example "16 ". Please input your data without the trailing space (like "16") so that our system can recognize the data as a number rather than a string.
lee
Most Users Ever Online: 166
Currently Online:
19 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:
tran, huldacormier, bogart, estebanmateo93, mikewrite, onlinebusinessModerators: cstapels: 460
Administrators: Hans: 405, lee: 457