     timer_remote.setInterval(REPOSITORY_INTERVAL, checkRepository);
     timer_vcc.setInterval(POWERCHECK_INTERVAL, batteryCheck);
     timer_broadcast.setInterval(BROADCAST_INTERVAL, broadcast);
+    timer_schedule.setInterval(SCHEDULE_INTERVAL, checkShedule);
     
     Serial.println("Starting http server...");
     server.reset(new ESP8266WebServer(WiFi.localIP(), 80));

          return "";
     }
}
void parseSchedule(){
       StaticJsonBuffer<200> jsonBuffer; 
       StaticJsonBuffer<200> jsonBufferNested;
       SPIFFS.begin();
       File configFile = SPIFFS.open("/schedule.txt", "r");

 DID = getID(); 
 DHEX = getHex(DID);
                            
String rhost = getConfigParam("repository_host");
  if(rhost != ""){ 
    char *cstr = new char[rhost.length() + 1];
    rhost.toCharArray(cstr, rhost.length() + 1); 
 REPOSITORY_HOST = cstr;
  }
String rint = getConfigParam("repository_interval");
  if(rint != ""){ 
 REPOSITORY_INTERVAL = rint.toInt()*60*1000;
  } 
