 
       client.loop();
     }
+    ArduinoOTA.handle();
   } else {
     wifi_connect();
   }

// 80MHz / 512K / ESP-01
#include <TimeLib.h>
#include <pgmspace.h>
#include <ESP8266WiFi.h>
#include <LiquidCrystal_I2C.h>
#include <ArduinoJson.h>
#include <WiFiUdp.h>
#include <Wire.h>
//#include <RtcDS3231.h>

//
const char* ssid = WIFI_SSID;
const char* password = WIFI_PASSWORD;
const char* otapassword = OTA_PASSWORD;

//
IPAddress mqtt_server = MQTT_SERVER;
