Skip to content

Instantly share code, notes, and snippets.

@alexptbg
Forked from TheGroundZero/esphome_ir_lg.md
Created July 2, 2024 10:23
Show Gist options
  • Save alexptbg/05d282a09d3d81b98d85c73db2aef1be to your computer and use it in GitHub Desktop.
Save alexptbg/05d282a09d3d81b98d85c73db2aef1be 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

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