Page 2 of 3

Posted: Fri Nov 22, 2024 12:42 pm
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?

Posted: Fri Nov 22, 2024 12:48 pm
by foufouner

Posted: Fri Nov 22, 2024 12:59 pm
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.

Posted: Fri Nov 22, 2024 2:23 pm
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:
https://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.

Posted: Fri Nov 22, 2024 3:12 pm
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.

Posted: Sat Nov 23, 2024 1:06 am
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==",

Posted: Sat Nov 23, 2024 5:55 am
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?

Posted: Sat Nov 23, 2024 10:27 am
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

Aiwa CX-LEM20EZ CD stereo system

Posted: Sat Nov 23, 2024 11:47 am
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

Posted: Sat Nov 23, 2024 1:26 pm
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.

Posted: Sat Nov 23, 2024 1:41 pm
by The Robman
I thought I had the latest version as I got it from here:
https://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...
https://www.hifi-remote.com/forums/dload ... e_id=27020

Posted: Sun Nov 24, 2024 2:03 am
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.

Posted: Sun Nov 24, 2024 5:11 am
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).

Posted: Sun Nov 24, 2024 7:25 am
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.

Posted: Sun Nov 24, 2024 7:41 am
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"
    }
  }
}