   my_output += sm.tempSoilC;
   my_output += ",\"ProbeTemperatureFahrenheit\":";
   my_output += sm.tempSoilF;
+  my_output += ",\"WaterLevelStatus\":\"";
+  my_output += waterLevelStatus;
+  my_output += "\",\"LightStatus\":";
+  my_output += lightStatus;
+  my_output += ",\"WaterPumptStatus\":";
+  my_output += waterPumpStatus;
   my_output += "}";
     
   keen.setApiVersion(F("3.0"));

  }
  Console.println();

//  Console.flush();
}

void outputEvent(struct my_airmeasurement, int lightResistor, struct my_soilmeasurement) {  
  String my_output = "HumidityPercent:";
  my_output += am.humidityAir;
  my_output += ";AirTemperatureCelcius:";
  my_output += am.tempAirC;

  my_output += sm.tempSoilC;
  my_output += ";ProbeTemperatureFahrenheit:";
  my_output += sm.tempSoilF;
  my_output += ";WaterLevelStatus:";
  my_output += waterLevelStatus;
  my_output += ";LightStatus:";
  my_output += lightStatus;
  my_output += ";WaterPumptStatus:";
  my_output += waterPumpStatus;

  Serial.println(my_output);
  Console.println(my_output);
