April 26, 2013
I have an arduino yun using the execute parameter on posting. I have set my test code to try to send things to thingspeak every 5 seconds assuming 1 in 3 requests will hit.
within seconds of firing up the yun I have a lot of entries appearing in the thingspeak channel
Thingspeak appears to be either ignoring the rate limit when you call the execute parameter in the url or perhaps there is some internal bug which is duplicating the results as I cant see anything in my code which would try and post more than once every 5 seconds.
March 14, 2011
April 26, 2013
Basically all i've done is add talkback_key=WHATEVER_MY TALKBACK_KEY_IS to the query string to grab the latest command.
So my initial get posted the thingspeak was
and my post to update thingspeak and grab the latest instruction all in one reads
http://api.thingspeak.com/update?&field1=XX&field2=XX&field3=XX&statuscode=""& talkback_key=WHATEVER_MY TALKBACK_KEY_IS
With the second string, I seem to get loads of talkback entries rapidly stacking up. About one every second or so. Have a look at this channel feed and note the timings between entries.
Previously I was happily relying on the 15 second api limit. Because the chart api seems to only retrieve a maximum of 8000 records, with a 15 second interval between posts this meant that 3 days worth of data only came to 5760 records. As its now posting every second I can only get a few hours of records max.
Another weird thing, but I will need to check my code. I am sure my code only tries to post every 5 seconds so 2 out of 3 attempts are meant to bounce off the rate limit. I could have made a mistake with my loop which I need to check out but I am totally bamboozled why I am getting per second posts. If its not my code, is something internal happening with the talkback code which is duplicating entried?
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:tran, huldacormier, bogart, estebanmateo93, mikewrite, onlinebusiness
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457