   client.setCallback(callback);
 
   Serial.println("Setup of Stepper motor");
-  stepper.setMaxSpeed(100);  // divide by 3 to get rpm
-  stepper.setAcceleration(80);
+  stepper.setMaxSpeed(300);  // divide by 3 to get rpm
+  stepper.setAcceleration(100);
   stepper.moveTo(DOOR_CLOSED);
 
   stepper.run();

void reportStats() {
  char buff[255];
  snprintf(buff, sizeof(buff),
           "[%s] alive - uptime %02ld:%02ld: "
           "swipes %ld, opens %ld, closes %ld, fails %ld, mis-swipes %ld, mqtt reconnects %ld, mqtt fails %ld, stepper %s at %ld (target %ld)",
           pname, cnt_minutes / 60, (cnt_minutes % 60),
           cnt_cards,
           cnt_opens, cnt_closes, cnt_fails, cnt_misreads, cnt_reconnects, cnt_mqttfails,

doorstate_t doorstate;
unsigned long long last_doorstatechange = 0;

long cnt_cards = 0, cnt_opens = 0, cnt_closes = 0, cnt_fails = 0, cnt_misreads = 0, cnt_minutes = 0, cnt_reconnects = 0, cnt_mqttfails = 0;

#include <ETH.h>
#include <SPI.h>
