An easy example of websockets with a NodeMCU ESP8266, an RGB led and QT | Combatiendo al byte rebelde
This is a quick example of how to use websockets in an ESP8266 device. The device runs the websocket server. On the other side, the client is a Qt (QML) application. I think QML is an easy way of developing applications and the advantage is that you can use the same code in a smartphone or a desktop PC.
http://www.deuteros.es/blog/125-an-easy-example-of-websockets-with-a-nodemcu-esp8266-an-rgb-led-and-qt