1 (edited by Marc_G2 2019-08-30 00:53:51)

Topic: IRplus android app Remote programming (SOLVED).

I've been trying to use IRplus to control my ADI-2 DAC.  It supports custom IR codes. But I can't figure out the format I need for inputting the IR codes.  Below is an example of the XML format the app uses.  In this example, it uses two 16 bit strings for the IR codes.  So I'm not sure what to do here.  Does anyone have any ideas?  Help would be GREATLY appreciated.

https://irplus-remote.github.io/#layouting
I wanted to post more reference links, but apparently I'm only allowed one link.


<irplus>
<device manufacturer="LG" model="6710V00090N Older TV" columns="12" format="WINLIRC_NEC1">
<button label="&#61457;" labelSize="25.0" span="6" backgroundColor="FFC84334">0x20DF 0x10EF</button>
<button label="&#1045889;" labelSize="25.0" span="6">0x20DF 0x906F</button>
<button label="1" labelSize="25.0" span="4">0x20DF 0x8877</button>
<button label="2" labelSize="25.0" span="4">0x20DF 0x48B7</button>
<button label="3" labelSize="25.0" span="4">0x20DF 0xC837</button>
<button label="4" labelSize="25.0" span="4">0x20DF 0x28D7</button>
<button label="5" labelSize="25.0" span="4">0x20DF 0xA857</button>
<button label="6" labelSize="25.0" span="4">0x20DF 0x6897</button>
<button label="7" labelSize="25.0" span="4">0x20DF 0xE817</button>
<button label="8" labelSize="25.0" span="4">0x20DF 0x18E7</button>
<button label="9" labelSize="25.0" span="4">0x20DF 0x9867</button>
<button label="APC" labelSize="18.0" span="4">0x20DF 0xB24D</button>
<button label="0" labelSize="25.0" span="4">0x20DF 0x08F7</button>
<button label="TVVIDEO" labelSize="12.0" span="4">0x20DF 0xD02F</button>
<button label="MENU" labelSize="18.0" span="6">0x20DF 0xC23D</button>
<button label="CAPTION" labelSize="12.0" span="6">0x20DF 0x9C63</button>
<button label="CH+" labelSize="18.0" span="6">0x20DF 0x00FF</button>
<button label="VOL+" labelSize="18.0" span="6">0x20DF 0x40BF</button>
<button label="CH-" labelSize="18.0" span="6">0x20DF 0x807F</button>
<button label="VOL-" labelSize="18.0" span="6">0x20DF 0xC03F</button>
<button label="ENTER" labelSize="18.0" span="4">0x20DF 0x22DD</button>
<button label="FCR" labelSize="18.0" span="4">0x20DF 0x7887</button>
<button label="SLEEP" labelSize="18.0" span="4">0x20DF 0x708F</button>
<button label="EYEASTERISK" labelSize="12.0" span="4">0x20DF 0xA956</button>
<button label="AUTOPRG" labelSize="12.0" span="4">0x20DF 0x2AD5</button>
<button label="MEMORYERASE" labelSize="12.0" span="4">0x20DF 0xAA55</button>
<button label="REVIEW" labelSize="18.0" span="4">0x20DF 0x58A7</button>
<button label="MTS" labelSize="18.0" span="4">0x20DF 0x50AF</button>
<button label="PICTURE" labelSize="12.0" span="4">0x20DF 0x30CF</button>
</device>
</irplus>

2

Re: IRplus android app Remote programming (SOLVED).

> 0x20DF 0x8877

Some guessing: First part could be the model or manufacturer ID, second part the function. 0x means hexadecimal notation. These are the strings found in the adi2dac_ir_commands table.

0x1234 0x0021 would be Volume Down then, hopefully. Note that the remote uses NEC protocol, maybe that has to be set somewhere in IRplus.

Regards
Matthias Carstens
RME

Re: IRplus android app Remote programming (SOLVED).

I gave that a try and no luck.  I'm also in the process of trying some things out suggested by the developer.  I'll post again if I'm still stuck.

Re: IRplus android app Remote programming (SOLVED).

Well it seems the IRplus Dev got busy because he stopped responding.  So any more suggestions would be appreciated.

He suggested the correct code for power would be either
0x1234 0xDF20
OR
0x1234 0x20DF

