   }
 
   // turn off light at 6
-  Alarm.alarmRepeat(6, 0, 0, runTimerDoLightOff); // 8:30am every day
+  //Alarm.alarmRepeat(6, 0, 0, runTimerDoLightOff); // 8:30am every day
 }
 
 time_t prevDisplay = 0;

  ADC
*/
#include <TimeLib.h>
#include <TimeAlarms.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <OneWire.h>

  } else {
    wifi_connect();
  }
  //Alarm.delay(1);
}

void runTimerDoLightOff() {
  if (( relaystatus == HIGH ) && ( hour() == 6 ) && ( minute() == 00 ) && ( second() < 5 )) {
    if (INFO_PRINT) {
      syslogPayload = "changing => relaystatus => runTimerLightOff";
      syslogPayload += relaystatus;
      sendUdpSyslog(syslogPayload);
    }
    relaystatus = LOW;

    /* need to inform mqtt, when light is off.
      String lightpayload = "{\"LIGHT\":";
      lightpayload += relaystatus;
      lightpayload += "}";

      sendmqttMsg(subtopic, lightpayload);
    */
  }
}

void changelight() {
