  
       if(request.indexOf("<BinaryState>1</BinaryState>") > 0) {
           Serial.println("Got Turn on request");
+          turnOnRelay();
       }
 
       if(request.indexOf("<BinaryState>0</BinaryState>") > 0) {
           Serial.println("Got Turn off request");
+          turnOffRelay();
       }
       
       HTTP.send(200, "text/plain", "");


  serial = String(uuid);
  persistent_uuid = "Socket-1_0-" + serial;
}

void respondToSearch() {


  HTTP.handleClient();
  delay(1);
  
  
  // if there's data available, read a packet
  // check if the WiFi and UDP connections were successful
