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

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

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


WiFiClient wifiClient;
PubSubClient client(wifiClient, server);
WiFiUDP udp;


void setup() 
{
