diff --git a/doorbell/Doorbell-Speaker.ino b/doorbell/Doorbell-Speaker.ino index 381ad73..cd7d17d 100644 --- a/doorbell/Doorbell-Speaker.ino +++ b/doorbell/Doorbell-Speaker.ino @@ -110,10 +110,7 @@ void loop() { client.println(); // turns the GPIOs on and off - if (header.indexOf("GET /") >= 0) { - client.println("{ \"status\": \"true\" }"); - } - else if (header.indexOf("GET /bell/on") >= 0) { + if (header.indexOf("GET /bell/on") >= 0) { dfPlayer.play(1); //Play the first mp3 } else if (header.indexOf("GET /volume/") >= 0) { // yes, I know this is not RESTful