   if ( !myPT.search(addr)) {
       //no more sensors on chain, reset search
       myPT.reset_search();
-      Serial.println("No probe sensor detected");
       Console.println("No probe sensor detected");
   }
 
   if ( OneWire::crc8( addr, 7) != addr[7]) {
-      Serial.println("CRC is not valid!");
       Console.println("CRC is not valid!");
   }
 
   if ( addr[0] != 0x10 && addr[0] != 0x28) {
-      Serial.print("Device is not recognized");
       Console.print("Device is not recognized");
   }
 

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

const int moistureThreshold = 500; // <- made this up
int moistureSensorVal;

//=====For Water===============================
const byte waterSensorPin = A2;
// todo - find right value for this
const int waterLevelThreshold = 400; // <- made this up
boolean waterPumpIsOn = false;
int waterLevelVal;
unsigned long wateringSeconds = 10000;
unsigned long prevWatering = 0;
String waterLevel = "OK";

//=====For Timed Events=========================
long prevMinOneMillis = 0;
long minOneInterval = 60000;
long prevMinFiveMillis = 0;
long minFiveInterval = 300000;
long prevHourTwelveMillis = 0;
long hourTwelveInterval = 43200000;

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

  myDHT.begin();
  Bridge.begin();
  Console.begin();

  while (!Console);
  Console.print("\nPlantStation is warming up.\nYun Console is warming up.\nKeen is warming up.\n\n");

  delay(5000);
}

