Converting counter values to rate of change | ThingSpeak Plugins | 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
Converting counter values to rate of change
Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
1
January 30, 2014 - 5:59 pm
sp_Permalink sp_Print

My raspberry pi is currently doing a data logging task so I've written a simple shell script to post some performance data to https://thingspeak.com/channels/10042 (you can get the script at https://gist.github.com/rw950431/8702588).

As you can see the data is mostly ever-increasing counters: what I'm wanting is a way to convert these values into a rate (packets/sec etc) for easy viewing. Does anyone know of a plugin or other method to easily achieve this?

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
2
February 4, 2014 - 7:24 pm
sp_Permalink sp_Print

Due to the deafening silence I've gone ahead and made my own. I used the Google Vis 'AnnotationChart' but it should be possible to switch to another chart type fairly easily.

See the result at https://thingspeak.com/channels/10042

Source at https://gist.github.com/rw950431/8815072

Useful docs at https://developers.google.com/chart/interactive/docs/gallery

Avatar
robstwd
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
3
March 26, 2014 - 4:28 pm
sp_Permalink sp_Print

@rw950431,
Thanks very much for posting those details; just what I'm after. I shall be plagiarising your efforts although I have some catch up to do re figuring out javascript.
Smile

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

candacele1

WilliamBer

roxieob18

Metawatch

ozayagw

ubabeutiti

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee