-->
Page 1 of 3

Sending data to ThingSpeak

PostPosted: Wed Nov 25, 2015 11:11 am
by jjl
Hi.

I have made a channel at ThingSpeak ! Sending data to TS from a browser Works ok.
How do I send data from ESP8266 to TS ?
Which command(s) can be used to connet to TS ?
I have this from TS: https://api.thingspeak.com/update?api_k ... *&field1=0

Thanks in advance
Jens

Re: Sending data to ThingSpeak

PostPosted: Wed Nov 25, 2015 1:01 pm
by Mmiscool
There are not cuurrently any commands for talking with thing seek yet.

This is some thing I hope t possibly get done over this thanksgiving week end. Stay tuned.

Re: Sending data to ThingSpeak

PostPosted: Wed Nov 25, 2015 1:26 pm
by Mmiscool
Dose thing speek only need you to pull on the url to send data?

If all you have to do is tug a url you can use the wget function.

I just set up a thing speek account. Seems to be posting the data using the following esp basic program.
Code: Select allTextbox MyData
button "click to post to thing speek" [postit]
wait

[postit]
bla = "api.thingspeak.com/update?key=5C1J2FHRGQM44M7R&field1=" & MyData
print wget(bla)
wait

Re: Sending data to ThingSpeak

PostPosted: Wed Nov 25, 2015 3:44 pm
by jjl
It Works, just what I want. Thanks a lot.
What happens to all the returned data, can I send data to TS without overflowing any buffer ?

/Jens

PS. I really like the Basic programming language. You are doing a great job.