   }
   Console.println();
 
-//  Console.flush();
+  Console.flush();
 }
 
 void outputEvent(struct my_airmeasurement, int lightResistor, struct my_soilmeasurement) {  
-  String my_output = "HumidityPercent:";
+  String my_output = "";
+  my_output += "AppId:";
+  my_output += appId;
+  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 += "}";
    
  keen.setApiVersion(F("3.0"));

  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);
