We are now going to see how to build the lamp controller module. This first step is to place the ESP8266 breakout board on the breadboard.
Then, the only thing you need to do is to connect the PowerSwitch Tail Kit. Connect the two pins on the right (-in and Ground) on the GND pin of the ESP8266 board and the +in pin to the pin number 5 of the ESP8266.
Then, also connect a lamp or any electrical device to the PowerSwitch, and the other end of the PowerSwitch to the mains electricity.
This is the completey assembled lamp controller: