March 14, 2011
January 30, 2014
I did something similar with https://thingspeak.com/plugins/3339. In my case to convert steadily-rising counter values into a rate according to the formula (this_count-last_count)/(this_time-last_time)
Hopefully you can 'view page source' to get the code. Thingspeak doesnt have a lot of support for sharing details of public plugins.
June 13, 2018
March 7, 2017
Would it be acceptable to apply to formula after you get the data in a channel? I would recommend you write the data to a channel and then use a MATLAB analysis script to read the data, apply the formula, and then write the data to another channel. There are several good tutorials that show this kind of work flow. For example the get started tutorial:
or the wind chill tutorial:
These tutorials also show how to set up a time control to perform the formula application on a regular schedule.
If you want to apply the formula each time new data is posted, you can use the react app. Here is an explanation of that work flow:
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Newest Members:JavierLecy, gwenbk2, eloisedq3, AEtedesar, RichardWosus, Kellynapse
Administrators: Hans: 387, lee: 457