 unsigned int port = 12345;
 IPAddress broadcastIp;
 
+ESP8266WebServer server(80);
+
 void broadcast(char * message) {
   udp.beginPacketMulticast(broadcastIp, port, WiFi.localIP());
   udp.write(message);
   udp.endPacket();
+}
+
+void handleRoot() {
+  String html("<head><meta http-equiv='refresh' content='5'></head><body>You are connected</><br><b>");
+  html.concat(millis());
+  html.concat("</b></body>");
+  server.send(200, "text/html", html.c_str());
 }
 
 void broadcastStatus() {

#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

const char* ssid = "ssid";
const char* password = "password";
uint32_t timeout;

#define HOSTNAME "solohm-mm-"

  udp.begin(WiFi.localIP());
  
  broadcast((char *)"setup");

  server.on("/", handleRoot);
  server.begin();
  Serial.println("HTTP server started");
}

void loop() {
  ArduinoOTA.handle();
  yield();
  server.handleClient();
  if (millis() > timeout) {
    digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
    timeout = millis() + 1000;
