all was going well with thingspeak, untill just recently when I wanted to use the last entry. the problem is because my matlab skills suck I am parsing 4 lots of data every 20 min so it updates my data one at a time. all ok but now I want the last data for gauges it shows null and then whatever it updated last.
is there any way to get the last good data reading ? instead of
all i get is 87 for my gauge :/ any ideas that doesnt involve breaking my working matlab install?
Do you want just the last entry in a field? There is a specific REST call for last entry in a field. As long as there is a number in the last 8000 entries, the read last field entry should work for you.
I assume you are presently reading the last entry in the feed, not the field, which is why you get all the null values.
The syntax is similar. For example, https://api.thingspeak.com/channels/12397/fields/4/last.json
If that's not what you were looking for, please let me know.
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee