Hi,

just wanted to share something I pulled off when setting up some RF code switches using a Broadlink RM Pro.

The instructions in the Broadlink integration page have a process for the old e-control app, but I was able to get the code from the new IHC app on an iPhone. Even in DrZzs videos he states we couldn’t do it without an Android phone, so that might help other people or even get updated in the docs.

I found that you can get the codes from the IHC internal database and then convert them using a HEX to base64 converter online. These are the steps, assuming you already setup RF codes using the IHC app:

Backup iPhone using iTunes; Open the backup folder using iBackupViewer (On macOS, make sure you have the latest version, I had a issue with permissions where iBackupViewer would not open the backup folder); In the let navigation pane, locate the app name “cn.com.broadlink.econtrol.plus”; Search for “db” and locale/export the file “Documents/econtrol.db”; Open that with any sql lite IDE. I use DB Browser for SQLite; Look at the data at the buttonCodeTable table, it should have one line for each code you setup. The code column have the hex strings we need to convert; Convert the hex to base64 (I used this site: http://tomeko.net/online_tools/hex_to_base64.php?lang=en) Setup the switch in home assistant;

Hope this helps other people.