 
 #ifdef USE_RAIN_SENSOR
     //Asking for temperature of the rain sensor
-    Temp = getTemperature();
+    TempRain = getTemperature();
     Capacity = rain(NUMSAMPLES);
     if (Capacity > RAIN_FLAG_TRIGGER) {
       rainy=1;

    Serial.print(":");
    Serial.print(Consigne);
    Serial.print(":");
    Serial.print(Temp);
    Serial.print(":");
    Serial.println(Mosfet);
#endif //USE_DHT_RAIN_SENSOR*/

     }
  }

  if ((TempRain <= HOT_TEMPERATURE_SECURITY) | (TempRain >= COLD_TEMPERATURE_SECURITY)) {
    regulHeat(TempRain, Consigne);
  } else {
    if (rainy == 1) {
        Mosfet = 100;
