 
 void loop() {
   HTTP.handleClient();
-  delay(1);
+  // Serial.printf("Called handleClient()...\n");
+  delay(1000);
 }

    HTTP.begin();

    Serial.printf("Starting SSDP...\n");
    UPnP.setSchemaURL("description.xml");
    UPnP.setHTTPPort(80);
    UPnP.setName("UPnP Motion Sensor Kit");
    UPnP.setSerialNumber("001788102201");
    UPnP.setURL("index.html");
    UPnP.setModelName("UPnP Motion Sensor Kit");
    UPnP.setModelNumber("929000226503");
    UPnP.setModelURL("http://danny.backx.info");
    UPnP.setManufacturer("Danny Backx");
    UPnP.setManufacturerURL("http://danny.backx.info");
    SSDP.begin();

    UPnP.begin();

    Serial.printf("Ready!\n");
  } else {

#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <UPnP/UPnPDevice.h>
#include <UPnP.h>
#include <UPnP/SSDP.h>

