Reverse engineering IR codes with Broadcom

Hi all, I have recorded a whole bunch of IR codes for my Fujitsu Nocria heat pump through the Broadcom RM Mini. What I now would like to do, is to get the raw IR codes that have been captured. I have been hacking around the Broadcom python library trying to figure this out but am getting stuck.

The codes look like this:
Power off:
JgB2AGo1DQ8NDg4pDA8OKA4ODg0PDQ0pDSkODg0ODQ8OKA4oDQ8ODQ4ODg0NDw4NDg4ODg0ODg4MDw4ODQ4NKQ0PDQ4ODg4NDQ8ODgwPDSkODg4NDg4ODQ4pDA8NDw0ODQ8NDg4ODSkODgwqDigNKQ0pDikNKQ0ADQUAAA==
Heating mode, 23 degrees, fan auto:
JgAGAWk2Dg4ODQ4oDQ8NKQ4ODg0ODg4oDSkODg0ODg4NKQ4oDQ8ODQ4ODg0ODg0ODQ8ODQ4ODQ4ODg4NDg4OKA4ODg0ODg4NDg4NDg0PDSkODg4NDg4ODQ4oDSoOKA8nDSkOKA4pDigODQ0PDigODg0ODg4ODQ8NDQ4ODg4NDikNKQ4NDg4OKA4ODQ4ODg4oDQ4OKQwPDg4NDg0pDg4ODQ4ODwwNDw4ODQ4ODg0ODigODg0ODg4ODQ4ODg4NDg4NDg4ODg4NDg4ODQ4ODg0ODg4NDg4ODQ4ODg0ODg4PCw8ODg0ODg4ODQ4ODg0NDw4NDikNDg4ODSkOKA4ODSkODQ4ODigODg0ADQUAAA==

From what I can gather from the Broadcom code, the codes above are encrypted with AES but this is where I start to get lost in the code… I’m hoping that if I can figure out how to decrypt these strings, then I’ll be able to see what the raw IR codes are. And once I can see the raw IR codes, I’m hoping I can reverse engineer how they work, with the ultimate aim of being able to dynamically generate the correct IR code instead of having to capture each IR code through the learning function.

Can anyone offer any help?

just throwing this out there. Wouldn’t it be easier to just capture the IR code and replay it as necessary?

I’m interested in same thing but with Xiaomi IR remote, got codes that look similar:

AC cool 23:
Z6XHABgCAACZBgAABhEAADoRAABkEQAAehQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkEAAQEAAAEAAAEAAAEBAAEAAQABAQEBAQEAAQAAAAAAAAEAAQAAAAABAAEAAQEBAQUDMQABAQAAAQAAAQAAAQEAAQABAAEBAQEBAQABAAAAAAAAAQABAAAAAAEAAQABAQEBAA

AC off: Z6XHACMCAAB3BgAAHhEAAE8RAAB4FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjEAAQEAAAEAAAEAAAEBAAEAAQEBAQABAQEAAAAAAQAAAQEBAAAAAAAAAAABAQEBAQQCMQABAQAAAQAAAQAAAQEAAQABAQEBAAEBAQAAAAABAAABAQEAAAAAAAAAAAEBAQEBAA

TV on/off:
Z6VPALcBAABZAwAAnwMAAB4FAABlBQAAPwoAAABFAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlIAAAQwAAAAAAAAAAAAAAASAAYCUgAAAzAAAAAAAAAAAAAAABIAA

Recording every code for AC in so much work there are hundreds of combinations, would be great to find a way to make it with script

Have you looked at Broadcom device database? There’s a search button in the interface of the phone app where you can find for codes from other users, and there’re supposedly thousands of codes there. Perhaps it’s easier than recording your own.

Check out the broadlink climate control thread and github page. In there somewhere you will find instructions on how to get the ir codes out of the app.

Thanks for the responses, but the reason I’m trying to avoid using the IR codes is that I would like to implement something like this:
image

Those controls don’t do anything yet, but I’d like to be able to set the options here and create the IR code dynamically. Otherwise I need to come up with over 500 different IR code combinations!

I think I have a work around that I’m trying but it relies on another device to control the heat pump and because this device doesn’t have a published API, I’m having to hack around trying to use it.