   my_output += am.heatIndex;
   my_output += ";Light:";
   my_output += lightResistor;
-  my_output += ";ProbeTemperatureCelcius";
+  my_output += ";ProbeTemperatureCelcius:";
   my_output += sm.tempSoilC;
   my_output += ";ProbeTemperatureFahrenheit:";
   my_output += sm.tempSoilF;

#include "ApiClient.h"
#include "Bridge.h"
#include "Console.h"
#include "DHT.h"
#include "KeenClient.h"
#include "OneWire.h"
#include "params.h"

// hardware
int lightPin = 0; // photoresistor
int hygroPin = 1; // moisture sensor
int dhtPin = 2;   // dht11
int probePin = 3; // temp probe

DHT dht(dhtPin, DHT11);
OneWire ds(probePin);
KeenClient keen;

// todo make this array (of error codes)
//boolean error;

typedef struct my_airmeasurement {
  int humidityAir;
  int tempAirC;
  int tempAirF;
  int heatIndex;
} AirMeasurement;
AirMeasurement am;

typedef struct my_soilmeasurement {
  int tempSoilC;
  int tempSoilF;  
} SoilMeasurement;
SoilMeasurement sm;

int lightResistor;
int moistureSensor;

String appId = "Plant01";
String location = "Dinning Room Window";
boolean lightStatus = false;

      Console.print("Device is not recognized");
  }

  myPT.reset();
  myPT.select(addr);
  myPT.write(0x44,1); // start conversion, with parasite power on at the end

  byte present = myPT.reset();
  myPT.select(addr);    
  myPT.write(0xBE); // Read Scratchpad

  for (int i = 0; i < 9; i++) { // we need 9 bytes
    data[i] = myPT.read();
  }
  
  myPT.reset_search();
  
  byte MSB = data[1];
  byte LSB = data[0];
