mkjustuk
(mkjustuk)
June 27, 2022, 4:13pm
1
I have found some discrete/eet power codes that don’t exist in my RC for a soundbar on the Remotecentral forum, in Pronto ‘Hex’ format.
I’d like to get them into the Broadlink format (Jgxxxxxx) so I can paste them into an entry in the file to use in HA.
The ‘tools’ I’ve tried using so far are;
http://tomeko.net/online_tools/hex_to_base64.php?lang=en
followed by;
JDoodle is a free Online Compiler, Editor, IDE for Java, C, C++, PHP, Perl, Python, Ruby and many more. you can run your programs on the fly online and you can save and share them with others. Quick and Easy way to compile and run programs online.
But that combo’ doesn’t produce a Jg string and the one it does, doesn’t fire anything out of the Broadlink.
Can anyone tell me how to get from the Pronto code:
0000 006D 0022 0006 014D 00A6 0014 0014 0014 0014 0014 0014 0014 003E 0014 003E 0014 003E 0014 003E 0014 0014 0014 003E 0014 003E 0014 003E 0014 0014 0014 0014 0014 0014 0014 0014 0014 003E 0014 0014 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 0014 0014 003E 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 003E 0014 05B6 014D 0053 0014 0E52 014D 0053 0014 0E52 014D 0053 0014 0E52
To Broadlink Jgxxxxxx format?
cuppa-joe
(Joseph Metcalf)
June 27, 2022, 11:25pm
2
I’ve used Python and irgen to do this.
irgen -i pronto -d 0000 006D 0022 0006 014D 00A6 0014 0014 0014 0014 0014 0014 0014 003E 0014 003E 0014 003E 0014 003E 0014 0014 0014 003E 0014 003E 0014 003E 0014 0014 0014 0014 0014 0014 0014 0014 0014 003E 0014 0014 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 0014 0014 003E 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 003E 0014 05B6 014D 0053 0014 0E52 014D 0053 0014 0E52 014D 0053 0014 0E52 -o broadlink_base64
JgBgAAABII8RERERERERNhE2ETYRNhERETYRNhE2ERERERERERERNhERETYRNhE2ETYRNhE2ERERNhERERERERERERERERE2EQAE7gABIEgRAAxdAAEgSBEADF0AASBIEQAMXQAAAAAAAAAA
1 Like
mkjustuk
(mkjustuk)
June 28, 2022, 6:32am
3
Brilliant, works first time and I now have a simple python package to run - thanks!!
mkjustuk
(mkjustuk)
June 28, 2022, 5:13pm
4
While I’m here, does anyone have any good resources to uncover discrete codes.
I have a Steetek HDMI Matrix that’s the only thing left in my setup without. I’m sure it uses a simple protocol as the remote looks like an afterthought, so hopefully has discrete on/off hidden in there.
Try www.remotecentral.com
My issue is that the SWITCH yaml configuration for the broadlink platform has been deprecated, and it is stated in the docs that we should not edit the broadlink_remote_ec0bae9905c5_codes file in .storage directory. What is the proper way to enter discrete codes into the configuration?
mkjustuk
(mkjustuk)
July 16, 2022, 2:48pm
6
I’ve edited the file directly a few times. Just keep an eye on layout and copying the format that is there.
1 Like