       }   
     }
   }
-}
+  if (WiFi.status() != WL_CONNECTED) {
+    parseRGB("#000000");
+    setParsedRGB();
+    delay(100);
+  }
+}

        Serial.println(subscriptions[i]);
      #endif
    }
    return true;
  } else {
    return false;
  }
}


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

void mqttTryReconnect() {  
  Serial.print("Attempting MQTT connection...");
  // Attempt to connect
  if (mqttClient.connect(clientID.c_str())) {
    Serial.println("connected");
    registration();
    for (int i = 0; i < subscriptions_length; i++ )
    {
      mqttClient.subscribe(subscriptions[i].c_str());
