Hello kvv213
I do upload similar data for my gas consumption, but not on Thingspeak.
However, I am using Thingspeak for other data.
I can imagine the following process:
- Upload your counter (1) on channel 1
- Read channel 1 and write back to channel 2
If, at the same time, you can read channel 2 (last value) and add 1, you should have your accumulated data.
Once again, this is pure theory!
There is an example on this server, under MATLAB Analysis, called "Convert Celsius to Fahrenheit".
It shows how to read from a channel and write to another one.
Let us know if you manage to make it work.
Hope that help.
daturach