For those of you that are interested in MQTT for your IoT system, you might be interested by the project I am currently working on. I have published an MQTT convention for the IoT named Homie and an Arduino for ESP8266 framework for Homie, and I am about to release it as stable as it has been working for some of my devices for weeks, without any issues. Tell me what you guys / girls think about it. 
MQTT convention : https://github.com/marvinroger/homie
ESP8266 framework : https://github.com/marvinroger/homie-esp8266
Web UI (WIP) : https://github.com/marvinroger/homie-server

Interesting.
How do you propose to name a topic for control multiple lights on same device?
A device exposes multiples nodes that can be of different types. These nodes are exposed on the devices/ topic. A node can have multiple properties to reflect its state, exposed at devices//. In case of a basic light, you will want a single property named on
that can be set to true
or false
.
So you would have:
- devices/awesome-lights/light1/on/set
- devices/awesome-lights/light2/on/set
And so on
Hope this is clear enough!
NodeMCU what? The hardware, the firmware?
This development kit named Nodemcu.based on ESP8266, integates GPIO, PWM, IIC, 1-Wire and ADC all in one board. Power your developement in the fastest way combinating with NodeMCU Firmware!