   delay(100);
   if (client.connect((char*) clientName.c_str(), willTopic, 0, true, willMessage)) {
     Serial.println("-----> mqtt connected");
-    //client.publish(hellotopic, "hello again 1 from ESP8266 s20");
     client.publish(willTopic, "1", true);
+    if ( ResetInfo == LOW) {
+      client.publish(hellotopic, (char*) getResetInfo.c_str());
+      ResetInfo = HIGH;
+    } else {
+      client.publish(hellotopic, "hello again 1 from ESP8266 s20");
+    }
   } else {
     Serial.print("-----------------> failed, rc=");
     Serial.println(client.state());

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

}

void setup() {
  Serial.begin(115200);
  Serial.println();
  //Serial.println("lwt test");
  //Serial.print("ESP.getFlashChipSize() : ");
