Aiwa CX-LEM20EZ - need "Broadlink Base64" code

If you're not a JP1 user, but would like help from the JP1 experts, post your question here.

Moderator: Moderators

mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Ok, see the link I posted then. Those are the AIWA codes you seek in pronto hex format. Do you need them in base64?
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

So you don't actually need pronto hex format like you asked for, but base64 format, correct?

I tried and failed to generate the codes for you. Hopefully Barf can still help.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

mdavej wrote:You said Aiwa in your OP, but you posted Samsung TV codes. Barf converted those to hex. If you have actual AIWA codes, post them. We already have an actual AIWA upgrade for your device which uses AIWA protocol, Device 110, which is very different from the samsung tv codes you posted and easy to convert to pronto hex as well, which Rob has done here:
http://www.hifi-remote.com/forums/dload ... e_id=27016

Why did you post Samsung TV codes?
He never said "Pronto hex", he just said "hex", which of course is just as meaningless as saying "number". Naturally, we always assume it's Pronto hex but in this case it's not. I asked him to post a sample of what the hex code looks like, which is why he posted the Samsung TV stuff.

So, I think the real ask here is for someone to convert the Pronto codes that I posted into Base64. Barf, will one of your programs do that?

And btw, I just spent ages cleaning up all of the posts, moving all of the files posted as posts over to actual files in the Diagnosis Area. Please post files in the file section going forward.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Thanks Rob. I think we're all on the same page now. I attempted to convert the AIWA upgrade to Base64 myself in IRScrutinizer, but got an error. So I'm doing something wrong. I'm sure Barf can do it.
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

mdavej wrote:So you don't actually need pronto hex format like you asked for, but base64 format, correct?

I tried and failed to generate the codes for you. Hopefully Barf can still help.

it must be in this form

Code: Select all

      "1": "JgBgAAABIJATERISEjYSERMRExISERISEzUSNRMREzUSNhM1EjUSNhM1EhITEBMSEjUTERMREhITERI1EzUTNRMREjUTNRM1EgAFBAABIUcTAAwEAAEiRxMADAQAASJGEwANBQ==",
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

The way to create a Broadlink-Base64 export from a RMDU device upgrade is this:

