irplus-remote / irplus-codes.github.io

Code updates for irplus
75 stars 46 forks source link

Problem importing LIRC file #477

Open quadro90 opened 4 years ago

quadro90 commented 4 years ago

Hi, i'm having a problem importing this LIRC file on IRPLUS Wave app. http://lirc.sourceforge.net/remotes/dynaudio/ The file contains this text:

#
# this config file was automatically generated
# using lirc-0.8.6(usb_uirt_raw) on Sun Sep 12 16:54:05 2010
#
# contributed by Bill Denney
#
# brand: Dynaudio
# model no. of remote control:
# devices being controlled by this remote:
# Sub 500

begin remote

  name  Dynaudio_Sub_500
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           875   831
  zero          875   831
  plead         892
  gap          112758
  min_repeat      2
  toggle_bit_mask 0x800

      begin codes
          KEY_POWER                0x104F                    #  Was: PowerOn
          KEY_POWER                0x106A                    #  Was: PowerOff
          ExtOn                    0x1047
          ExtOff                   0x1045
          Flat                     0x1078
          KEY_0_degrees            0x1046                    #  Was: 0_degrees
          KEY_0_degrees            0x105E                    #  Was: 90_degrees
          KEY_0_degrees            0x1050                    #  Was: 180_degrees
          KEY_0_degrees            0x1049                    #  Was: 270_degrees
          KEY_0Hz                  0x1041                    #  Was: 60Hz
          KEY_0Hz                  0x1042                    #  Was: 80Hz
          KEY_0Hz                  0x1043                    #  Was: 100Hz
          PresetA                  0x107D
          PresetB                  0x1055
          PresetC                  0x1077
          PresetD                  0x1063
      end codes

end remote

I have already tried to delete the "#Was" part but doesn't work. I read also to try with IrScrutinizer but i am not very good at using it... can someone convert this codes in the .irplus correct file?

Thanks A LOT

quadro90 commented 4 years ago

The subwoofer company also sent me these codes of the original remote control:

Remote Codes RC SUB-300/500 Protocol NEC Customer Code 41BE Key - 1F Key + 2F Key ON 0F Key OFF 2A Key 60 01 Key 80 02 Key 100 03 Key FLAT 38 Key EXT ON 07 Key EXT OFF 05 Key 0° 06 Key 90° 1E Key 180° 10 Key 270° 09 Key A 3D Key B 15 Key C 37 Key D 23

This can help?

irplus-remote commented 4 years ago

Hey, can you try this?

<irplus>
    <device manufacturer="DYNAUDIO" model="SUB500" format="PRONTO_HEX">
        <button label="KEY_POWER">0000 0073 0000 000A 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0040 0040 0CC8</button>
        <button label="ExtOn">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0CA8</button>
        <button label="ExtOff">0000 0073 0000 000B 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0040 0040 0020 0CA8</button>
        <button label="Flat">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0CC8</button>
        <button label="KEY_0_degrees">0000 0073 0000 000B 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0020 0020 0040 0020 0CA8</button>
        <button label="KEY_0Hz">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0CA8</button>
        <button label="PresetA">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0CA8</button>
        <button label="PresetB">0000 0073 0000 000A 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0040 0040 0040 0020 0CA8</button>
        <button label="PresetC">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0CA8</button>
        <button label="PresetD">0000 0073 0000 000C 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0CA8</button>
    </device>
</irplus>
quadro90 commented 4 years ago

Tried now, nothing works :( I tried importing the original LIRC file directly in the app and then modifying it with the new codes you just gave me. But nothing. Maybe i have to import with a .irplus with your text? How can i create a .irplus file?

quadro90 commented 4 years ago

I tried now to create a .docx file with your text, then renamed it with .irplus extension. Imported it directly in the app with import function. It shows me this error: Screenshot_20200324-152217_Video Player

quadro90 commented 4 years ago

As you can see when i change the codes after importing directly the existing LIRC file, it shows me correctly the new buttons, but it doesn't work... the subwoofer doesn't turn on 20200324_152717

quadro90 commented 4 years ago

HEY I CHANGED THE REPEATS TO 3, NOW IT WORKS!!!! THANKS MAN YOU SAVED MEEEE

irplus-remote commented 4 years ago

Thanks for the info of repeats to 3 change. So i can import the correct file into the DB ! 👍

Obviously importing docx does not work :) You can create .irplus file by creating .txt and rename - for the next time ;-)