Skip to content

Instantly share code, notes, and snippets.

@elupus
Last active October 12, 2024 19:33
Show Gist options
  • Save elupus/19ab3405168977a7bc3640402258302a to your computer and use it in GitHub Desktop.
Save elupus/19ab3405168977a7bc3640402258302a to your computer and use it in GitHub Desktop.
SMSL IR Codes NEC32

SMSL - NEC Extended Format

The SMSL lines of products uses these NEC32 extended format ir codes.

Remote Address Address (rev)
A 3412h 482Ch
B 3512h 48ACh
C 3612h 486Ch
Command Hex Hex (rev+inv)
POWER ON 1h 807Fh
DIAL UP 2h 40BFh
DIAL DOWN 3h 609Fh
DIAL RIGHT 4h A05Fh
DIAL LEFT 5h C03Fh
DIAL MIDDLE 6h 20DFh
INPUT 7h E01Fh
EQ 8h 10EFh
MUTE 9h 906Fh
@elupus
Copy link
Author

elupus commented Sep 28, 2021

Note.. I feels like address aught to be 1234h, 1235h, .... But i can't see any fault in my current decoding of this.

@embroideredcactus
Copy link

I used this for ESPHome, but it seemed for the AD18 a seemed to be in a different order. ESPhome changed " the order of transferring bits was corrected from MSB to LSB in accordance with the NEC standard. ", so had to do that for this. I don't have the original remote, so couldn't confirm left/right, but they're the two options for it. Seems to work well enough for me.
Address: 0x3412 for A ( I only have an AD18 to test)

Command Hex
POWER ON 0xF801
Volume UP 0xF802
Volume DOWN 0xF806
DIAL RIGHT 0xF805
DIAL LEFT 0xF803
DIAL MIDDLE/Menu 0xF804
INPUT 0xF807
EQ 0xF808
MUTE 0xF809

@Wahnsinicka
Copy link

Hello embroideredcactus!

Would you be so kind and post the yaml from your ESPHOME for the AD18?
i am trying to do the sam here.

thx!

@Wahnsinicka
Copy link

switch:

  • platform: template
    name: Power
    turn_on_action:
    • remote_transmitter.transmit_nec:
      address: 0x3412
      command: 0xF801

...i think i found out how t odo it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment