Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to change the address of the time server? #92

Open
cyzzar opened this issue Mar 5, 2021 · 3 comments
Open

Is it possible to change the address of the time server? #92

cyzzar opened this issue Mar 5, 2021 · 3 comments

Comments

@cyzzar
Copy link

cyzzar commented Mar 5, 2021

Please add the ability to change the address for the NTP server. The default one is not always available.

@karawin
Copy link
Owner

karawin commented Mar 6, 2021

No. But why? no problem with the default one here since 3 years now.
Some ponctual ntp fails on logs but no more than 1 per day.

@cyzzar
Copy link
Author

cyzzar commented Mar 9, 2021

The fact is that I assembled an add-on for a 20x4 display and as additional information I display the current time on it.

I poll the time with the sys.date command twice a minute. But quite often the request returns an error.
There are two options to fix this. 1 - add a clock module to the arduino. 2 - change the address of the NTP server to the local one.

The second option is preferable.
It is a pity if this is impossible to implement.

@karawin
Copy link
Owner

karawin commented Mar 10, 2021

Third solution, ask the ntp time every 30 Mn like in https://github.com/karawin/karadio-addons/blob/master/karadioU8glib/karadioU8glib.ino and calculate the right hour with interrupts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants