+#include "ApiClient.h"
+#include "Bridge.h"
+#include "Console.h"
 #include "DHT.h"
+#include "KeenClient.h"
 #include "OneWire.h"
-#include "Console.h"
-
-#include "Bridge.h"
-#include "ApiClient.h"
-#include "KeenClient.h"
-
 #include "params.h"
 
 // hardware

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


int lightResistor;

String appId = "Plant01";
boolean lightStatus = false;
String waterLevelStatus = "OK";
boolean waterPumpStatus = false;

void setup() {
  Serial.begin(9600); 
  Serial.println("PlantStation is warming up\n");
