From 4a6ccce09a9a6ab58c8d20b4b10772df8c883d41 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 6 Nov 2025 12:56:20 +0100 Subject: [PATCH] add ntp for completeness and testing --- lib_standalone/ESP32React.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib_standalone/ESP32React.h b/lib_standalone/ESP32React.h index 5468cd564..f01b43635 100644 --- a/lib_standalone/ESP32React.h +++ b/lib_standalone/ESP32React.h @@ -55,6 +55,7 @@ class DummySettings { uint16_t publish_time_other = 10; uint16_t publish_time_sensor = 10; uint16_t publish_time_heartbeat = 60; + uint32_t publish_time_water = 0; String hostname = "ems-esp"; String jwtSecret = "ems-esp"; @@ -72,8 +73,12 @@ class DummySettings { String CORSOrigin = "*"; uint8_t tx_power = 0; - uint8_t provisionMode = 0; - uint32_t publish_time_water = 0; + // AP + uint8_t provisionMode = 0; + + // NTP + String server = "pool.ntp.org"; + String tzLabel = "Europe/London"; static void read(DummySettings & settings, JsonObject root) {}; static void read(DummySettings & settings) {};