Closed martusi61 closed 8 months ago
I noticed exactly the same problem. Would be nice if it synchronizes every 6 hours with NTP.
From what I can see the time get updated at four places, at startup, when config changes is made and if MQTT is disconnected.
Suggestion: Update NTP and OWM at the same time,
So just include timeClient.update();
in the // OWM update
part and remove it from the MQTT disconnect part.
Great!
Fantastic.
Thank you.
I noticed that the WallClock loses precision after a few days which accumulates over time, upon restarting it synchronizes with the NTP and returns to showing the correct time.