 void setup() {
   pinMode( LEDPIN , OUTPUT);
   pinMode( XBEESLEEPPIN , OUTPUT);
-  
+
+/* digitalWrite(XBEESLEEPPIN, LOW);  //Wake UP XBEE
+*/
+
   Serial.begin(57600); 
   dht.setup(DHTPIN);
   

    Serial.print("Ooops, no TSL2561 detected ... Check your wiring or I2C ADDR!");
    while(1);
  }
}

void loop() {
  digitalWrite(LEDPIN, HIGH);
  digitalWrite(XBEESLEEPPIN, LOW);  //Wake UP XBEE

  configureLightSensor();
   
  Serial.print("{'_sensor': 'weather', '_sample': {'_id':"); 
  Serial.print(sample++); 
  Serial.print(", "); 
  
  float h = dht.getHumidity();

    Serial.print(", ");
   }
  } 
  
  sensors_event_t event;
  bmp.getEvent(&event); 
  Serial.print("'AtmoPressure':");
  if (event.pressure)
  {
