API Pre processing data before saving | 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
API Pre processing data before saving
No permission to create posts
April 18, 2013
3:00 am
Avatar
alexbn
New Member
Members
Forum Posts: 1
Member Since:
April 18, 2013
sp_UserOfflineSmall Offline

Hi All,

a feature that I found very interesting in "competitors" like emoncms.org is the ability to preprocess data using some simple algorithms to be applied to received data before saving. Just an example... a classic KW/h counter.... your arduino device send number of "pulses" in a certain time period (read from energy equipment)... each pulse is 1W.... emoncms is able to convert these pulses in KWh... that is calculate how many pulses accumulated in last hour and put this value on your graph.
Another example... emoncms can calculate the average of the value received in same day or hour so that your graph rappresent not the value you sent through your ardunino but an elaboration of that value. Is it possibile with thingspeak do the same?

The advantage is obvious... with the same data sent by your device you can create not just one graph but more rappresentation of the same data, without alter your device.

Thanks
Alessandro

July 22, 2013
10:28 am
Avatar
forything
New Member
Members
Forum Posts: 1
Member Since:
July 22, 2013
sp_UserOfflineSmall Offline

I have a similar question.
Is there a way to perform some calculations on the raw data sent before displaying. For example, sending data x i want to display the function y = a * log (b * x) c?
Or to do any kind of smoothing with the previous data?
The idea is to reduce the size of the source code for the microcontroller and its load.
I think this would be another clear advantage of your service.
Thank you!

July 23, 2013
3:50 am
Avatar
CorBee
Netherlands

Gold
Members
Forum Posts: 37
Member Since:
December 10, 2012
sp_UserOfflineSmall Offline

Hi

You can allready smooth the data with the average or median function in the graphs.

cheers
Cor

August 20, 2013
8:02 am
Avatar
wilkxt
New Member
Members
Forum Posts: 1
Member Since:
August 20, 2013
sp_UserOfflineSmall Offline

You may use plugins to displauy another graph with preproces data

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
26 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