Skip to content

Instantly share code, notes, and snippets.

@WardBrian
Last active November 5, 2025 17:16
Show Gist options
  • Select an option

  • Save WardBrian/eb6ac2a721055af54477e8816c3dca89 to your computer and use it in GitHub Desktop.

Select an option

Save WardBrian/eb6ac2a721055af54477e8816c3dca89 to your computer and use it in GitHub Desktop.
lirc remotes
# based on tutorial from https://www.cnx-software.com/2017/03/12/how-to-control-your-air-conditioner-with-raspberry-pi-board-and-anavi-infrared-phat/
begin remote
name ge_ac
flags RAW_CODES
eps 30
aeps 100
ptrail 0
repeat 0 0
gap 28205
begin raw_codes
name off
4326 4347 525 1575 525 525
504 1596 504 546 525 525
525 525 504 567 504 1575
525 525 525 525 525 1575
525 525 525 525 504 546
504 546 504 546 504 567
483 1596 525 1575 525 504
525 1575 525 525 483 546
525 1575 525 1575 504 1596
504 1617 504 1575 504 1596
483 1596 525 1575 525 1575
504 1596 525 1575 525 1575
546 1554 525 1575 525 1575
504 1596 525 1575 525 1575
525 1575 546 483 525 525
504 567 504 1575 525 1596
504 1575 504 5145 4305 4389
504 525 504 1617 483 546
504 1617 483 1596 525 1575
525 1575 525 525 504 1596
525 1575 504 546 483 1596
504 1596 504 1596 504 1596
504 1596 504 1596 525 525
525 504 525 1575 504 546
525 1596 483 1617 483 546
504 546 525 525 525 525
483 546 504 546 504 546
504 546 525 504 504 546
504 546 525 525 525 525
525 525 525 525 504 525
525 525 525 525 525 525
525 1575 525 1575 525 1575
525 525 504 546 504 546
525
name on
4326 4347 504 1596 525 525
525 1575 483 567 504 567
504 525 525 525 483 1596
504 1596 525 525 525 1575
525 525 525 525 504 567
483 546 525 525 525 525
504 1575 525 1575 504 546
525 1596 504 525 525 525
504 1680 462 1575 504 1596
504 1596 504 1554 546 1596
525 1575 504 1680 441 1575
525 1575 504 1596 525 1575
504 1596 525 1575 525 1575
504 1596 504 1680 420 546
525 1596 546 483 504 546
483 546 504 1596 525 1575
525 1575 504 5145 4305 4368
525 504 525 1575 504 546
504 1596 525 1575 504 1617
483 1596 525 525 504 567
504 1596 504 525 525 1575
525 1575 525 1575 483 1596
525 1575 504 1596 504 546
525 525 525 1575 504 546
504 1596 525 1575 525 525
504 546 504 546 525 525
504 546 504 546 525 525
504 546 525 525 525 525
525 525 504 525 504 546
504 546 483 546 525 525
525 525 483 1596 504 546
525 1575 504 1596 525 1575
504 546 483 546 504 546
504
name set68
4263 4389 567 1554 462 546
483 1638 462 546 525 567
420 672 378 567 441 1638
525 1575 462 609 483 1575
483 567 546 504 420 567
525 567 441 567 441 609
462 1617 483 1638 462 567
462 546 462 1659 483 1575
567 504 441 1638 462 1659
462 1659 357 1680 462 1659
483 1575 483 1596 462 1638
462 1659 441 1680 420 1617
525 1638 441 1596 525 1575
504 1638 483 1638 441 546
483 1638 483 546 483 525
525 1596 462 588 462 546
462 567 483 5187 4263 4368
525 525 462 1638 483 546
462 1638 483 1575 525 1596
483 1638 462 567 483 546
525 1554 483 567 483 1596
525 1575 462 1638 483 1575
483 1638 462 1617 483 546
483 567 462 1638 462 1638
525 525 525 525 462 1659
441 546 483 567 483 546
483 546 462 567 483 567
483 525 462 588 462 546
462 567 483 546 525 525
483 546 462 567 504 567
462 546 504 1596 525 525
462 1638 462 1680 441 546
525 1575 483 1617 462 1659
504
name set72
4347 4305 525 1575 525 504
546 1554 525 504 525 504
546 483 546 483 525 1575
546 1554 525 504 546 1554
546 483 525 504 525 504
525 504 546 483 546 483
546 1554 525 1575 525 504
525 1575 525 504 525 1575
525 504 525 1575 525 1575
546 1554 525 1575 567 1533
525 1575 546 1554 525 1575
546 1554 525 1575 546 1554
546 1533 525 1575 525 1575
525 1575 567 1533 525 504
546 1554 546 483 525 504
525 504 525 1575 546 483
525 504 525 5124 4326 4347
525 504 525 1575 525 504
546 1554 546 1554 546 1554
546 1554 525 504 546 483
525 1575 525 504 525 1575
546 1533 546 1554 525 1575
525 1575 525 1575 525 504
525 504 525 1575 525 504
525 1575 525 504 525 1575
546 483 525 504 567 483
525 504 525 504 525 504
525 504 525 504 525 504
525 504 483 567 525 504
525 504 546 483 567 483
525 504 546 1554 546 483
525 1575 546 1554 546 1554
525 504 525 1575 525 1575
525
name sleep
4326 4347 504 1596 525 546
483 1617 504 525 525 525
525 504 525 525 504 1617
483 1596 504 1617 504 1575
504 546 525 525 504 546
504 546 504 546 504 546
504 1596 504 1596 504 546
504 1596 504 567 504 1575
504 546 504 1596 504 1596
525 1575 525 1575 504 1617
483 1596 525 1575 525 1575
525 1575 504 1596 504 1596
504 1596 525 1575 504 1596
525 1575 504 1596 525 525
504 546 525 504 525 525
504 546 504 1596 504 546
504 546 525 5124 4305 4368
504 546 504 1596 525 504
504 1596 525 1575 504 1617
504 1575 504 546 504 546
525 525 525 525 504 1596
504 1596 504 1596 525 1575
525 1575 462 1617 525 525
504 546 504 1596 504 546
504 1596 504 546 525 1575
504 546 504 546 504 546
525 525 525 525 525 525
483 546 504 546 525 525
504 567 504 525 525 525
504 546 525 525 525 525
525 525 546 1554 525 1575
504 1596 525 1575 504 1596
525 525 504 1596 525 1575
504
end raw_codes
end remote
begin remote
name roku
bits 16
flags SPACE_ENC
eps 30
aeps 100
header 8808 4406
one 527 1653
zero 527 564
ptrail 528
pre_data_bits 16
pre_data 0x57E3
gap 37239
toggle_bit_mask 0x101
frequency 38000
begin codes
KEY_OK 0x54AB
KEY_HOME 0xC03F
KEY_BACK 0x6699
KEY_MUTE 0x04FB
KEY_FASTFORWARD 0xAA55
KEY_REWIND 0x2CD3
KEY_PLAYPAUSE 0x33CC
KEY_OPTION 0x8679
KEY_REFRESH 0x1EE1
KEY_VOLUMEUP 0xF00F
KEY_VOLUMEDOWN 0x08F7
KEY_UP 0x9867
KEY_DOWN 0xCC33
KEY_LEFT 0x7887
KEY_RIGHT 0xB44B
KEY_POWER 0xE817
end codes
end remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment