             Serial.println("Could not connect to mqtt");
           }
           ESP.restart();
-          delay(2000);
+          delay(500);
         }
         if (reconnect()) {
           lastReconnectAttempt = 0;

  lcd.backlight();
  lcd.clear();

  wifi_connect();

  //

  delay(20);

  //--
  H = T1 =  T2 =  OT = PW = NW =  dustDensity = -1000 ;
  PIR = HO = HL = moisture = unihost = rsphost = unitot = rsptot = 0;
  
  OLD_H  = OLD_T1 = OLD_T2 = OLD_OT = OLD_PW = OLD_NW = OLD_dustDensity = -1000 ;
  OLD_PIR = OLD_HO = OLD_HL = OLD_x = 0 ;

  lastReconnectAttempt = resetCountforMqttReconnect = 0;

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