An LIRC .conf
file for my old universal remote,
optimized for use with Kodi.
LIRC is included with Kodi by default.
- Add an IR receiver
- Navigate to
My OSMC > Pi Config > Hardware Support
and verify- 'Enable LIRC GPIO support': enabled
- 'gpio_in_pin': 18
One convenient way to connect the receiver diode to the Pi is a stereo cable and matching jack. Cut one end off the stereo cable for the receiver and attach female header wires to the jack:
First, configure the remote to send MCE signal codes.
- Press and hold SETUP until the red light remains lit.
- Press the desired profile button (VCR or SAT); the red light should blink once.
- Type in the code for MCE: 1611; the red light should blink after each digit, then turn off.
Clone this repository to the local file system, then copy relevant files
into /etc/lirc
:
# git clone https://github.com/patricktokeeffe/lirc-philips-sru3004wm17.git
# cd lirc-philips-sru3004wm17
# sudo cp ph* /etc/lirc/
- For Kodi/OSMC, choose
My OSMC > Remotes > philips-sru3004wm17
- To enable it manually, copy the conf file as
/etc/lirc/lircd.conf