 
 void setup() {
   Serial.begin(9600);
-  Serial.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>> Starting autogarten probe");
   
   // Initialize the probe and wifi configuration
   initProbe("autogarten_probe", "-----", 5000, "changeme");

  
  // Verify a reserved PIN isn't being used... 
  if (pin == 7 || pin == 10 || pin == 11 || pin == 12 || pin ==13) {
    Serial.println("ERROR 100");
    return false;
  }

  switch (sensorType) {
    
    case SENSOR_TYPE_ANALOG_GENERIC:
      if (!isAnalogPin(pin)) {        
        Serial.print(sensorId);
        Serial.println(" ERROR 101");
        return false;
      }       
      break;
      
    case SENSOR_TYPE_DIGITAL_GENERIC:
      if (!isDigitalPin(pin)) {
        Serial.print(sensorId);
        Serial.println(" ERROR 102");
        return false;
      }
      pinMode(pin, INPUT);      

  //  * https://github.com/not404/json-arduino
  //  * https://github.com/interactive-matter/aJson
  
  String syncRequest = "{\"probe_id\":\"";
  syncRequest += probeId;
  syncRequest += "\",";
  syncRequest += "\"token\":\"";
  syncRequest += controlServerToken;
  syncRequest += "\",";
  syncRequest += "\"sync_count\":";
  syncRequest += controlServerSyncCount;
  syncRequest += ",";
  syncRequest += "\"curr_time\":";
  syncRequest += 1399838400;
  syncRequest += ",";  // TODO: Set current time
  syncRequest += "\"connection_attempts\":";
  syncRequest += connectionAttempts;
  syncRequest += ",";
  syncRequest += "\"sensor_data\":[]";
  syncRequest += "}";
  
  return syncRequest;
