Skip to content

Instantly share code, notes, and snippets.

@TheGroundZero
Last active November 10, 2023 10:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheGroundZero/74035123938ecb13c8864ff1e65dc4d3 to your computer and use it in GitHub Desktop.
Save TheGroundZero/74035123938ecb13c8864ff1e65dc4d3 to your computer and use it in GitHub Desktop.
LG infrared codes captured using ESPHome Remote Receiver

ESPHome Remote Receiver

LG remote (AKB74475481)

See: https://esphome.io/components/remote_receiver.html
To be used with: https://esphome.io/components/remote_transmitter.html

remote_receiver:
  pin:
    number: 23
    inverted: True
    mode: INPUT_PULLUP
  dump: lg

remote_transmitter:
  pin: 22
  carrier_duty_percent: 50%
Button Data nbits
Power 0x20DF10EF 32
TvRad 0x20DF0FF0 32
Input 0x20DFD02F 32
QMenu 0x20DFC23D 32
Ratio 0x20DF9E61 32
Subttl 0x20DF9C63 32
1 0x20DF8877 32
2 0x20DF48B7 32
3 0x20DFC837 32
4 0x20DF28D7 32
5 0x20DFA857 32
6 0x20DF6897 32
7 0x20DFE817 32
8 0x20DF18E7 32
9 0x20DF9867 32
Guide 0x20DFD52A 32
0 0x20DF08F7 32
QView 0x20DF58A7 32
VolUp 0x20DF40BF 32
VolDwn 0x20DFC03F 32
Fav 0x20DF7887 32
Info 0x20DF55AA 32
Mute 0x20DF906F 32
ChUp 0x20DF00FF 32
ChDwn 0x20DF807F 32
App* 0x20DFF906 32
Home 0x20DF3EC1 32
MyApps 0x20DF42BD 32
Text 0x20DF04FB 32
TOpt 0x20DF847B 32
Up 0x20DF02FD 32
Down 0x20DF827D 32
Left 0x20DFE01F 32
Right 0x20DF609F 32
OK 0x20DF22DD 32
Back 0x20DF14EB 32
Exit 0x20DFDA25 32
AD 0x20DF8976 32
List 0x20DFCA35 32
Stop 0x20DF8D72 32
Rew 0x20DFF10E 32
Play 0x20DF0DF2 32
Pause 0x20DF5DA2 32
Fwd 0x20DF718E 32
Red 0x20DF4EB1 32
Green 0x20DF8E71 32
Yellow 0x20DFC639 32
Blue 0x20DF8679 32

LG AKB74475481

@kylefmohr
Copy link

@TheGroundZero Thanks for this! These codes also appear to be the exact same as the Hisense 55H6D, I'm just including this comment in case it helps people googling for Hisense 55H6D NEC InfraRed Codes. I recorded a subset, but not all of the codes, so this is helpful to have.

@TheGroundZero
Copy link
Author

@TheGroundZero Thanks for this! These codes also appear to be the exact same as the Hisense 55H6D, I'm just including this comment in case it helps people googling for Hisense 55H6D NEC InfraRed Codes. I recorded a subset, but not all of the codes, so this is helpful to have.

I'm glad you found this useful!

@finipini
Copy link

Yes, that happens to me to. I Guess that with the TV off the remote operates um IR, and with the TV on it changes to bluetooth.

@fragtion
Copy link

fragtion commented Nov 10, 2023

These codes work great for AKB72914209 remote also (for LG TV model 47LE5300 in my case)

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