Remove IR-diode

Hi,

Sorry if my question is bumb but i am learning.

I have a device with an IR reciever diode on it’s PCB. Is it possible to remove the diode and connect an ESP instead, so that the ESP sends emulated IR commands?

Thanks
//Bob

Yes, but how, depends on the receiver and operating voltage of that “device”.

Yes, but it might just be much easier to sneak in and emitter diode next to the receiver, and you’ll get support for the IR platforms of ESPHome that way.

If I understand how IR function correctly, then it is just sort of a bridge and the IR diodes should be possible to remove from the equation.
Of course voltage should be adapted and a common ground should be secured.

The tricky part is almost always the IR codes.

If you mean “Can the ESP send IR commands”, then no.
If you mean “Can I use an ESP together with an IR diode” then yes.