     }
 
     server.send( 200, textPlainHeader, defaultTimersLoaded() ? "Succes" : "Failed" );
-    struct tm timeinfo;
-    getLocalTime(&timeinfo);
-    time_t secondsToday = ( timeinfo.tm_hour * 3600 ) + ( timeinfo.tm_min * 60 ) + timeinfo.tm_sec;
-    for ( byte channelNumber = 0; channelNumber < NUMBER_OF_CHANNELS; channelNumber++ )
-    {
-      setPercentageFromProgram( channelNumber, secondsToday );
-    }
   });
 
   server.on( "/api/pwmdepth", []() {

    }
    else
    {
      server.send( 200, textPlainHeader, "" );
    }
  }, [] ()
  {



  server.on( "/api/pwmfrequency", []() {
    if ( server.hasArg( "newpwmfrequency" ) ) {
      if ( !server.authenticate( www_username, www_password ) )
      {
