Hardware and software requirements
For this project, you will of course need an ESP8266 chip. As for most of this book, I used the Adafruit Huzzah ESP8266 module, but any ESP8266 module will work fine here.
You will also need some way to control your lamp or other devices. I originally used a simple relay for my tests, but I quickly moved to a PowerSwitch Tail Kit which allows you to simply and safely plug high voltage devices into your projects.
For the LED, I used a simple 5 mm red LED, along with a 330 Ohm resistor.
You will also need a 3.3V/5V FTDI USB module to program the ESP8266 chip.
Finally, you will also need some jumper wires and a breadboard.
This is a list of all the components, along with the web pages where you can find them, that will be used in this guide:
Adafruit ES8266 module (https://www.adafruit.com/products/2471)
FTDI USB module (https://www.adafruit.com/products/284)
330 Ohm resistor (https://www.sparkfun.com/products/8377)
PowerSwitch...