 {
   
   changelight();
+  runTimerDoLightOff();
   
   pirValue = digitalRead(pir);
   

  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  attachInterrupt(13, motion_detection, RISING);
  attachInterrupt(5, run_lightcmd, CHANGE); 

DeviceAddress insideThermometer, outsideThermometer;

//
unsigned int localPort = 2390;  // local port to listen for UDP packets
IPAddress timeServer(192, 168, 10, 10); // time.nist.gov NTP server
const int timeZone = 9;

//
String clientName;
String payload ;

