From 0b6e7861e140feb00c64619dc4589cc3c3cb734d Mon Sep 17 00:00:00 2001 From: Roger Fachini Date: Thu, 29 Jan 2026 15:53:54 -0800 Subject: [PATCH 1/2] [sntp] Add docs for smooth_sync config option --- content/components/time/sntp.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/components/time/sntp.md b/content/components/time/sntp.md index 8531a1e79b..aa9be4dd03 100644 --- a/content/components/time/sntp.md +++ b/content/components/time/sntp.md @@ -20,6 +20,9 @@ time: - **servers** (*Optional*, list of strings): Choose up to 3 NTP servers that are used for the clock source. Defaults to `0.pool.ntp.org`, `1.pool.ntp.org` and `2.pool.ntp.org` +- **smooth_sync** (*Optional*, boolean): When true, updates time smoothly by gradually reducing time error. If the difference between the SNTP response time and system time is more than 35 minutes, update system time immediately. + Defaults to `false`, which updates system time immediately upon receiving a response from the SNTP server. + - All other options from [Base Time Configuration](/components/time#base_time_config). > [!NOTE] From 99e87b82b2d6031d534aaa0a09811cc599cc24f9 Mon Sep 17 00:00:00 2001 From: Roger Fachini Date: Fri, 30 Jan 2026 09:54:25 -0800 Subject: [PATCH 2/2] [sntp] Update smooth_sync config to be esp32 only --- content/components/time/sntp.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/components/time/sntp.md b/content/components/time/sntp.md index aa9be4dd03..97bb51d73b 100644 --- a/content/components/time/sntp.md +++ b/content/components/time/sntp.md @@ -20,6 +20,8 @@ time: - **servers** (*Optional*, list of strings): Choose up to 3 NTP servers that are used for the clock source. Defaults to `0.pool.ntp.org`, `1.pool.ntp.org` and `2.pool.ntp.org` +**For the ESP32:** + - **smooth_sync** (*Optional*, boolean): When true, updates time smoothly by gradually reducing time error. If the difference between the SNTP response time and system time is more than 35 minutes, update system time immediately. Defaults to `false`, which updates system time immediately upon receiving a response from the SNTP server.