Most of the steps refer to Kodi (OpenElec) not Raspbmc

Wiring of the TSOP 38238


ssh into raspi

>mount /flash -o remount,rw

>nano /flash/config.txt

add the following to your config.txt:


reboot pi


Setup the IR-remote. I used this one:


ssh into raspi again

>killall lircd
>irrecord /storage/.config/lircd.conf

follow the instruction of irrecord


A known trick to proof if youre IR-remote is basically working (maybe we used dead batteries) is to check it with your smartphone’s camera. The infrared light will be visible.



# Please make this file available to others
# by sending it to <>
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Sat Mar 21 14:32:08 2015
# contributed by 
# brand:                       /storage/.config/lircd.conf
# model no. of remote control: hauppauge! 
# devices being controlled by this remote: Kodi

begin remote

  name  /storage/.config/lircd.conf
  bits           13
  eps            30
  aeps          100

  one           898   875
  zero          898   875
  plead         898
  gap          114272
  toggle_bit_mask 0x800

      begin codes
          KEY_POWER                0x17FD
          KEY_NUMERIC_1            0x17C1
          KEY_NUMERIC_2            0x17C2
          KEY_NUMERIC_3            0x17C3
          KEY_NUMERIC_4            0x17C4
          KEY_NUMERIC_5            0x17C5
          KEY_NUMERIC_6            0x17C6
          KEY_NUMERIC_7            0x17C7
          KEY_NUMERIC_8            0x17C8
          KEY_NUMERIC_9            0x17C9
          KEY_NUMERIC_0            0x17C0
          KEY_EXIT                 0x17DF
          KEY_MENU                 0x17CD
          KEY_RED                  0x17CB
          KEY_GREEN                0x17EE
          KEY_YELLOW               0x17F8
          KEY_BLUE                 0x17E9
          KEY_UP                   0x17E0
          KEY_DOWN                 0x17E1
          KEY_LEFT                 0x17D1
          KEY_RIGHT                0x17D0
          KEY_OK                   0x17E5
          KEY_MUTE                 0x17CF
          KEY_REWIND               0x17F2
          KEY_PLAY                 0x17F5
          KEY_FASTFORWARD          0x17F4
          KEY_RECORD               0x17F7
          KEY_STOP                 0x17F6
          KEY_PAUSE                0x17F0
      end codes

end remote