Phambili-Tech / Newt_Display

An Arduino library for the Phambili Newt - a low power smart display
Other
58 stars 7 forks source link

Issue with NTP Time #70

Open jondaddio opened 2 months ago

jondaddio commented 2 months ago

I am running v1.1.5 of the Newt firmware. I am in the Mountain time zone.

Recently, I switched my ISP from Centurylink to Comcast. In the past for Centurylink, the Newt time was always right on, within a second or two of my GPS receiver. Never had a problem with time back then. However, since changing to Comcast for the higher speed, the time is ALWAYS BEHIND by 7 hours and 7 minutes. Bizarre. ALWAYS !! Note that temp seems correct.

So I just reloaded the firmware (same 1.1.5 version) and reconnected to my WiFi. For the current GPS time of 14:11 on 07-Aug-2024, the time on Newt now shows 23:45 on 09-Aug. Newt is now AHEAD by 33 hours 34 minutes. UGH !! So the time shown is completely unreliable. Temp seems to still be correct.

Is there a way to change the NTP site that Newt gets its time from? I have not seen (found) an option to change that.

Thanks.

darianbjohnson commented 2 months ago

There isn't a way to change it as of right now; it's an enhancement that I'm working on. And - very weird error... can you try resetting in in a few days?

jondaddio commented 2 months ago

Sure, I'll try resetting in a few days. But the time has been off since about April when I switched over to Comcast from CenturyLink.

This Comcast router has also stopped my 6 Kasa smart plugs from working at all. Cannot configure (and I read somewhere Comcast is trying to sell us their own smart plugs).

On Sun, Aug 11, 2024 at 1:28 PM Darian Johnson @.***> wrote:

There isn't a way to change it as of right now; it's an enhancement that I'm working on. And - very weird error... can you try resetting in in a few days?

— Reply to this email directly, view it on GitHub https://github.com/Phambili-Tech/Newt_Display/issues/70#issuecomment-2282864028, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYCEMFWZ2UTQVGENRE6FJDZQ63PRAVCNFSM6AAAAABMFDURYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHA3DIMBSHA . You are receiving this because you authored the thread.Message ID: @.***>

chaseadam commented 1 month ago

many routers (under your control) support a local NTP server and/or setting of the NTP value of devices via DHCP. It is possible the router provided by CenturyLink is specifying an NTP server via DHCP which is a "bad source." NTP clients are supposed to be resilient against "bad sources," though I am not sure how resilient clients are against a "bad source" specified by DHCP.

DHCP Option 042 specifies servers that provide NTP/SNTP (RFC 1769).

You can try putting your devices behind another router which you know omits the Option 042. Devices should use upstream NTP servers they have hard coded if not provided further configuration.

tarmist commented 1 month ago

I have the same issue wit 1.1.5, in Central timezone, but nothing has changed related to my router or internet connection. I'm only assuming this is a NTP issue. Is there any way to verify that?