The ESP8266 module can be used to send IR remote control signals.
In this example we will connect an IR LED. Connect the LED to some chosen GPIO pin on the ESP module. Load the firmware and follow the firmware specific instructions.
The IR Led has two pins. One should be a bit longer than the other. The longest pin is the + connection that should be connected with a series resistor to the selected GPIO pin. The other lead should be connected to ground.
The ESP8266 GPIO pin can only deliver 12 mA max so the IR range will be limited.
If you need an increased IR transmit range, consider a driver circuit like this:
Arduino ESP Easy
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Infrared Transmit" from the dropdown box
Select the GPIO pin that you have used to connect the IR LED. That should be all.