Hi,
I have been having trouble with this and other implementations with learning the RF codes so I suspect it is the Broadlink device. But I now have it working.
Now I'm not sure if the timing of pressing the button, the speed of pressing it or just the amount of tries as I have had to try learning a single code up to 30 times, while at one point I learnt a few in a couple of minutes. It just worked first go.
The way I've been doing this is learning the codes through the devices method by holding the button down when it says to under RF_Status : SWEEP: LED = ON : Press AND Hold button on RF Remote.. When it finds the frequency the message then changes to something like LED = OFF but stays there only for less than a second. Now while it still says LED=OFF and before it changes to RF_Status :FIND : LED = ON : Press and Release RF Remote button repeatedly.. Press the button repeatedly as quick as you can. Like a jackhammer.
When it doesn't work I get a learnt code of
26001D00160D160D170C0B180B18170D160D160D0B180B18170D05000726000D050000000000000000000000
always starts with 26.
When it works the same button has a code
B200F401150D170C0B190B18160D160D160D0C180B18160D160D0B18170C0B180B19160D0B180B19160C170D160D0A190B190A19160D160D0B180B180B180B19160D0B180B18170C170D160D160D0B180B0001189832160C170D160D0B180B18160D160D170D0B180B18160D170C0B18170C0B180B19170C0B180B19160D160D160D0B180B190A19160D160D0B180B180B180B19160D0B180B18170D160D160D160D0B180B00011E9931170C170D160C0B190A19160D160D170D0B180B18160D170C0B19160D0A190A19170C0B190A18170D160D160D0B180B190A19170C160D0B180B180B180B19160D0B180B18170D160D160D160D0B180B0001229931160D160D160D0B180B18170C170C170D0B180B18170C170C0B19160D0B180B19160D0B180B18160D160D170C0B180B190B18170D160C0B190A190B180B18160E0A190B18160D160D0B180B19150D170001129931160D170C170C0B180B19160D160D160D0B190A19160D160D0B18160D0B180B19160D0B180B18160E160D160D0A190B180B18170D160D0A190A190B180B18160E0B180B18160D170C0B180B18170C170001079931170C170D160D0A190A19160D160D160E0A190B18160D160D0B18170C0B180B19160D0B180B19160D160D160D0B180B190A19160D160D0B180B180B180B19160D0B180B19160D160D0A190B18160D160005DC00000000
Always longer and always starting with B2.
I hope this helps you.