 
   // Timer start
   temp_Mills = millis();
+  pir_Mills = millis();
 
   // ir
   irrecv.enableIRIn();

  tempCinside = getdalastemp();
  displayTemperature(tempCinside);
  displaytimeleft();
  Serial.println(digitalRead(PIR_IN_PIN));
}

// update every 5 mins

  digitalWrite(SETUP_IN_PIN, HIGH);
  digitalWrite(WRK_MODE_IN_PIN, HIGH);

  pinMode(PIR_IN_PIN, INPUT_PULLUP);

  // buzzer
  pinMode(BZ_OU_PIN, OUTPUT);
  digitalWrite(BZ_OU_PIN, HIGH);

  delay(2000);

  // PIR
  attachInterrupt(0, PIRCHECKING, CHANGE);
