- I accidentally found a very convenient method to get these codes.
- Create SCENE in BroadLink iOS App, and you can get the database of SCENEs via iTunes.
It contains all the codes what you added to SCENEs. - I’ve write a python to extract the commands and convert them to base64.
All details here. Erimus-Koo/Extract_BroadLink_learned_codes_from_iOS_App - Maybe it works on android. I’m not sure.
- Hope this helps, and good luck!
I’d love to hear if anyone get get something working for Android
I’ve tried install version 1.2.3 on an Android emulator, and app works good.
I’ve checked the whole folder ‘/storage/emulated/0/broadlink’, and tried search all the file size > 50k, it looks nothing useful.
But I’m not very familiar with Android system, maybe it is hidden in other directories.
Maybe all code hide in online server.
Apps send command to broadlink server, and server validated your request, then send command (translate it into final form) to your remote device.
If it works like this, you may need to capture packets on the router, or you can capture the code while learning in app, but both of it might be a little complicated.
If the official method for android (below link) still works, that looks much easier.
Broadlink - Home Assistant