Forward IR signals

Good Morning!

First of all I would like to apologize if I have miscategorized my topic, because although it deals with integrations of MQTT, Broadlink, ESP32, etc. I have not been able to put a single category.
I would also like to apologize for any mistakes with English, Google Translator is helping me the best it can.

First of all I explain what my idea was, how I have implemented it and the result I get, finally I will ask you some questions in case someone knows how to improve my idea.

Idea:
In the living room I have several devices that communicate with infrared remote controls (television, home cinema, air conditioning, etc.).
The televistor remote has unused “extra buttons”, and I don’t use the volume and mute buttons (I use the ones on the home cinema remote). So I thought I’d put together something that would allow me to use a single remote for everything.

Implementation:
First of all it occurred to me to make a circuit with an ESP32 capable of “reading” IR signals and also sending them, but the emiter part got quite jammed, so I decided to use a Broadlink RM mini3.
Just yesterday I managed to install an MQTT on ESP32 that “listens” for infrared signals, identifies them, and sends a string to Home Assistant as a status (and reads it).
I also set up the Broadlink to learn the signals to send from Home Assistant and it works too.
Once both parts worked, I scheduled automations that check what ESP32 has read and send the corresponding signal to the Broadlink.

Results:
And with all this, the truth is that it works.
The problem is that I cannot send continuous keystrokes. In other words, if I press the “volume up” button on the TV, the volume of the Home Cinema increases, but to raise it again I have to wait a few seconds. It also seems like it doesn’t always work, sometimes I have to press multiple times for it to hear me.
So while the result is correct, it is not functional.

Ideas ?:
The back-to-back button issues, I can’t figure out if they are due to MQTT not being able to react and send its state change as fast as expected, or because automations have some delay to repeat.
I also thought that all the work could be done by the ESP32, since there are fewer “systems in between” but I haven’t been able to send IR signals directly.

If you want, I can share codes with you or give you more details of how the communication works. I also accept ideas and if anyone is interested in any of the implementations made, I will gladly share it.

Health!!

Well, I see that few people have been interested in my topic. :frowning:
Anyway I have managed to make the “change” from the ESP32 itself, and I have achieved great functionalities and, above all, comfort.
I can share my code if someone can use it.
I would like to be able to contribute something to this magnificent community.
Cheers!