Sunday, May 31, 2015

Controlling Kodi HTPC with my TV remote

I really like have an HTPC (Home Theatre PC) that automatically starts up into Kodi (Home Theatre Software) to handle all my multimedia needs. The only issue is controlling it. I had an Xbox 360 remote hooked up for gaming, and I would use that to control the HTPC. But the controller goes to sleep after a bit, and if I needed to pause the movie right away I had to wake up the controller and wait for it to connect.



I also have the Kodi iOS app for controlling it with my iPhone. This is actually smooth and powerful, especially being able to use the keyboard on the iPhone for searching, but it suffers the same issue where I am not going to keep my phone turned on the entire time so there is a delay as the phone reconnects to Kodi so that it can then send controls.

This is where the HP MCE Transceiver comes in. For only $13 this device can receive and send IR signals from any remote that you have.


My HTPC is running Windows 7. So I installed WinLIRC and WinLIRC Helper. WinLIRC is a tool that allows you to interface with your IR transceiver in order to read in buttons that you press on your remote. WinLIRC Helper can then be used to map those keys into Keyboard keys or shortcuts.



When you are setting up WinLIRC, first right click on the exe and run it as administrator. Set the Input Plugin to be MCEVista64.dll. Then press the Create Config button and follow the directs the prompt window gives you. The directions will be to press random remote buttons until it is satisfied, then you will type in names for the specific remote keys you press. You cannot just use any name, you must choose one from this list of Name Space keys.




After that is complete, you will run the WinLirc Helper (while WinLIRC is still running as well) and map the controller keys to specific keyboard keys that you want. You must keep this running at all times.


You can have both WinLIRC and the WinLIRC Helper run automatically at startup by going to Start > All Programs > Startup > right click and select Open. Then create shortcuts for those programs and drop them in this folder.

Now I can easily use my TV remote to turn on the TV, control the volume of my speakers, and control my HTPC instantly.

No comments:

Post a Comment