   return NULL;
 }
 
-unsigned long last_mqtt_connect_try = 0;
 void reconnectMQTT() {
-  last_mqtt_connect_try = millis();
 
   Debug.print("Attempting MQTT connection (State : ");
   Debug.print(state2str(client.state()));

    Log.println("OTA process started.");
  });
  ArduinoOTA.onEnd([]() {
    Log.println("OTA process completed.");
  });
  ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
    Log.printf("%c%c%c%cProgress: %u%% ", 27, '[', '1', 'G', (progress / (total / 100)));
  });
  ArduinoOTA.onError([](ota_error_t error) {
    Log.printf("Error[%u]: ", error);
    if (error == OTA_AUTH_ERROR) Log.println("Auth Failed");
    else if (error == OTA_BEGIN_ERROR) Log.println("Begin Failed");
    else if (error == OTA_CONNECT_ERROR) Log.println("Connect Failed");
    else if (error == OTA_RECEIVE_ERROR) Log.println("Receive Failed");
    else if (error == OTA_END_ERROR) Log.println("End Failed");
    else {
      Log.print("Error: ");
      Log.println(error);
    };
  });

      break;
    case OVERLOAD:
      red = LED_FAST; green = LED_OFF;
      break;
    case NOCONN:
      red = LED_FAST; green = LED_FAST;
      break;
    case WRONGFRONTSWITCHSETTING:
      red = LED_SLOW; green = LED_ON;
