 
 //===== For probe thermometer ===================
 #include "OneWire.h"
-const byte probePin = 3;
+const byte probePin = 3;  
 OneWire myPT(probePin);
 
 typedef struct my_soilmeasurement {

  digitalWrite(waterSensorPower, LOW);
  waterLevelPercent = map(waterLevelVal, waterMinVal, waterMaxVal, 0, 100);
  
  if (waterLevelPercent < waterLevelThreshold) {
   waterLevelStatus = "LOW";
  } else {
   waterLevelStatus = "OK";

int waterLevelVal;
String waterLevelStatus = "OK";

//===== For water pump ===========================
const byte waterPumpPin = A5;
// todo - find right value for this
const int waterLevelThreshold = 245;  
const int waterMaxVal = 386; 
const int waterMinVal = 80;   
boolean waterPumpIsOn = false;
unsigned long wateringSeconds = 15000;
unsigned long prevWatering = 0;

//===== For light switch =========================
const byte lightSwitchPin = 4;
const byte lightOnThreshold = 30;
const int lightMaxVal = 250;  
const int lightMinVal = 0; 
boolean lightIsOn = false;

//===== For timed events =========================
unsigned long prevMinOneMillis = 0;    
