Simple way to read time via internet?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 244
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Flowcode v10 Simple way to read time via internet?

Post by MJU20 »

Does anyone have a simple way to read the time from the internet?
Most of the time this is done via NIST servers, but my first read is that this is complex?

I want to use an ESP32 to read the time.

Any ideas?

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Simple way to read time via internet?

Post by chipfryer27 »

Hi

If you do a search in the forum, Benj (I think) posted about using the ESPs built in RTC, but as that was quite inaccurate he updated the clock with the time from the internet every so often.

I'd look myself but due to travel a phone screen isn't great.

Regards

EDIT
Phones aren't great but this should point you in the direction

viewtopic.php?f=3&t=1998&p=11904&hilit=esp+rtc#p11904

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Simple way to read time via internet?

Post by steve001 »

Hi MJU20

This may give you some additional pointers

https://www.galsys.co.uk/news/what-is-n ... -protocol/

Steve

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Simple way to read time via internet?

Post by steve001 »

Hi MJU20

This may give you some additional pointers

https://www.galsys.co.uk/news/what-is-n ... -protocol/

Steve

MJU20
Posts: 244
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Simple way to read time via internet?

Post by MJU20 »

Oh my! I'm getting old!

I've used this component (ESP real time clock) before.
I'm embarrassed that I forgot about this feature.

Thanks for reminding me!

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Simple way to read time via internet?

Post by chipfryer27 »

Hi

I usually blame too little Chimay / Leffe / Duval / Trappiste :lol:

Regards

Post Reply