 boolean isSensorFaulty(float humidity) {
     if (isnan(humidity)) {
         return false; // do not consider missing sensor as faulty
-    } else  if (humidity > 99.0 || humidity < 1.0) {
+    } else  if (humidity > 98.8 || humidity < 1.2) {
         return true;
     } else {
         return false;

    Serial.print  ("Resolution:   "); Serial.print(sensor.resolution); Serial.println("%");
    
    // Set delay between sensor readings based on sensor details.
    tempCheckDelay = sensor.min_delay / 1000 * 5;

    mode = MODE_AUTO;
    page = 1;


long tempLastCheck;
long tempCheckDelay;
byte temperatureToCheck = 0;

float tempInside;
float tempOutside1;
float tempOutside2;
float humidityInside = 0;
float humidityOutside1 = 100;
float humidityOutside2 = 100;
float absHumidityInside = 0;
float absHumidityOutside1 = ABS_HUMIDITY_ERROR;
float absHumidityOutside2 = ABS_HUMIDITY_ERROR;

long lastPageSwitch;
byte page = 1;
