Just tried this approach. It was a bit of a saga:
1. The google maps API insists on using SSL. 2. To use SSL I had to upagrade to the latest esp8266 arduino code (2.4.0). 3. I ran out of heap trying to connect. So back to my current solution which involves calling out to my own web server. I guess I could get that to proxy for google maps... On Saturday, January 6, 2018 at 4:55:39 PM UTC-5, Paul Andrews wrote: > > > > 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 neonixie-l+unsubscr...@googlegroups.com. To post to this group, send an email to neonixie-l@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/4df7a5c2-f4b6-4b1e-9f66-3d61228ca363%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.