 #define _IS_MY_HOME
 // WIFI
 #ifdef _IS_MY_HOME
-#include "/usr/local/src/ap_settingii.h"
-//#include "/usr/local/src/ap_setting.h"
+//#include "/usr/local/src/ap_settingii.h"
+#include "/usr/local/src/ap_setting.h"
 #else
 #include "ap_setting.h"
 #endif


  getResetInfo = "hello from ESP8266 s07 ";
  getResetInfo += ESP.getResetInfo().substring(0, 30);

  /*
  if (WiFi.status() == WL_CONNECTED) {
    if (!client.connected()) {
      if (client.connect((char*) clientName.c_str(), willTopic, 0, true, willMessage)) {
        client.publish(willTopic, "1", true);
        client.publish(hellotopic, (char*) getResetInfo.c_str());
        if (DEBUG_PRINT) {
          Serial.print("Sending payload: ");
          Serial.println(getResetInfo);
        }
      }
    } else {
      client.publish(willTopic, "1", true);
      client.publish(hellotopic, (char*) getResetInfo.c_str());
      if (DEBUG_PRINT) {
        Serial.print("Sending payload: ");
        Serial.println(getResetInfo);
      }
    }
  }
  */

  startMills = millis();
  sentMills = millis();

  } else {
    wifi_connect();
  }
  
  VIrms = emon1.calcIrms(1480) * 220.0;
  ave.push(VIrms);
  average = ave.mean();
