Converting counter values to rate of change | ThingSpeak Plugins | 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
Converting counter values to rate of change
No permission to create posts
January 30, 2014
5:59 pm
Avatar
rw950431

Top
Members
Forum Posts: 261
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

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?

February 4, 2014
7:24 pm
Avatar
rw950431

Top
Members
Forum Posts: 261
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

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

March 26, 2014
4:28 pm
Avatar
robstwd
New Member
Members
Forum Posts: 1
Member Since:
March 26, 2014
sp_UserOfflineSmall Offline

@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:
13 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:

harriettlf60, ShaToow, Aleftinfenny, DiaBentee, hugo11dom@gmail.com, Pisaruk530

Administrators: Hans: 387, lee: 457