1. in the device editor (RMDU or open a device editor in RMIR), select File -> Export as Girr or IrScope file, and save as a Girr file. If you get the error "This executor is not supported, as ...", try to select another executor (if possible),
2. Open that file in IrScrutinizer: Select Import -> Girr -> ... (select file name from #1). Press Load File/URL. You should now have the commands in the imprort tree. Press "Import all/parametric". Press anything button on the popup.
3. Select the Export pane. The one of:
3a Select either Text or Girr as Export format. Select Broadlink Base64 as subformat (+ others, if you want). Press Export param. remote. (Select or unselect Autogenerate file names / Auto open exports according to taste.)
3b.Select Homeassistant Broadlink remote (not ... switch). Press Export param. remote.

To #2: You can also configure your system to open *.girr files in IrScrutinizer by double click: Just select irscrutinizer as the program to open girr files.

For the Aiwa device upgrade, there appears to be a quirk in RM in that the Girr export fails. It appears that Aiwa executor is 00 5E, and there is no protocol that corresponds to that; however, the protocol Aiwa corresponds to 00 5E:2 via uei-executor in IrpProtocols.xml. Both of these executors 00 5E and 00 5E:2 have the name "Aiwa", which is an error AFAIK.


mdavej wrote:I tried and failed to generate the codes for you.
Exactly what did you do?
Last edited by Barf on Sun Nov 24, 2024 4:31 am, edited 1 time in total.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Barf wrote:For the Aiwa device upgrade, there appears to be a quirk in RM in that the Girr export fails. It appears that Aiwa executor is 00 5E, and there is no protocol that corresponds to that; however, the protocol Aiwa corresponds to 00 5E:2 via uei-executor in IrpProtocols.xml. Both of these executors 00 5E and 00 5E:2 have the name "Aiwa", which is an error AFAIK.
This is not a quirk of RM, it's a feature. UEI often changes their executors in such a way that RM needs to handle them differently, but they still ultimately send the same signal. Aiwa is a bit of a special case where there is an Aiwa2 version of Aiwa in RM, this is because Aiwa2 sends a slightly different version of the Aiwa signal. Aiwa2 sends entire frames for repeat rather than special repeat frames. The v2 executor can handle both formats, whereas the v1 executor can only handle one. As most people don't care, they can select Aiwa and in most cases the $00 0E executor is built into their remote, so they'll get whichever version they have, but there is a separate Aiwa2 version in RM, so if you specifically want full repeat frames, you select Aiwa2 and if your remote has v1, you'll be given a protocol upgrade as part of your upgrade.

Anyway, I tried to follow along with your steps to create the file and I got stuck on the Export step, as I can't see any way to select a "subformat"
3. Select the Export pane. The one of:
3a Select either Text or Girr as Export format. Select Broadlink Base64 as subformat (+ others, if you want). Press Export param. remote. (Select or unselect Autogenerate file names / Auto open exports according to taste.)
3b.Select Homeassistant Broadlink remote (not ... switch). Press Export param. remote.
Image
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
HamburgerHelper1
Posts: 702
Joined: Sat Feb 22, 2014 2:58 pm

Aiwa CX-LEM20EZ CD stereo system

Post by HamburgerHelper1 »

Rob
Try Downloading a newer version of IrScrutinizer
I am using IrScrutinizer v2.4.1 in appimage format on Linux and I can do the
"subformat" with it
Randy
mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Barf wrote:
mdavej wrote:I tried and failed to generate the codes for you.
Exactly what did you do?
Thanks for posting those steps. I had no clue how to do it, so this is what I did:

- Open upgrade in RM, go to functions tab, and select Name and OBC columns, and copy.

- Go to Export - Text/CSV - Parameterized in Scrutinizer, set Name and F to column 1 and 2, clear the others, Load from Clipboard, Import All/Param.

- On Scrutinize tab, set all Protocol to AWIA and D to 110 (from the upgrade), then Export.

I got an error on the last step, presumably caused by the issue you posted.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

I thought I had the latest version as I got it from here:
http://www.hifi-remote.com/forums/dload ... e_id=12141

So instead, I Googled the web and found a different version here:
https://github.com/bengtmartensson/IrScrutinizer

However, that zip file doesn't contain an executable as far as I can tell.

I was able to find 2.4.1 here:
https://github.com/bengtmartensson/IrSc ... sion-2.4.1

It outputs the data in .girr format, I had to do some data manipulation in Excel to get it back into the format that foufouner posted.

foufouner, try this...
http://www.hifi-remote.com/forums/dload ... e_id=27020
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Sorry, but it's too complicated for me, I have a hard time understanding how this software works. It's a pity, but I think I'll try to find the original remote control because it's too complicated for me.
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

@Rob: Thank you for telling me in such a nice way that the download link is outdated. I have updated it. The releases of IrScrutinizer is announced in this thread.
The Robman wrote: It outputs the data in .girr format, I had to do some data manipulation in Excel
Possibly you should use the "Text" format instead (as mentioned in my previous post).
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

foufouner wrote:Sorry, but it's too complicated for me, I have a hard time understanding how this software works. It's a pity, but I think I'll try to find the original remote control because it's too complicated for me.
That's why I did all the work for you. I created a file, by hand, in exactly the format that you asked for. There's nothing left for you to do but use it.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Barf wrote:Possibly you should use the "Text" format instead (as mentioned in my previous post).
I just re-did it using text output to see what it looked like. The only difference is that the pronto and base64 text is just raw, rather than in the XML-like format that grrr uses, whereas foufouner needed it in the format below, and I don't think there's any way to get IrScrutinizer to do that, is there?

Code: Select all

{
  "version": 1,
  "minor_version": 1,
  "key": "broadlink_remote_e8165606eee7_codes",
  "data": {
    "Aiwa_Stereo": {
      "power": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyEREREREREREREREREREREREyETIRMhEyETIRMhEyETIRAA0F",
      "1": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRERERERERERERERERERERETIRMhEyETIRMhEyETIRAA0F",
      "2": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhEREREREREREREREREyERERMhEyETIRMhEyETIRAA0F",
      "3": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRMhERERERERERERERERERERERMhEyETIRMhEyETIRAA0F",
      "4": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyEREREREyEREREREREREREREyETIREREyETIRMhEyETIRAA0F",
      "5": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIREREyERERERERERERERERETIREREyETIRMhEyETIRAA0F",
      "6": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhEyEREREREREREREREyEREREREyETIRMhEyETIRAA0F",
      "7": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRMhEyEREREREREREREREREREREREyETIRMhEyETIRAA0F",
      "8": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERERERETIREREREREREREyETIRMhERETIRMhEyETIRAA0F",
      "9": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRERERETIRERERERERERERETIRMhERETIRMhEyETIRAA0F",
      "0": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhERETIREREREREREREyERERMhERETIRMhEyETIRAA0F",
      "+10": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRMhERETIRERERERERERERERERMhERETIRMhEyETIRAA0F",
      "vol up": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIREREyETIRERERETIRERERETIRERERETIRMhERETIRAA0F",
      "vol down": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhEyETIRERERETIREREyERERERERETIRMhERETIRAA0F",
      "stop": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRERERERERERERETIRERERETIRMhEyETIRMhERETIRAA0F",
      "play": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERERERERERERERETIREREyETIRMhEyETIRMhERETIRAA0F",
      "rewind": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRMhERERERERERETIRERERERERMhEyETIRMhERETIRAA0F",
      "fast fwd": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhERERERERERETIREREyERERMhEyETIRMhERETIRAA0F",
      "pause": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyEREREREyERERERERETIREREyETIREREyETIRMhERETIRAA0F",
      "Input (function)": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhEyETIRMhEREREREREyERERERERERERMhEyETIRAA0F",
      "Direct Play 1": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRERERERERMhERETIRERERETIRMhEyERERMhERETIRAA0F",
      "Direct Play 2": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyERERMhERERERMhERETIREREyERERMhEyERERMhERETIRAA0F",
      "Direct Play 3": "JgBgAAABDIYREREyETIRMhERETIRMhEREREREREREREREREyERERERERETIRERERETIRMhEyETIRMhEyETIRMhERERERMhERETIRERERERERMhEyERERMhERETIRAA0F"
    }
  }
}
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Post Reply