8:19 am


Gold
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
https://thingspeak.com/channels/5384#publicview
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.
7:30 am


Gold
April 26, 2013

Hi Lee
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
http://api.thingspeak.com/update?&field1=XX&field2=XX&field3=XX&statuscode=""
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.
http://api.thingspeak.com/channels/5384/feed.csv
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 Online:
32 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
tran, huldacormier, bogart, estebanmateo93, mikewrite, onlinebusinessModerators: cstapels: 460
Administrators: Hans: 405, lee: 457