The ESP12-2R-D8 module allows you to wireless control 2 relays. Communication with the device takes place via the Wi-Fi interface.
The Arduino IDE or Eclipse package tools can be used to program the module. The module programming is done through the UART TTL serial port.