   if ( requestedUri.endsWith("/config") )
   {
     String longstr = "[{"
+                     " \"lights\": { " + getLightString(1) + " }," // FIXME: Properly iterate as to provide more than one light
                      " \"name\": \"Philips hue\","
-                     " \"zigbeechannel\": 15,"
-                     " \"mac\": \"00:17:88:00:00:00\","
+                     " \"zigbeechannel\": 0," // As per spec, 0 is allowed
+                     " \"mac\": \"" + macString + "\","
                      " \"dhcp\": true,"
-                     " \"ipaddress\": \"192.168.0.16\","
-                     " \"netmask\": \"255.255.255.0\","
-                     " \"gateway\": \"192.168.0.1\","
+                     " \"ipaddress\": \"" + ipString + "\","
+                     " \"netmask\": \"255.255.255.0\"," // TODO: FIXME
+                     " \"gateway\": \"192.168.0.1\"," // TODO: FIXME
                      " \"proxyaddress\": \"none\","
                      " \"proxyport\": 0,"
                      " \"UTC\": \"2014-07-17T09:27:35\","
-                     " \"localtime\": \"2014-07-17T11:27:35\","
-                     " \"timezone\": \"Europe/Madrid\","
+                     //" \"localtime\": \"2014-07-17T11:27:35\"," // This was added in a bridge update at the beginning of 2014
+                     " \"timezone\": \"\","
+                     //" \"timezone\": \"Europe/Berlin\","
                      " \"whitelist\": {"
                      " \"" + client + "\": {"
                      " \"last use date\": \"2015-06-17T07:21:38\","
                      " \"create date\": \"2014-04-08T08:55:10\","
                      " \"name\": \"Chroma for Hue\""
-                     " },"
-                     " \"pAtwdCV8NZId25Gk\": {"
-                     " \"last use date\": \"2014-05-07T18:28:29\","
-                     " \"create date\": \"2014-04-09T17:29:16\","
-                     " \"name\": \"MyApplication\""
-                     " },"
-                     " \"gDN3IaPYSYNPWa2H\": {"
-                     " \"last use date\": \"2014-05-07T09:15:21\","
-                     " \"create date\": \"2014-05-07T09:14:38\","
-                     " \"name\": \"iPhone Web 1\""
                      " }"
+                     //  " \"pAtwdCV8NZId25Gk\": {"
+                     //   " \"last use date\": \"2014-05-07T18:28:29\","
+                     //   " \"create date\": \"2014-04-09T17:29:16\","
+                     //   " \"name\": \"MyApplication\""
+                     //   " },"
+                     //  " \"gDN3IaPYSYNPWa2H\": {"
+                     //  " \"last use date\": \"2014-05-07T09:15:21\","
+                     //  " \"create date\": \"2014-05-07T09:14:38\","
+                     //  " \"name\": \"iPhone Web 1\""
+                     //  " }"
                      " },"
                      " \"swversion\": \"01012917\","
                      " \"apiversion\": \"1.3.0\","

#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <WiFiUDP.h>
#include "SSDP.h"

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

ESP8266WebServer HTTP(80);
uDevice device;
uSSDP SSDP;

String client = "e7x4kuCaC8h885jo"; // "UjBZ0nvTLu7aMdOe"; // The client string that the client app sends. Need to enter here what the app sends.
// FIXME: Parse this out of what is being sent by the app.

void handleAllOthers() {
  Serial.println("===");

}

void setup() {

  // this resets all the neopixels to an off state
  strip.Begin();
  strip.Show();

  // Show that the NeoPixels are alive
  infoLight(white);

  Serial.begin(115200);

  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);
  if (WiFi.waitForConnectResult() != WL_CONNECTED) {
    Serial.println("WiFi Failed");
    // Show that we are connected
    infoLight(red);
    while (1) delay(100);
  }

  macString = String(WiFi.macAddress());

  // ipString = String(WiFi.localIP());


  os_sprintf(ipChars, IPSTR, IP2STR(WiFi.localIP()));
  ipString = String(ipChars);


  Serial.print("Starting HTTP at ");
  Serial.print(WiFi.localIP());
