   Homie.setResetTrigger(PIN_BUTTON, LOW, 5000);
   Homie.setLoopFunction(loopHandler);
   Homie.setup();
+  ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);
+  ArduinoOTA.begin();
 }
 
 void loop() {

#include <Homie.h>

#define PIN_LED     13      // PIN 12 / HSPI_MOSI; UART0_CTS MTCK
#define PIN_RELAY   12      // PIN 10 / HSPI_MISO MTDI

    }
    lastButtonState = buttonState;
  }
  ArduinoOTA.handle();
}

void setup() {
