letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.28k stars 2.22k forks source link

[BUG] Time drift with P2P enabled #5119

Open DittelHome opened 2 months ago

DittelHome commented 2 months ago

With P2P enabled, I get time drift. (at least 15 seconds) NTP only works as expected. Only disabling P2P fixes the problem.

Regards Klaus

TD-er commented 2 months ago

Thanks for the issue. I had already included it in the todo for the next release: https://github.com/letscontrolit/ESPEasy/issues/5118 But it is good to also have an issue where others may also provide input and/or see what's going on.

DittelHome commented 2 months ago

Hi, I know about the deepsleep problem and the time drift, I wrote the thread in the forum. It seems to be a general problem with p2p. As soon as p2p is activated, the time becomes inaccurate, in comparsion with NTP!! Of course p2p were already deactivated on Deepsleep devices...

DittelHome commented 1 month ago

Maybe it helps .. Today I discovered that an ESP gets the time from another via p2p and vice versa, even though NTP is activated on both. Both have an uptime of over thirty days. As a result, both are 1 minute and 40 seconds behind, and the trend is increasing