     else // Timer expired
     {
       g_aPins[_iOutPinNum].timer_running = false;
+//      g_aPins[_iOutPinNum].timer_start_time = millis();
     }
   }
   


  // Initialize HW and JSON protocol code
  //Serial.println("Initilize Hardware");
//  initBoardState(); // Assure a state
  initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH); // Replace the state with the file, if available
  //delay(1000);


      if (poIsTimerOn)
      {
        g_aPins[i].is_timer_on = poIsTimerOn->valuebool; 
        /*
        if(g_aPins[i].is_timer_on)
          g_aPins[i].timer_start_time = millis();
          */
      } 

      aJsonObject *poTimerValue = aJson.getObjectItem(poPinVals, "timer_value");
