     temperatureSamples[i] = DUMMY;
   }
 
+  //restore settings from eeprom, if there were any saved before
+  readFromEeprom();
+
 }
 
 // This wrapper is in charge of calling the DHT sensor lib

  }

  //debounce the new setting
  if (modeButtonClickTimer < DEBOUNCE_SETTINGS) {
    return;
  }


    } else {
      fanLed.off();
    }

    flagSettingsHaveChanged();
  }
}

BLYNK_WRITE(BLYNK_BUTTON_PULSE) {
  //flip pulse status, if it's on switch it off and viceversa
  // do this only when blynk sends a 1
