irplus-remote / irplus-codes.github.io

Code updates for irplus
75 stars 46 forks source link

Triyng to import LIRC config files didn't work. #557

Open almol opened 2 years ago

almol commented 2 years ago

Hi. I'm triyng to use a SONY RM-U25 infrared control with my Stereo amplifier STR-KSL5, but only a few keys are working with irplus. I don't have the original remote and without this is impossible to sintonize and select any FM station! Working keys are: power, mute, master volume and source selection: (TV, DVD, TUNER, VIDEO, AUX...) rest not.

Like that I had in the correct way but still not.. Triyng to solve, I use a converter from LIRC to irplus: https://irplus-remote.github.io/converter/lirc.html but this don't work for me, any key work with my stereo.

Checking the LIRC codes are so strange because this use a 4 definitions begin remote/end remote. Here is the code: https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/sony/RM-U25.lircd.conf

Result from converter is like that (any key work):


> <irplus>
>   <device manufacturer="MANUFACTURER" model="MODEL" columns="12" format="WINLIRC_SPACEENC" bits="11" pre-bits="12" toggle-bit-pos="0" gap-pulse="691" gap-space="24393" one-pulse="1260" one-space="530" zero-pulse="691" zero-space="530" header-pulse="2496" header-space="530" repeat="2">
>       <button label="1" span="4">0x0000000000000008</button>
>       <button label="2" span="4">0x0000000000000808</button>
>       <button label="3" span="4">0x0000000000000408</button>
> ```
>                <button label="ONOFF" span="4">0x0000000000002A05</button>
>       <button label="DVD" span="4">0x0000000000002F85</button>
>       <button label="VIDEO" span="4">0x0000000000001105</button>
>       <button label="SAT" span="4">0x0000000000003885</button>
> ```

but the file from irplus app is like that (with some keys that work):

<irplus>
<device manufacturer="SONY" model="RM-U25" columns="12" format="WINLIRC_RAW" repeat="3" repeatgap="45164" frequency="40000">
<button label="&#61457;" labelSize="25.0" span="4" backgroundColor="FFC84334">2400 600 1200 600 600 600 1200 600 600 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 1200 600 600</button>
<button label="&#1045889;" labelSize="25.0" span="4">2400 600 600 600 600 600 1200 600 600 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 1200 600 600</button>
<button label="TV VIDEO" labelSize="12.0" span="4">2400 600 1200 600 600 600 1200 600 600 600 600 600 1200 600 600 600 1200 600 600 600 600 600 600 600 600</button>
<button label="MASTER VOL-" labelSize="12.0" span="6">2400 600 1200 600 1200 600 600 600 600 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 1200 600 600</button>
<button label="MASTER VOL+" labelSize="12.0" span="6">2400 600 600 600 1200 600 600 600 600 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 1200 600 600</button>
....
<button label="1" labelSize="25.0" span="4">2400 600 600 600 1200 600 600 600 1200 600 600 600 600 600 600 600 600 600 1200 600 600 600 600 600 600</button>
<button label="2" labelSize="25.0" span="4">2400 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 600 600 600</button>
<button label="3" labelSize="25.0" span="4">2400 600 600 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 600 600 600</button>
<button label="4" labelSize="25.0" span="4">2400 600 1200 600 1200 600 600 600 600 600 600 600 600 600 600 600 600 600 1200 600 600 600 600 600 600</button>

What will be the problem there is a way to manually edit and understand these codes? Any help to rebuld fault keys will be appreciated.

thanks.

bpsib commented 2 years ago

I have never had any luck with the LIRC to Irplus converter. I either get a garbled conversion or the page just becomes unresponsive and get out of memory error. So I use IrScrutinizer to convert.