Page 1 of 1

Solved: systime gives uptime

Posted: 27 Jun 2016, 00:51
by costo
I set in : Tools > advanced > the 'Use NTP' box and used 'pool.ntp.org' as NTP hostname but I do not get the GMT time on my display, instead it will show me the uptime in hours & minutes. I am sure it used to work this way some time ago but it stopped working for some reason.

Do other users of NTP have the same issue ?

Re: systime gives uptime

Posted: 28 Jun 2016, 13:57
by costo
No answer yet.

Is there anyone who can read system time as GMT , from pool.ntp.org ?
If yes then maybe I have an issue in my network.

Re: systime gives uptime

Posted: 28 Jun 2016, 17:13
by egkman
Hi,

I think you can leave this field empty (works for me):

See ESPEase Wiki:
"NTP Hostname Can be left empty as it defaults to pool.ntp.org. Can be changed here if needed.
Timezone Offset Offset in hours to GMT. In the Netherlands this should be '1' "

Re: systime gives uptime

Posted: 28 Jun 2016, 19:17
by costo
Thank you for your reply, good to know that for others it still works.

For me it used to work with %systime% in the display but it stopped working. After a reboot It displays 0:00 and then counts the uptime.

Because it works for you I may have an issue with the pihole addblocker or dns server.
Probably I need to update Pi-hole to v 2.7, we'll see what happens after that.

Re: systime gives uptime

Posted: 29 Jun 2016, 08:55
by tozett
mine is working in ver 107/108

Re: Solved: systime gives uptime

Posted: 01 Jul 2016, 15:36
by costo
Found the problem, it was in the config file of my own ESP easy where I had changed 2 values by accident.

In the optional settings, where I define the fixed I.P. there was an error.
For ESP subnet I had given my local DNS/Router I.P.
and for ESP DNS I had given the subnet 255.255.255.0

Afterall it is obvious that ESPEasy could not find a DNS server and therefor could not find the timeserver.

Thank you all for the reply's/help