 
   ArduinoOTA.onStart([]() {
     Serial.println("[OTA] Start");
+    disableLights();
+    otaInProgress = true;
   });
   ArduinoOTA.onEnd([]() {
     Serial.println("\n[OTA] End");
+    otaInProgress = false;
   });
   ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
     Serial.printf("[OTA] Progress: %u%%\r", (progress / (total / 100)));

  Serial.println("Version " + Version);
}



void mqttTryReconnect() {  
  Serial.print("Attempting MQTT connection...");
  // Attempt to connect
  if (mqttClient.connect(clientID.c_str())) {

int value = 0;
String thisMAC = WiFi.macAddress();
String clientID = "RGB_controller_" + thisMAC;
bool otaInProgress = false;

String domain = "RGB-LED-control";

