The ESP8266 module can be used to receive IR remote control signals.
In this example we will connect a TSOP4838 IR module. Connect the digital output (pin 1) to some chosen GPIO pin on the ESP module. Load the firmware and follow the firmware specific instructions. A datasheet for that receiver can be found here: http://www.vishay.com/docs/82459/tsop48.pdf.
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 "IR Input" from the dropdown box
Enter the IDX found in the Domoticz device page. Also select the GPIO pin that you have used to connect the IR module. That should be all.