 void handleLeds() {
   String sortie = "";
   String addy = server.client().remoteIP().toString();
+  reboot_ip(addy, "Couleur");
   sortie += "\n";
   sortie += addy;
   sortie += "\n";

    ESP.restart();
    delay(5000);
  }
  delay(5000);
  if (!sensors.getAddress(insideThermometer, 0)) {
    int ereur = 0;
    int marchetu = 1;


void ladentbleu() {
  while (SerialBT.available()) {
    vTaskDelay( 60 / portTICK_PERIOD_MS ); // wait / yield time to other tasks
    if (SerialBT.available() > 0) {
      char c = SerialBT.read();
      btreadString += c;
    }
  }
}

void setup() {
  //Serial.begin(115200);
  SerialBT.begin("lumiere"); //Bluetooth device name
  print_reset_reason(rtc_get_reset_reason(0));
  bootStringa = bootString;
  print_reset_reason(rtc_get_reset_reason(1));
  bootStringb = bootString;
  preferences.begin("lumiere", false);
  videCoeur();
  ledcAttachPin(pinRouge, 1);
