diff --git a/esp32/host/config-example.json b/esp32/host/config-example.json index 5c1d81c..b383013 100644 --- a/esp32/host/config-example.json +++ b/esp32/host/config-example.json @@ -18,19 +18,32 @@ "enabled": true }, "settings": { - "deepsleep": 60000, + "deepsleep" : 60000, + "nightsleep" : 60000, "pumpdeepsleep": 1000, "watermaxlevel": 50, "watermin" : 5, "plants" : 3, + "moist0" : 2000, "moist1" : 2000, "moist2" : 2000, "moist3" : 2000, + "moist4" : 2000, + "moist5" : 2000, + "moist6" : 2000, + "plant0MaxPumpTime": 1000, "plant1MaxPumpTime": 1000, "plant2MaxPumpTime": 1000, "plant3MaxPumpTime": 1000, + "plant4MaxPumpTime": 1000, + "plant5MaxPumpTime": 1000, + "plant6MaxPumpTime": 1000, + "plant0MinPumpIdle": 10000, "plant1MinPumpIdle": 10000, "plant2MinPumpIdle": 10000, - "plant3MinPumpIdle": 10000 + "plant3MinPumpIdle": 10000, + "plant4MinPumpIdle": 10000, + "plant5MinPumpIdle": 10000, + "plant6MinPumpIdle": 10000 } } diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index 0523e6a..403df77 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -405,6 +405,7 @@ void setup() { if (HomieInternals::MAX_CONFIG_SETTING_SIZE < MAX_CONFIG_SETTING_ITEMS) { Serial << "HOMIE | Settings: " << HomieInternals::MAX_CONFIG_SETTING_SIZE << "/" << MAX_CONFIG_SETTING_ITEMS << endl; Serial << " | Update Limits.hpp : MAX_CONFIG_SETTING_SIZE to " << MAX_CONFIG_SETTING_ITEMS << endl; + Serial << " | Update Limits.hpp : MAX_JSON_CONFIG_FILE_SIZE to 3000" << endl; } Homie_setFirmware("PlantControl", FIRMWARE_VERSION);