 	  
   
 
-  Serial.println("Sleep for " + sleepinterval + "s");
+  Serial.print("ESP Sleep for ");
+  Serial.print(sleepinterval);
+  Serial.print(" seconds.");
 
   digitalWrite(REDLED, LOW);
   digitalWrite(GREENLED, LOW);

	// We need to report to the MQTT Server
	while (!mqtttimeout) {
	  if(mqttconnect() != 0){
		  Serial.println("Unable to connect to MQTT Server " + mqttfailcount + " tries");
		  delay(1000);
	      mqttfailcount++;
	  } else {

	  }
	  
	  if(mqttfailcount >= 30 ){
		  Serial.println("Giving up MQTT connection"" );
		  mqtttimeout = true;
	  }
	  
	  
	}
	
	if(mqttconnectsuccess){
	  // Connect to MQTT Server
	  //client.connect(mqttclientname.c_str(), mqttusername.c_str(), mqttpassword.c_str() );
	  //Following is original