Neither worked unfortunately.  Regarding the protocol being NEC, that's handled by the FORMAT parameter on the second line.  In this case "WINLIRC_NEC1" is apparently correct.


For reference, here's my post on GitHub
https://github.com/irplus-remote/irplus … issues/453

5

Re: IRplus android app Remote programming (SOLVED).

Did you correct his typo (he wrote two times DF20)?

Power On would be 0x1234 0x20DF, Power Off 0x1234 0x14EB. So far our table does not include the inverted part as we expected this to be done automatically when typing in the value in whatever software.

Regards
Matthias Carstens
RME

Re: IRplus android app Remote programming (SOLVED).

Thanks for you suggestions.  I did correct the typo.  I've also tried the volume down command.    I gave the other NEC format setting a try ("WINLIRC_NECx1") but still no luck.

XML reference:
https://irplus-remote.github.io/#layouting

<irplus>
<device manufacturer="RME ADI-2 Test" model="RME ADI-2" columns="12" format="WINLIRC_NEC1">
<button label="0" labelSize="25.0" span="3">0x1234 0xDF20</button>
<button label="1" labelSize="25.0" span="3">0x1234 0x20DF</button>
<button label="2" labelSize="25.0" span="3">0x1234 0xDE21</button>
<button label="3" labelSize="25.0" span="3">0x1234 0x21DE</button>

</device>
</irplus>

7

Re: IRplus android app Remote programming (SOLVED).

Then it is best to record the included remote and check with the software or author what is going on here.

Regards
Matthias Carstens
RME

Re: IRplus android app Remote programming (SOLVED).

That's a good idea.  Unfortunately, the results aren't human readable.  I posted this on GitHub.  Hopefully the dev can make sense of it.


<irplus>
<device manufacturer="" model="rme" columns="4" format="UEI_LG_LEARNED" repeatheader="false">
<button label="vol dn" labelSize="12.0">1:[3, 0, 0, 0, 82, 14, 96, -51, -16, 2, 79, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 42, -1, -1, 0, 0, 0, 44, 0, 0, 0, -90, 3, 28, -117, -96, -123, 48, -29, 125, 16, 8, 72, 103, -126, 72, 33, -123, 9, 36, -108, -9, -41, 21, 48, 0, 92, 32, -126, -119, 68, -110, 81, 72, -108, 73, 40, -110, -110, 69, 39, 40, 16, -56]</button>
<button label="vol up" labelSize="12.0">1:[3, 0, 0, 0, 81, 14, 96, -51, -16, 2, 79, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 41, -1, -1, 0, 0, 0, 43, 0, 0, 0, -91, 115, 28, 69, 49, 99, 94, 35, 17, 36, -122, 70, 120, 36, -126, 28, 80, -110, 73, 47, 125, 112, 51, 32, 1, -58, 10, 37, 18, 73, 69, 34, 74, 36, -94, 81, 73, 20, -100, -96, 16, -128]</button>
</device>
</irplus>

9 (edited by Marc_G2 2019-08-31 15:42:15)

Re: IRplus android app Remote programming (SOLVED).

So we finally figured out how to get IRplus working with ADI-2 DAC.  Below is an app configuration that has every command. 
However, the MONO and VOL commands don't seem to work.  All the other commands do work, so I have no idea what's going with just those two.

