 #include <lgWhisen.h>
 // https://github.com/markszabo/IRremoteESP8266
 #include <IRremoteESP8266.h>
+#include <ESP8266mDNS.h>
+#include <ArduinoOTA.h>
+#include <WiFiUdp.h>
 
 #include "/usr/local/src/ap_setting.h"
 #include "/usr/local/src/slack_setting.h"
+const char* otapassword = OTA_PASSWORD;
 
 const char* api_fingerprint = "AB F0 5B A9 1A E0 AE 5F CE 32 2E 7C 66 67 49 EC DD 6D 6A 38";
 

  Serial.println();

  configTime(9 * 3600, 0, "pool.ntp.org", "time.nist.gov");
}

unsigned long lastPing = 0;

      // ac power down
      case 0:
        Serial.println("IR -----> AC Power Down");
        irrecv.disableIRIn();
        lgWhisen.power_down();
        delay(5);
        irrecv.enableIRIn();
        break;

      // ac on
      case 1:
        Serial.println("IR -----> AC Power On");
        irrecv.disableIRIn();
        lgWhisen.activate();
        delay(5);
        irrecv.enableIRIn();
        break;

      default:
