 }
 
 void switchLights() {
+  // todo - change the threshold to base100
   if (lightOnThreshold > lightResistorVal && !lightIsOn) {
     digitalWrite(LightSwitch, HIGH);
     lightIsOn = true;
   } 
+  // todo - change the threshold to base100
   if (lightOnThreshold < lightResistorVal && lightIsOn) {
     digitalWrite(LightSwitch, LOW);
     lightIsOn = false;

//===== For hygrometer ==========================
const byte hygroPin = A1;
// todo - find right value for this
const int moistureThreshold = 1000; // <- made this up
int moistureSensorVal;

//===== For water level sensor ===================
const byte waterSensorPin = A2;
// todo - find right value for this
const int waterLevelThreshold = 300; // <- made this up
int waterLevelVal;
String waterLevelStatus = "OK";

    if (waterPumpIsOn && currentMillis >= prevWatering + wateringSeconds) {
    waterPumpIsOn = false;
    Console.println("Watering stopped");    
  // todo - change the threshold to base100
  } else if (waterPumpIsOn && moistureThreshold < moistureSensorVal) {
    waterPumpIsOn = false;
    Console.println("Watering stopped");
