 
  
   // initialize SSD discovery
-  //Serial.println("Starting SSDP...\n");
-  SSDP.setDeviceType("urn:Muzzley:device:56f5ac9fca1a124ae2906977:1");
+  String urn = "urn:Muzzley:device:"+MProfileID+":1";
+  SSDP.setDeviceType(urn);
   SSDP.setSchemaURL("description.xml");
   SSDP.setHTTPPort(80);
   SSDP.setName("Muzzley");

#define CE_PIN 2
#define CSN_PIN 15

RF24 radio(CE_PIN, CSN_PIN);
PL1167_nRF24 prf(radio);
MiLightRadio mlr(prf);

  while (!client.connected()) {
    Serial.print("\nAttempting MQTT connection...");
    delay (10); // TODO djsb - crash without this
    if (client.connect("ESP8266Client", MUUID, MAppToken)) {
      Serial.println("connected");
      String substopic = "v1/iot/profiles/"+MProfileID+"/channels/1372ce90-d539-491b-b046-ef5b24aad3a5/#";
      client.subscribe(substopic);
    } else {
      Serial.print("failed, rc=");
      Serial.println(" try again in 5 seconds");
