Skip to content

Instantly share code, notes, and snippets.

@francis2110
Created January 22, 2015 10:01
Show Gist options
  • Star 47 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save francis2110/8f69843dd57ae07dce80 to your computer and use it in GitHub Desktop.
Save francis2110/8f69843dd57ae07dce80 to your computer and use it in GitHub Desktop.
Lg infrared codes for making your own remote
on-off->20DF10EF
energy->20DFA956
av. mode->20DF0CF3
input->20DFD02F
tv/rad->20DF0FF0
1->20DF8877
2->20DF48B7
3->20DFC837
4->20DF28D7
5->20DFA857
6->20DF6897
7->20DFE817
8->20DF18E7
9->20DF9867
0->20DF08F7
list->20DFCA35
quick view->20DF58A7
vol +->20DF40BF
vol- ->20DFC03F
prog. +->20DF00FF
prog. - ->20DF807F
guide->20DFD52A
home->20DFC23D
fav->20DF7887
ratio->20DF9E61
mute->20DF906F
arrow up->20DF02FD
arrow down->20DF827D
arrow right->20DF609F
arrow left->20DFE01F
ok button->20DF22DD
back->20DF14EB
info->20DF55AA
exit->20DFDA25
red button->20DF4EB1
green button->20DF8E71
yellow button->20DFC639
blue button ->20DF8679
text->20DF04FB
t.opot->20DF847B
subtitle->20DF9C63
stop->20DF8D72
play->20DF0DF2
pause->20DF5DA2
rew->20DFF10E
forward->20DF718E
ad->20DF8976
@C0rn3j
Copy link

C0rn3j commented Dec 26, 2017

My newer remote had some extra/missing buttons, so I updated this list.

https://gitlab.com/snippets/1690600

@skythe83
Copy link

Thanks, both of you, mine has an additional 3D button: 20DF3BC4.
I wish they had distinct codes for on, off and all the input types. If there are, maybe I can find them.

@C0rn3j
Copy link

C0rn3j commented Jan 25, 2018

@skythe83

I wish they had distinct codes for on, off and all the input types. If there are, maybe I can find them

I've tested a LOT of android apps, and one of them had codes for direct HDMI1/2/3 switching (which did work on my TV)

So yes, the input codes do exist. If you find out which android app has them, I'll install it and scan the codes. (Or if you have a phone with an IR blaster you can do it yourself :D)

I really don't think there's an ON/OFF button though, just toggle.

The 3D button is recognized by my TV. I've added it to the list ^^

Btw github gist doesn't have notifications, so if you or anyone else wants to continue the conversation I suggest using my gitlab snippet.

EDIT: Found the app (SURE remote) gonna add the input codes.
EDIT2: Found both POWER ON and POWER OFF codes too.

@styks1987
Copy link

styks1987 commented Feb 19, 2018

@C0rn3j

direct HDMI1/2/3 switching (which did work on my TV)

Interested to know which TV. Mine doesn't seem to work M401i-A3

@abhilabhila
Copy link

Is there a way to convert these IR codes to Pronto HEX or LIRC codes which can be imported to AnyMote remote app for custom buttons?

@skythe83
Copy link

skythe83 commented Feb 2, 2019

@C0rn3j
I've been using your on/off codes for a long time now, you're such a life saver, thank you so much.
I'm currently in the process of transferring all the codes from a php solution to node-red.
I also have copied some remote codes for the Teufel Decoderstation 5 if anyone ever needs this:

$stereoon   = '807F50AF';
$stereooff  = '807F50AF';
$stereomute = '807FD02F';
$stereovolumeup   = '807F7A85';
$stereovolumedown = '807F6A95';
$stereoopt1 = '807F609F';
$stereoopt2 = '807FF00F';
$stereocd   = '807F6897';
$stereotv   = '807FC837';

Same issue with the on/off haha, even their super friendly and curious support team was unable to find me distinct on/off codes or any others in general.

@m0o0hammad
Copy link

Hi everyone
I need LG duct split code
please help

@hammad42
Copy link

hammad42 commented Apr 3, 2019

nice work buddy

@MuthuKrishnanO
Copy link

MuthuKrishnanO commented Aug 28, 2019

I want to create a ir remote app for my Set of Box . how i start .I know the remote
button hexdecimal value

@spike411
Copy link

spike411 commented Feb 6, 2020

@skythe83

But there are discrete IR commands for power on/off & input selection.

http://files.remotecentral.com/library/3-1/lg/index.html

@jaoq1
Copy link

jaoq1 commented Mar 12, 2020

Hi everyone,
I need find the code for LG HVAC remote control AKB74955603.
Please Help....

@thibaultvdb
Copy link

Anyone knows how to input these into home assistant? It accepts Raw
example;
nMwmswlk0mk2mEsms3ADKaAD7MZsAx4A/gYeBg4BHgENNpgAYUyA78AfwU/BK8JbAUjmM2ArOcAMuAR4BCArWEMkxCX8BAwKHAHKYQA=
or pronto

I don't seem to be able to convert from these codes

@SanthVas
Copy link

@C0rn3j It looks like you found the separate ON/OFF codes..If you did, can you please share them? Thanks!

@C0rn3j
Copy link

C0rn3j commented Aug 30, 2020

I did. Read the thread.

@fyra
Copy link

fyra commented Nov 23, 2020

I looked into something similar for my LG BD/AVR device
It had separate on/off but not hdmi1/2
https://gist.github.com/fyra/256d158e8bc83016620845636d9746f3

@krisnoble
Copy link

Thanks everyone, super useful for my 32LG3000 🙌

@Voronoff-lg
Copy link

Hello all!
Please share codes for launch Netflix and Amaxon by IR.
Thanks in advance

@lukatavcer
Copy link

In what format are these codes?

@esimioni
Copy link

Do you know if it is possible to get specific codes for brightness up and down?
It is a PITA to have to go through several menus just to adjust the brightness.

@lukatavcer
Copy link

lukatavcer commented Mar 22, 2023

Do you know if it is possible to get specific codes for brightness up and down? It is a PITA to have to go through several menus just to adjust the brightness.

Check if you find your TV and look for codes here:
https://files.remotecentral.com/library/3-1/index.html
https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/
https://www.remotecodelist.com/
http://www.harctoolbox.org/downloads/remotelocator.html

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