 
   WiFi.mode(WIFI_STA);
 
-  #ifdef __IS_MY_HOME
+#ifdef __IS_MY_HOME
   WiFi.begin(ssid, password, channel, bssid);
   WiFi.config(IPAddress(192, 168, 10, 17), IPAddress(192, 168, 10, 1), IPAddress(255, 255, 255, 0));
-  #else
-  WiFi.begin(ssid, password); 
-  #endif
+#else
+  WiFi.begin(ssid, password);
+#endif
 
 
   while (WiFi.status() != WL_CONNECTED) {


// wifi
#ifdef __IS_MY_HOME
  #include "/usr/local/src/ap_setting.h"
#else
  #include "ap_setting.h"
#endif

// mqtt

    Serial.print("Sending payload: ");
    Serial.println(payload);

   if (client.publish(topic, (char*) payload.c_str())) {
      Serial.println("Publish ok");
    }
    else {
