-->
Page 1 of 1

sending data from esp8266 to a server

PostPosted: Fri Feb 03, 2017 9:53 am
by wgenzo
Hi everyone,

I'm new to esp8266...I've got a couple of esp8266 nodemcu boards and I already connected to a wifi network.
Now I'd like to send data (I've got some distance sensors ) regarding distances measured with a timestamp to a server (something like ..... : 8002). I suppose to use NTP to get time, so to produce the timestamp but I'm not sure about the best way to send data. What is better to use (UDP?)? Have you got some links?

Thanks
Have a nice day
Andrea

Re: sending data from esp8266 to a server

PostPosted: Mon Feb 06, 2017 7:31 am
by wgenzo
an update to my post, just to explain I'd like to store data on a server of mine, not on cloud like thinkspeak.com.
In any case what I'm not sure about is if I can use http post method or if it's better to use AT commands with nodemcu boards.
Thank you
Have a nice day
Andrea

Re: sending data from esp8266 to a server

PostPosted: Mon Feb 06, 2017 10:23 am
by eduperez
UDP, MQTT, HTTP, ...