Quantity   Component name
1 × ESP-01 ESP8266 Wifi Microcontroller http://www.banggood.com/ESP8266-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-947259.html?currency=USD&refreshTmp=1&utm_source=google&utm_medium=shopping&utm_content=saul&utm_campaign=Electronic-xie-us&gclid=CjwKEAiAg_CnBRDc1N_wuoCiwyESJABpBuMXLNWmi7b9sWeAbCcbjHUolDD7rg4kV_fXiUFjrZBq6RoCkZDw_wcB
1 × Relay I used a 5v relay module from Banggood. A 3.3v relay would be better, to make the power supply easier. http://www.banggood.com/Wholesale-5V-2-Channel-Relay-Module-Shield-for-Arduino-ARM-PIC-AVR-DSP-Electronic-10A-p-48610.html
1 × Power Supply http://us.banggood.com/Wholesale-Warehouse-MB102-Breadboard-Power-Supply-Module-Adapter-Shield-3_3V-or-5V-For-Arduino-Board-wp-Usa-47473.html
1 × Door magnetic switch http://www.banggood.com/Door-Or-Window-Contact-Magnetic-Reed-Switch-Alarm-p-91677.html
1 × TTL Serial Converter http://www.banggood.com/FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-For-Arduino-p-917226.html