<irplus>
<device manufacturer="RME" model="ADI-2 DAC" columns="12" format="WINLIRC_SPACEENC" one-pulse="564" one-space="1692" zero-pulse="564" zero-space="564" header-pulse="9024" header-space="4512" gap-space="108000" gap-pulse="564" bits="32" pre-bits="32">
<button label="POW ON" labelSize="25.0" span="6">0x00000000482C04FB</button>
<button label="POW OFF" labelSize="25.0" span="6">0x00000000482C28D7</button>
<button label="+VOL" labelSize="20.0" span="4">0x00000000482C847B</button>
<button label="+B" labelSize="20.0" span="4">0x00000000482CF40B</button>
<button label="+T" labelSize="20.0" span="4">0x00000000482C8C73</button>
<button label="-VOL" labelSize="20.0" span="4">0x00000000482C44BB</button>
<button label="-B" labelSize="20.0" span="4">0x00000000482C0CF3</button>
<button label="-T" labelSize="20.0" span="4">0x00000000482C4CB3</button>
<button label="OPT" labelSize="20.0" span="4">0x00000000482C24DB</button>
<button label="USB" labelSize="20.0" span="4">0x00000000482CA45B</button>
<button label="COAX" labelSize="20.0" span="4">0x00000000482CC43B</button>
<button label="MUTE" labelSize="20.0" span="6">0x00000000482C54AB</button>
<button label="MUTE ALL" labelSize="20.0" span="6">0x00000000482C40BF</button>
<button label="B/T" labelSize="20.0" span="4">0x00000000482CD42B</button>
<button label="EQ" labelSize="20.0" span="4">0x00000000482C34CB</button>
<button label="LD" labelSize="20.0" span="4">0x00000000482CB44B</button>
<button label="EQ+B/T+LD OFF" labelSize="20.0" span="12">0x00000000482CC03F</button>
<button label="BAL L" labelSize="20.0" span="4">0x00000000482CCC33</button>
<button label="VOL" labelSize="20.0" span="4">0x00000000482C748B</button>
<button label="BAL R" labelSize="20.0" span="4">0x00000000482C2CD3</button>
<button label="MONO TO L" labelSize="14.0" span="4">0x00000000482C807F</button>
<button label="MONO" labelSize="20.0" span="4">0x00000000482C00FF</button>
<button label="POLARITY" labelSize="18.0" span="4">0x00000000482CA05F</button>
<button label="DIM" labelSize="15.0" span="4">0x00000000482CE01F</button>
<button label="AUTODARK" labelSize="15.0" span="4">0x00000000482C609F</button>
<button label="TOG VIEW" labelSize="15.0" span="4">0x00000000482C10EF</button>
<button label="PH/LINE SWITCH" labelSize="20.0" span="12">0x00000000482C20DF</button>
<button label="SETUP 1" labelSize="20.0" span="4">0x00000000482C649B</button>
<button label="SETUP 2" labelSize="20.0" span="4">0x00000000482CE41B</button>
<button label="SETUP 3" labelSize="20.0" span="4">0x00000000482C14EB</button>
<button label="SETUP 4" labelSize="20.0" span="4">0x00000000482C946B</button>
<button label="SETUP 5" labelSize="20.0" span="4">0x00000000482C5CA3</button>
<button label="SETUP 6" labelSize="20.0" span="4">0x00000000482CDC23</button>
<button label="SETUP 7" labelSize="20.0" span="4">0x00000000482C3CC3</button>
<button label="SETUP 8" labelSize="20.0" span="4">0x00000000482CBC43</button>
<button label="SETUP 9" labelSize="20.0" span="4">0x00000000482C7C83</button>
<button label="CROSSFEED 1" labelSize="14.0" span="4">0x00000000482C906F</button>
<button label="CROSSFEED 2" labelSize="14.0" span="4">0x00000000482C50AF</button>
<button label="CROSSFEED 3" labelSize="14.0" span="4">0x00000000482CD02F</button>
<button label="CROSSFEED 4" labelSize="14.0" span="4">0x00000000482C30CF</button>
<button label="CROSSFEED 5" labelSize="14.0" span="4">0x00000000482CB04F</button>
<button label="DAC SD SHARP" labelSize="12.0" span="4">0x00000000482C708F</button>
<button label="DAC SD SLOW" labelSize="12.0" span="4">0x00000000482CF00F</button>
<button label="DAC SHARP" labelSize="12.0" span="4">0x00000000482C08F7</button>
<button label="DAC SLOW" labelSize="12.0" span="4">0x00000000482C8877</button>
<button label="DAC NOS" labelSize="12.0" span="4">0x00000000482C48B7</button>
</device>
</irplus>

10

Re: IRplus android app Remote programming (SOLVED).

Thanks for that thread over there. It includes some useful explanations that will help others to implement remote codes.

Mono and VOL are fixed in version 31, together with the other fixes mentioned here already. Still waiting for release, though.

Regards
Matthias Carstens
RME

Re: IRplus android app Remote programming (SOLVED).

Were new IR codes ever generated for the EQ presets?  I'm guessing not since the spreadsheet hasn't been updated.