       digitalWrite(relayPin1, HIGH);
     }
     
-    if (LDRValue < 700) {
+    if (LDRValue > goodLDRValue) {
       digitalWrite(relayPin2, LOW);
     }
     else

#define lightSensorPin A0 // Set to whereever light sensor is connected
int light_threshold = 500; // Threshold for when to report that light is not enough
int LDRValue = 0;

// activity led setup
int ledPin = 13; // this is just for checking activity

  soilSensor.measure(&soilTemperature, &soilMoisture, &dewpoint); // read temperature and moisture from SHT10 sensor
}

void setGoodAirTemperature(float value) {
  goodAirTemperature = value;
}

void setGoodLDRValue(float value) {
  goodLDRValue = value;
}
