Broadlink - Tasmota replacement

Tags: #<Tag:0x00007f32815b3190> #<Tag:0x00007f32815b2f88>

Hi all!

I’ve been using a custom ESP32 with Tasmota IR to control a STB device provided by Vodafone, I have now purchased a Broadlink RM4 Mini to replace all remotes in the room (AC, Stereo, TV & Vodafone TV) All devices except the Vodafone TV are working almost out of the box. Is there a way to translate the tasmota codes to broadlink so as to transfer to the broadlink?
I have tried to capture the codes again using the Broadlink learn but because the VTV STB transmits in a weird way each button press returns another code which makes it impossible to correctly capture. I had the same issue with Tasmota but using a Vishay IR receiver I managed to get the presses with MUCH effort.
Please if possible point me to a way to convert the codes to Broadlink language!

Below are the Tasmota codes, in case another has that STB:

Power {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000260C","DataLSB":"0x0C006430","Repeat":0,"RawData":[460,266,178,264,178,766,174,264,202,238,182,264,178,266,178,268,174,262,178,268,178,596,178,430,178,600,178,268,178,258,178,766,178,262,178],"RawDataInfo":[35,35,0]}}
1 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002601","DataLSB":"0x0C006480","Repeat":0,"RawData":[484,242,184,234,232,710,232,238,204,234,208,238,202,240,206,240,202,234,208,238,204,548,232,376,208,568,232,238,182,236,232,234,206,382,204],"RawDataInfo":[35,35,0]}}
2 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002602","DataLSB":"0x0C006440","Repeat":0,"RawData":[484,244,202,240,184,732,232,240,178,236,208,234,232,238,180,240,208,218,220,236,208,568,208,402,232,544,208,262,208,238,204,236,204,544,208],"RawDataInfo":[35,35,0]}}
3 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002603","DataLSB":"0x0C0064C0","Repeat":0,"RawData":[460,240,208,238,204,736,204,268,180,234,204,240,204,268,178,240,204,236,204,268,180,568,208,402,208,568,208,238,204,240,204,264,178,736,208],"RawDataInfo":[35,35,0]}}
4 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002604","DataLSB":"0x0C006420","Repeat":0,"RawData":[456,272,174,264,180,768,174,264,178,264,180,268,174,268,178,264,180,264,178,264,178,602,174,430,178,598,178,268,180,260,178,434,178,260,178],"RawDataInfo":[35,35,0]}}
5 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002605","DataLSB":"0x0C0064A0","Repeat":0,"RawData":[460,268,180,238,204,736,208,240,202,236,202,240,208,240,204,238,204,236,208,264,178,568,208,402,208,568,208,268,176,238,208,398,208,402,208],"RawDataInfo":[35,35,0]}}
6 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002606","DataLSB":"0x0C006460","Repeat":0,"RawData":[484,242,204,236,204,716,232,236,204,240,204,238,184,234,232,238,182,258,182,236,232,574,204,378,208,568,236,236,204,234,180,410,228,544,228],"RawDataInfo":[35,35,0]}}
7 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002607","DataLSB":"0x0C0064E0","Repeat":0,"RawData":[484,242,204,240,204,712,232,240,204,234,180,238,232,240,204,238,180,260,184,234,232,544,232,378,208,568,208,236,232,240,204,376,232,708,208],"RawDataInfo":[35,35,0]}}
8 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002608","DataLSB":"0x0C006410","Repeat":0,"RawData":[484,236,182,236,232,708,208,238,232,234,204,240,178,240,232,240,202,236,204,238,208,544,208,402,232,544,232,238,204,238,208,540,232,240,204],"RawDataInfo":[35,35,0]}}
9 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002609","DataLSB":"0x0C006490","Repeat":0,"RawData":[484,244,204,240,202,710,232,240,178,236,232,238,204,240,182,236,232,234,204,240,182,568,232,378,208,568,208,236,232,240,208,540,232,382,208],"RawDataInfo":[35,35,0]}}
0 {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002600","DataLSB":"0x0C006400","Repeat":0,"RawData":[484,240,182,236,232,706,236,242,200,234,184,234,210,234,232,240,208,234,204,238,204,544,212,398,208,568,212,234,232,238,180,234,208,234,232],"RawDataInfo":[35,35,0]}}
|<- {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000264D","DataLSB":"0x0C0064B2","Repeat":0,"RawData":[484,244,204,238,204,712,232,238,204,236,178,240,232,240,204,240,182,256,184,234,232,572,204,378,232,544,232,378,208,236,232,712,204,402,232],"RawDataInfo":[35,35,0]}}
->| {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000264C","DataLSB":"0x0C006432","Repeat":0,"RawData":[460,268,178,264,180,764,178,264,180,262,180,264,178,268,178,264,180,258,180,268,178,596,180,430,178,596,180,430,180,264,178,764,178,264,178],"RawDataInfo":[35,35,0]}}
<< {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000262B","DataLSB":"0x0C0064D4","Repeat":0,"RawData":[466,264,182,218,220,762,180,258,210,238,204,238,184,262,206,238,204,234,184,262,206,570,206,404,204,570,206,238,184,596,204,568,204,738,186],"RawDataInfo":[35,35,0]}}
>|| {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002633","DataLSB":"0x0C0064CC","Repeat":0,"RawData":[460,268,178,268,204,738,176,264,202,240,204,238,184,264,202,240,178,264,178,264,204,576,174,430,178,602,178,264,204,740,178,264,178,764,180],"RawDataInfo":[35,35,0]}}
>> {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000262A","DataLSB":"0x0C006454","Repeat":0,"RawData":[486,240,180,232,210,736,234,232,206,236,186,232,234,236,210,236,206,232,180,236,234,544,206,428,206,570,186,232,234,546,206,566,234,568,206],"RawDataInfo":[35,35,0]}}
Back {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002683","DataLSB":"0x0C0064C1","Repeat":0,"RawData":[486,240,206,236,210,704,214,232,234,232,182,236,234,236,182,236,234,232,206,236,186,566,234,374,234,540,234,540,214,232,234,232,206,712,234],"RawDataInfo":[35,35,0]}}
Menu {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002654","DataLSB":"0x0C00642A","Repeat":0,"RawData":[460,266,180,258,184,766,180,260,202,240,178,268,202,240,178,268,204,234,204,238,182,598,202,406,202,572,204,406,204,406,178,434,178,260,204],"RawDataInfo":[35,35,0]}}
Exit {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002655","DataLSB":"0x0C0064AA","Repeat":0,"RawData":[460,266,204,238,178,764,204,234,182,266,200,238,182,264,204,238,182,260,204,238,178,600,180,430,178,596,204,406,202,406,180,430,204,410,202],"RawDataInfo":[35,35,0]}}
Mic {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x300026D2","DataLSB":"0x0C00644B","Repeat":0,"RawData":[464,262,184,262,204,738,204,238,182,256,208,238,202,240,206,240,178,258,208,238,204,576,178,426,184,596,204,738,204,406,178,264,202,572,182],"RawDataInfo":[35,35,0]}}
UP {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002658","DataLSB":"0x0C00641A","Repeat":0,"RawData":[484,244,204,238,204,714,228,238,208,234,204,240,202,240,206,240,178,234,232,238,204,548,208,402,204,572,232,376,208,402,204,572,206,236,232],"RawDataInfo":[35,35,0]}}
RIGHT {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000265B","DataLSB":"0x0C0064DA","Repeat":0,"RawData":[484,242,184,234,232,710,232,238,204,238,180,234,232,238,208,240,202,236,182,264,202,544,232,376,232,544,212,398,208,402,232,544,236,706,232],"RawDataInfo":[35,35,0]}}
LEFT {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000265A","DataLSB":"0x0C00645A","Repeat":0,"RawData":[484,242,204,240,204,710,208,234,208,234,208,234,232,238,182,236,232,234,204,240,206,548,228,378,232,544,232,380,228,378,232,548,228,548,204],"RawDataInfo":[35,35,0]}}
DOWN {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002659","DataLSB":"0x0C00649A","Repeat":0,"RawData":[484,240,202,240,204,706,212,234,232,236,182,236,232,238,180,238,232,234,204,238,184,564,236,374,212,564,236,374,210,398,232,544,212,398,208],"RawDataInfo":[35,35,0]}}
OK {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000265C","DataLSB":"0x0C00643A","Repeat":0,"RawData":[486,240,204,238,208,706,232,238,208,236,202,240,204,238,208,240,204,234,178,240,208,572,228,378,208,572,228,378,232,378,208,734,232,234,184],"RawDataInfo":[35,35,0]}}
V+ {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002610","DataLSB":"0x0C006408","Repeat":0,"RawData":[484,240,182,236,232,712,208,234,232,234,204,240,182,236,232,240,202,236,182,236,232,548,228,378,232,572,204,240,202,406,204,238,180,264,208],"RawDataInfo":[35,35,0]}}
V- {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002611","DataLSB":"0x0C006488","Repeat":0,"RawData":[484,240,206,240,178,736,232,240,178,260,182,236,232,238,184,234,232,236,204,238,208,544,232,376,232,544,232,238,184,402,228,240,206,378,208],"RawDataInfo":[35,35,0]}}
REC {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002637","DataLSB":"0x0C0064EC","Repeat":0,"RawData":[484,242,204,238,182,732,208,238,208,218,220,240,206,234,232,238,182,220,220,234,232,544,212,398,232,544,212,238,230,706,236,372,212,732,208],"RawDataInfo":[35,35,0]}}
MUTE {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000260D","DataLSB":"0x0C0064B0","Repeat":0,"RawData":[456,242,204,238,208,734,204,238,208,234,204,238,208,238,204,238,204,234,208,238,204,572,208,400,204,572,208,238,204,238,208,734,204,404,204],"RawDataInfo":[35,35,0]}}
CH+ {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002620","DataLSB":"0x0C006404","Repeat":0,"RawData":[484,242,180,238,232,706,208,240,232,234,180,238,232,238,178,264,184,218,220,234,208,568,212,398,208,568,212,236,232,544,208,236,232,238,204],"RawDataInfo":[35,35,0]}}
CH- {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002621","DataLSB":"0x0C006484","Repeat":0,"RawData":[484,240,182,234,232,712,230,240,204,234,184,236,206,264,178,268,204,234,204,238,184,568,232,378,232,544,232,238,204,548,232,236,204,380,232],"RawDataInfo":[35,35,0]}}
RED {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000266D","DataLSB":"0x0C0064B6","Repeat":0,"RawData":[460,268,204,240,182,760,178,268,180,258,180,264,204,238,184,264,204,234,180,268,178,598,178,430,178,598,178,430,174,602,178,760,178,430,178],"RawDataInfo":[35,35,0]}}
GREEN {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000266E","DataLSB":"0x0C006476","Repeat":0,"RawData":[460,268,178,264,178,764,180,266,176,264,174,268,178,268,174,268,180,258,180,268,178,598,178,430,178,596,180,430,180,596,180,762,176,600,178],"RawDataInfo":[35,35,0]}}
YELLOW {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x3000266F","DataLSB":"0x0C0064F6","Repeat":0,"RawData":[484,242,204,234,184,734,232,240,178,234,232,238,182,236,232,240,178,234,232,238,204,548,204,402,232,548,204,402,232,548,208,730,232,710,232],"RawDataInfo":[35,35,0]}}
BLUE {"IrReceived":{"Protocol":"RCMM","Bits":32,"Data":"0x30002670","DataLSB":"0x0C00640E","Repeat":0,"RawData":[484,240,202,240,182,736,228,240,182,222,216,234,232,238,208,238,204,234,184,234,232,548,228,382,228,548,228,382,228,710,232,238,204,238,184],"RawDataInfo":[35,35,0]}}

With the help of https://github.com/haimkastner/broadlink-ir-converter and haimkastner’s guidance for npm scripts, I managed to convert the codes, but then I hit another wall!
While with Tasmota and really cheap transmiter, the key presses were received immediately and without error, using the broadlink I need to send the key multiple times to work without consitency or pattern. I have tested with multiple combinations of repeats from the config to no avail. Something is sent or supported in Tasmota IR which does not work as expected in Broadlink.
Another point is that from the Broadlink app I found a remote configuration that works fine with the same device.
Hope someone with a greater experience might help!