Coding problem combined PIR and infrared using node mcu

can anyone share with me the coding for node mcu

Hey,

This as a good reference to a nodeMCU IR library: https://github.com/1technophile/OpenMQTTGateway/tree/master/lib/IRremoteESP8266

Good Luck,
Ohad