         Serial.print(client.state());
       }
       long now = millis();
-//      if (now - lastReconnectAttempt > 5000) {
+      //      if (now - lastReconnectAttempt > 5000) {
       if (now - lastReconnectAttempt > 1000) {
         lastReconnectAttempt = now;
         if (reconnect()) {

#include "ap_setting.h"
#endif

#define DEBUG_PRINT 0

//
EnergyMonitor emon1;                   // Create an instance

  }
  */

  //client.loop();

  if (client.connected()) {
    if (DEBUG_PRINT) {
      Serial.print("Sending payload: ");
