On Thursday, January 4, 2018 at 6:22:45 AM UTC-5, Tomasz Kowalczyk wrote:
>
> ...SNIP...
>
 

> BTW. I've started my journey with ESP8266 very recently and I'm a newbie 
> to the NTP topic. How often can I check the time at a server to be not 
> considered a spammer? Is once per hour okay?
>

Hi Tomasz,

I recently came across this code for using 
NTP: https://github.com/victor-chew/espclock/blob/master/espclock.ino

It uses WiFiManager to set up the connection from the ESP to a router (I 
strongly recommend WiFiManager, Actually I use ASyncWifiManager because I 
use the ASyncTCP libraries). In doing so, it gets the user's location from 
the browser and then uses google's location APIs to get the timezone data. 
The net result is that it uses NTP to get UTC time, and then automatically 
adjusts it for the timezone/DST in the user's location.

It looks like the user can override the location if they want to.

- Paul 

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/002cccc2-fff0-4fea-be62-889f49ec7318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to