diff --git a/esp32/include/HomieConfiguration.h b/esp32/include/HomieConfiguration.h index 8351c0c..0151c68 100644 --- a/esp32/include/HomieConfiguration.h +++ b/esp32/include/HomieConfiguration.h @@ -45,6 +45,7 @@ HomieSetting waterLevelMax("watermaxlevel", "distance (mm) at maximum wate HomieSetting waterLevelMin("waterminlevel", "distance (mm) at minimum water level (pumps still covered)"); HomieSetting waterLevelWarn("waterlevelwarn", "warn (mm) if below this water level %"); HomieSetting waterLevelVol("waterVolume", "(ml) between minimum and maximum"); +HomieSettingntpServer("ntpServer", "NTP server (pool.ntp.org as default)"); /** Plant specific ones */ diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index 44285b7..3d88877 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -49,8 +49,6 @@ RTC_DATA_ATTR long rtcMoistureTrigger6 = 0; /**