   Serial.println("SPI init");
   spirfid.begin(MFRC522_SCK, MFRC522_MISO, MFRC522_MOSI, MFRC522_SS);
 
-  Serial.printf("MFRC522 init SPI=%p spi=%p setting=%d/%d/%d\n", &SPI, &spirfid, spiSettings._clock, spiSettings._bitOrder, spiSettings._dataMode);
+  Serial.printf("MFRC522 init SPI = %p spi = %p setting = %d / %d / %d\n", &SPI, &spirfid, spiSettings._clock, spiSettings._bitOrder, spiSettings._dataMode);
   mfrc522.PCD_Init();   // Init MFRC522
 
   Serial.println("MFRC522 dump version");


      String uidStr = "";
      for (int i = 0; i < uid.size; i++) {
        if (i) uidStr += "-";
        uidStr += String(uid.uidByte[i], DEC);
      };
      client.publish(rfid_topic, uidStr.c_str());
      client.publish(log_topic, uidStr.c_str());
    } else {
      Serial.println("Misread.");
      cnt_misreads++;

#define PREFIX "test/"
const char rfid_topic[] = PREFIX "deur/space2/rfid";
const char door_topic[] = PREFIX "deur/space2/open";
const char log_topic[] = PREFIX "log";

static bool eth_connected = false;

const char * pname = __FILE__;

static bool ota = false;
void enableOTA() {
