 } SoilMeasurement;
 SoilMeasurement sm;
 
-//===== For digital thermo, humidity sensor =====
+//===== For digital thermo/humidity sensor =====
 #include "DHT.h"
 const byte dhtPin = 2;
 DHT myDHT(dhtPin, DHT11);

    prevMinOneMillis = currentMillis;
    
    sendToKeen();  
    waterPlants();
  }
  
  // these happen every five minutes (or so)

//===== For hygrometer ==========================
const byte hygroPin = A1;
// todo - find right value for this
const int moistureThreshold = 1000; // <- made this up
int moistureSensorVal;

//===== For water level sensor ===================
const byte waterSensorPin = A2;
// todo - find right value for this
const int waterLevelThreshold = 400; // <- made this up
int waterLevelVal;

//===== For water pump ===========================
boolean waterPumpIsOn = false;
unsigned long wateringSeconds = 10000;
unsigned long prevWatering = 0;
String waterLevel = "OK";

//===== For timed events =========================
// todo - timed events use regule marers for 1 min 1 hour etc and divide blah
unsigned long prevMinOneMillis = 0;
unsigned long minOneInterval = 60000;
unsigned long prevMinFiveMillis = 0;
unsigned long minFiveInterval = 300000;
unsigned long prevHourTwelveMillis = 0;
unsigned long hourTwelveInterval = 43200000;

void setup() {
  pinMode(LightSwitch, OUTPUT);
