I am developing a Wifi based Led light (Got Inspired from Philips hue, Lifx). I have little knowledge about web server, clients, Web protocols. I will be using ESP8266 as Controller cum WiFi module.
There are two ways to control Led light over WiFi.
Android/iOS app will be handling all the control part.
Which protocols can I use to control Led light, locally? HTTP or Websockets?
Note :- The speed is critical, android/iOS app can send around 50-60 values per second.
Also, which protocol should I go with if Led light is controlled Remotely.? So far, MQTT seems reliable. Any suggestion?