   if (client.connect((char*) clientName.c_str())) {
     //
   } else {
-    goingToSleep();
+    if (DEBUG_PRINT) {
+      Serial.println("going to sleep / mqtt con fail");
+    }
+    //goingToSleep();
   }
   return client.connected();
 }


String clientName;

  float tempCoutside ;
  float tempCinside ;

int vdd;


  // start serial port
  if (DEBUG_PRINT) {
    Serial.begin(115200);
    Serial.println("");
    Serial.println("");
    Serial.println("---");
  }
  delay(10);
  vdd = ESP.getVcc();
