Skip to content

Instantly share code, notes, and snippets.

@francis2110
Created January 22, 2015 10:01
Show Gist options
  • Select an option

  • Save francis2110/8f69843dd57ae07dce80 to your computer and use it in GitHub Desktop.

Select an option

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
@abhilabhila

Copy link
Copy Markdown

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

skythe83 commented Feb 2, 2019

Copy link
Copy Markdown

@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
Copy Markdown

Hi everyone
I need LG duct split code
please help

@hammad42

hammad42 commented Apr 3, 2019

Copy link
Copy Markdown

nice work buddy

@MuthuKrishnanO

MuthuKrishnanO commented Aug 28, 2019

Copy link
Copy Markdown

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

@spike411

spike411 commented Feb 6, 2020

Copy link
Copy Markdown

@skythe83

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

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

@jaoq1

jaoq1 commented Mar 12, 2020

Copy link
Copy Markdown

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

@mwlaboratories

Copy link
Copy Markdown

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
Copy Markdown

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

@C0rn3j

C0rn3j commented Aug 30, 2020

Copy link
Copy Markdown

I did. Read the thread.

@fyra

fyra commented Nov 23, 2020

Copy link
Copy Markdown

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
Copy Markdown

Thanks everyone, super useful for my 32LG3000 🙌

@Voronoff-lg

Copy link
Copy Markdown

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

@lukatavcer

Copy link
Copy Markdown

In what format are these codes?

@esimioni

Copy link
Copy Markdown

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

lukatavcer commented Mar 22, 2023

Copy link
Copy Markdown

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

@hugoofab

Copy link
Copy Markdown

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.

Hi. I don't know if we had found distinct codes for on and off. I was looking for that too. and I've bought a tiqiaa IR usb adapter and tested all possible codes and found this:

Just OFF
binary: 00100000.11011111.10100011.01011100
hex: 20DF A35C
command: echo -n "+8976 -4432 +576 -544 +576 -544 +576 -1664 +576 -544 +576 -544 +576 -544 +576 -544 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -544 +576 -544 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -544 +576 -1664 +576 -1664 +576 -1664 +576 -544 +576 -544 +576 -41008 +8992 -2224 +576" | ./tiqiaa_usb_ir.py -s -

just ON
binary: 00100000.11011111.10110011.01001100
hex: 20DF B34C
echo -n "+8976 -4432 +576 -544 +576 -544 +576 -1664 +576 -544 +576 -544 +576 -544 +576 -544 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -1664 +576 -544 +576 -544 +576 -1664 +576 -1664 +576 -544 +576 -544 +576 -41008 +8992 -2224 +576" | ./tiqiaa_usb_ir.py -s -

I had follow this:
https://pawitp.medium.com/analyzing-remote-control-code-with-tiqiaa-zazaremote-adaptor-2ca17bed89fe

and used this lib:
https://gitlab.com/normanr/tiqiaa-usb-ir-py

@C0rn3j

C0rn3j commented Jun 28, 2025

Copy link
Copy Markdown

I don't know if we had found distinct codes for on and off

Yes.

https://gitlab.com/-/snippets/1690600

Your ON seems to differ though.

@hugoofab

Copy link
Copy Markdown

I don't know if we had found distinct codes for on and off

Yes.

https://gitlab.com/-/snippets/1690600

Your ON seems to differ though.

You're right! I found the code 20DF B34C sending all codes to my TV starting from 00000000 aiming to reach 11111111 until get the code I wanted. So it works fine but it sounds like the official code is 20DF 23DC

@sowbug

sowbug commented Oct 25, 2025

Copy link
Copy Markdown

If anyone knows of a code to toggle screen/picture (the "Screen Off/On" menu item that turns off the video but keeps the audio playing), I'd appreciate it.

@kevinp2

kevinp2 commented Mar 8, 2026

Copy link
Copy Markdown

I'm looking for discrete On and Off IR remote codes for the recently released LG TV model PU615U .

I went through the list of links above but all are several years old, unfortunately.

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