   my_output += "\"AppId\":\"";                      my_output += appId;             my_output += "\"";
   my_output += ",\"Location\":\"";                  my_output += location;          my_output += "\"";
   my_output += ",\"WaterLevelStatus\":\"";          my_output += waterLevelStatus;  my_output += "\"";
+  my_output += ",\"MoistureStatus\":\"";              my_output += moistureStatus;  my_output += "\"";
   // numerics
   my_output += ",\"AirTemperatureCelcius\":";       my_output += am.tempAirC;
   my_output += ",\"AirTemperatureFahrenheit\":";    my_output += am.tempAirF;


//===== For light switch =========================
const byte lightSwitchPin = 4;
const byte lightOnThreshold = 10;
const int lightMaxVal = 250;  
const int lightMinVal = 0; 
boolean lightIsOn = false;

  if (currentMillis - prevHourTwelveMillis > hourTwelveInterval) {
    prevHourTwelveMillis = currentMillis;
    
    waterPlantStarts();
  }
  waterPlantStops(currentMillis);  
