diff --git a/esp32/src/PlantCtrl.cpp b/esp32/src/PlantCtrl.cpp index fdba9cd..e06a9f1 100644 --- a/esp32/src/PlantCtrl.cpp +++ b/esp32/src/PlantCtrl.cpp @@ -18,9 +18,10 @@ Plant::Plant(int pinSensor, int pinPump,int plantId) { char plantIdChar = plantId+'0'; + /* { char* name = "moistZdry"; - name[6]= plantIdChar; + name[5]= plantIdChar; mSensorDry = new HomieSetting(name, "Moist sensor dry threshold"); mSensorDry->setDefaultValue(4095); mSensorDry->setValidator([] (long candidate) { @@ -69,6 +70,7 @@ Plant::Plant(int pinSensor, int pinPump,int plantId) { return ((candidate >= 0) && (candidate <= 1024) ); }); } +*/ } void Plant::addSenseValue(int analog) {