Skip to content

Instantly share code, notes, and snippets.

Backleds TV controller
Tested a generic USB LED controller with ir remote used for lighting up behind
a tv, remote has 24 keys,
Used a YTF IR Bridge with tasmota on it for testing, irecv's "DataLSB" field
makes more sense than "Data" so the following uses that.
First four bytes are the same for all keys, (0x00EF)
Next two bytes are key code, (0x00-0x17) for a total of 24 keys,
Last two bytes are mirrored keycode (0xFF - keycode).
@fyra
fyra / ircodes_LG
Last active October 20, 2021 09:25
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.