How do I set up KODI (OpenELEC) for any remote to control the media player, on the Raspberry Pi 2?

  • Setting up your RPi for any remote sounds too broad. Did you really mean to ask about Tsop38238 sensor? Jan 30, 2017 at 10:16

2 Answers 2


The simplest method is to use HDMI-CEC. You need a half decent HDMI cable (I've used some that didn't work) and a CEC enabled TV. This has different names under different manufacturers (see here for details). OpenELEC should have the feature enabled by default.

It should be as simple as just plugging in the pi and enabling CEC on the TV. After that the commands from your TV remote should allow you to control OpenELEC.

For more options, OpenELEC has a useful page of documentation here.

  • I want to make IR receiver (Tsop38238) manually so that how can i configure of my raspberry pi 2 Apr 8, 2016 at 19:40

Here is an excellent article which explains in detailed steps how to connect an IR sensor to the Raspberry Pi and setup any IR remote:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.