 
 //global internally used
 int8_t  maxC = 125, minC = -125;
-volatile uint8_t tempLimitPotValue = 0; //these values vary, use when set
-volatile uint8_t humLimitPotValue = 0;  //these values vary, use when set
+uint8_t tempLimitPotValue = 0; //these values vary, use when set
+uint8_t humLimitPotValue = 0;  //these values vary, use when set
 uint8_t buttonState = LOW;
 uint8_t alertLevel  = 30; //alert level for temp stored from tempLimitPotValue
 uint8_t humLevel    = 80; //alert level for humidy stored from humLimitPotValue
 uint8_t updateValuesCntr = 0;
-unsigned long lastTimeReadValues = 0;
+volatile unsigned long lastTimeReadValues = 0;
 
 // Setup a oneWire instance to communicate with any OneWire devices
 OneWire oneWire(DALLAS_ONE_WIRE);

  delay(100);
}


void handleState()
{

  LOG_DEBUG("SOIL: ");
  LOG_DEBUGLN(moisture);
  delay(10);

  float tempCaseTemp = sensors.getTempCByIndex(0);
  float tempOutsTemp = sensors.getTempCByIndex(1);
