Quantity   Component name
1 × ESP8266 The microcontrolle with wifi capacity
1 × AMS1117-3.3V Mini USB 5V/3.3V DC Precise Power Supply Module to get 3.3 and 5 volts from an USB charger - http://www.ebay.com/itm/351691736361
1 × 1-Channel Relay Module Optocoupler 5V High Level Trigger Expansion Board Arduino to control the plug - http://www.ebay.com/itm/131780694298
1 × 5V 3.3V FT232RL USB To Serial 232 Adapter Download Cable Module For Arduino A serial adapter to flash the ESP8266 - http://www.ebay.com/itm/161305918505
1 × a plug socket
1 × A box to fit all components