 
 void sendOutput() {
   if (outputRequired) {
-    log("mode changed");
-    Serial.println(currentMode);
+    log("mode changed " + String(currentMode));
 
     if (currentMode == modeAutoOpen || currentMode == modeManualOpen) {
       sendOpen();

  updateTimers();
  updateMode();
  sendOutput();

  //delay(loopInterval);
}



  //wait on button release
  if (!openButtonIn.on()) {
    currentMode = modeWait;
    manualModeLastMoveTime = millis();
  }
}

