This video shows how to make your ESP8266 development board talk to each other when needed.
The presenter has made this project to solve one problem in his room.To know what exactly was the problem, watch out this video.
How to program ESP with Arduino Firmware: click here