![Wink ;-)](./images/smilies/icon_e_wink.gif)
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Explore... Chat... Share...
Moderator: eriksl
eriksl wrote:I think using SNTP will yield a really not so bad timekeeping, if contrained to a local area network. Especially if repeated frequently. Probably in the order of 10ths or even 100ths of seconds.
I just had a quick glance at the SNTP spec and it's really easy to implement. I don't understand why Espressif needs so much code to implement it (and even then do a lousy job).
So this will be continued
4. End-User agrees that he or she will not:
(a) Change default settings to make more frequent request of the Services, if using an ntp daemon (“NTP Protocol”);
(b) Request time from the Services more than once every thirty (30) minutes (ideally at even longer intervals), if using SNTP.
(c) Set the time more often than is necessary for the purposes of the device; if the device can keep reasonably accurate time for several days, End-User will not set the time every hour. Additionally, if the device only uses whole seconds, End-User will not optimize the device for millisecond accuracy.
(d) Set up a regular time sync interval such as “top of the hour”, “top of the minute”, or “at minute or second X”.
Examples of Time Setting
BAD: setting the time daily at midnight;
GOOD: Setting the time at boot and every 36 hours after boot (rather than at a specific time);
BAD: Setting the time every 90 minutes at the “top of the minute” (0 seconds);
BETTER: Setting the time every 89 minutes plus random number of seconds between 0 and 120;
BAD – Setting the time every 2 minutes;
GOOD – Setting the time according to needs, for example every 4 hours or daily (or less often)
eriksl wrote: End goal is to have a clean "stock" LWIP with the minimum of patching to have it run on ESP8266. From there it should be doable to move on to LWIP 2.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]