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

#include <ESP8266WiFi.h>
#include <DallasTemperature.h>

// wifi
#ifdef __IS_MY_HOME
  #include "/usr/local/src/ap_setting.h"

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 ;

