   Serial.begin(115200);
   Serial.println("Booting");
   initWifi();
+  initOTA();
   dht.begin();
 
   server.on("/", getStatus);

  Serial.println("");
  Serial.println("WiFi connected");

  //Start OTA
  ArduinoOTA.setHostname(DEVICE_NAME);
  ArduinoOTA.setPassword(OTA_PASS);

  // Start the server
  server.begin();
  Serial.println("Server started");

  // Print the IP address
  Serial.println(WiFi.localIP());
}

void SendGratuitousARP() {

unsigned long lastPowerCheck = millis();
unsigned long lastGratuitousARP = millis();

//Variables to be exposed to the API
int relayOn =               0;
int computerOn =            0;
int relayOffWhenPowerDown = 0;
