     static unsigned long tsMeasure, tsMeasureOld;
     static unsigned int cntMeasure;
     static int waterValueOld;
-    static unsigned char waterStatusOld;
+    static unsigned char waterStatusOld = waterStatus;
     if (millis() - tsMeasure >= PERIOD_MEASURE_WATER || tsMeasure == 0) {
         tsMeasure = millis();
         // Value

  static unsigned long tsMeasure;
  if (millis() - tsMeasure >= PERIOD_MEASURE_RSSI || tsMeasure == 0) {
    tsMeasure = millis();
    while(smooth.registerData(abs(WiFi.RSSI())));
    rssiValue = efRssi.getValue(-1 * smooth.getMedian());
    }
}


    static unsigned long tsMeasure, tsMeasureOld;
    static unsigned int cntMeasure;
    static int rainValueOld;
    static unsigned char rainStatusOld = rainStatus;
    if (millis() - tsMeasure >= PERIOD_MEASURE_RAIN || tsMeasure == 0) {
        tsMeasure = millis();
        // Value
