 void loop() {
   server.handleClient();
   unsigned long currentMillis = millis();
-  if (usesenseur == 1) {
-    if (currentMillis - previousMillis >= interval) {
-      previousMillis = currentMillis;
+  if (currentMillis - previousMillis >= interval) {
+    previousMillis = currentMillis;
+    int usesenseur = 0;
+    if (usesenseurdallas == 1) {
+      usesenseur = 1;
+    }
+    if (usesenseurdht == 1) {
+      usesenseur = 1;
+    }
+    if (usesenseur == 1) {
       latemp();
+    } else {
+      Serial.println("");
     }
   }
   if (flashoufade == 1) {

                "Added color persistance trough reboot using esp32 Preferences\n\n<br><br>"
                "Added /setup page to set admin password and thingspeak api key and channel\n\n<br><br>"
                "Added option in /setup tu use or not temperature sensors\n<br>"
                "Changed from Adafruit DHT library to simpleDHT for better reliability\n\n<br><br>"+ liens);
    Serial.println("");
    Serial.println(addy);
    Serial.println("Page de Version");

  contenu += liens;
  contenu += "\n<br></div></body></html>\n";
  server.send(200, "text/html", contenu);
}

// convert string 2 char*
