Page 1 of 1

Time from internet!

Posted: Wed Jul 23, 2025 8:20 pm
by jgu1
Hi all!

Is it possible by FC10 to get time and date via wifi connection with an ESP32- dev1 module, any component or examble somewhere,.

thank´s in advance. ;)

Br Jorgen

Re: Time from internet!

Posted: Wed Jul 23, 2025 9:01 pm
by chipfryer27
Hi Jorgen

MJU20 posted a while back, but since then the website he used has become very hit or miss. More often or not I could not connect at all, even by just using a browser.

As I have servers of my own I decided to create a very simple script to return "time" in a format useful to me. You can access via a browser or if you use FC you get individual elements returned that you can further use in your charts.

This links and may be of some help viewtopic.php?p=19988#p19988

Regards

Re: Time from internet!

Posted: Thu Jul 24, 2025 8:33 am
by jgu1
Hi Lain!

Again thank´s for your always help and support ;)

I have looked at MJU´s eksamble and read all the answer. (I'll have a look once I get a chance (bit busy just now assisting Jorgen as he nips around the world :lol: ), hi hi, yes I want to learn and use FC 100% :D

I see that MJU use Wlan I want to use Wifi. Honest I am (also) not a hardcore in all this server programming. But I see when seaching around in the internet that I need NTP and as far I can see FC10 not support this.

There are lot of examble in the internet how to receive time, date ect. via ESP32 and arduino IDE and they all use NTP, but I prefer FC10 :D

I may see what I can do, thank you, I will "nips around the world" :lol:

Jorgen

Re: Time from internet!

Posted: Thu Jul 24, 2025 8:39 am
by chipfryer27
Hi

The last couple of posts in the thread mention that the address MJU20 used is prone to being unavailable, therefore I created my own "timeserver" reachable over the internet, and I gave example code.

It may help.

Regards

Re: Time from internet!

Posted: Thu Jul 24, 2025 7:30 pm
by jgu1
Hi!

As I mentioned, I have no experience with it and can't understand (no skills) your examples. I have to find another solution.

Thank´s.