Skip to content

Instantly share code, notes, and snippets.

@fyra
Last active October 20, 2021 09:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fyra/256d158e8bc83016620845636d9746f3 to your computer and use it in GitHub Desktop.
Save fyra/256d158e8bc83016620845636d9746f3 to your computer and use it in GitHub Desktop.
IR codes for LG Bluray 5.1 System
Trying to set up some home automation I ended up looking closely into
the ir codes of my bluray/avr unit, I hoped for distinct buttons for
hdmi1 and hdmi2, but no dice. I did find separate Power on and
Power Off codes.
EDIT: Found that pressing >INPUT< >num< jumps to that input without
cycling through all the others, giving me a way to jump directly the
input I want.
Im using tasmota for my IR device, where a working button press looks
like this :
{"Protocol":"SAMSUNG","Bits":32,"Data":"0x343451AE"}
The first 16 bits, 0x3434, are specific to the device.
The next 8 bits, 0x51, corresponds to an action/button.
The last 8 bits, 0xAE, are calculated by 0xFF - 0x51 = 0xAE
Assuming I havent missed anything this leaves 256 possible 'buttons'
I ran through them all and noted anything that my device responded to.
This is definately incomplete, but it has every button i'll ever use.
Action - - code dec HEX
8 12 18 0x343412ED
LEFT Arrow 15 21 0x343415EA
POWER ON! 20 32 0x343420DF
4 22 34 0x343422DD
0 2D 45 0x34342DD2
Red 36 54 0x343436C9
2 42 66 0x343442BD
Back 45 69 0x343445BA
Input 51 81 0x343451AE
ENTER 55 85 0x343455AA
DEV_ SYSTEM INFO 57 87 0x343457A8
Eject/Open/Close 59 89 0x343459A6
6 62 98 0x3434629D
DOWN Arrow 65 101 0x3434659A
Speaker Level 66 102 0x34346699
Vol - 68 104 0x34346897
Input Optical 6D 109 0x34346D92
Input Radio 6F 111 0x34346F90
Yellow 76 118 0x34347689
Power Toggle 78 120 0x34347887
Disc? 7F 127 0x34347F80
1 82 130 0x3434827D
DEV_TEST_SPKR 8F 143 0x34348F70
9 92 146 0x3434926D
RIGHT Arrow 95 149 0x3434956A
Input Ipod 9D 157 0x34349D62
Power OFF! 9F 159 0x34349F60
5 A2 162 0x3434A25D
Home A5 165 0x3434A55A
Green B6 182 0x3434B649
Clear C1 193 0x3434C13E
3 C2 194 0x3434C23D
Repeat CD 205 0x3434CD32
XVYCC CF 207 0x3434CF30
7 E2 226 0x3434E21D
UP Arrow E5 229 0x3434E51A
Vol + E8 232 0x3434E817
Sound Effect F4 244 0x3434F40B
Blue F6 246 0x3434F609
@krisnoble
Copy link

krisnoble commented Aug 29, 2021

Thank you, those power codes saved me so much time and frustration implementing some automations for my HB905DA 🙌

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