Search This Blog

Wednesday, February 2, 2011

Tweaking a Harmony remote with Openelec

I've done a few things to tune my Harmony remote to my liking.

First, in the Harmony software my base device for the XBMC machine is set to 'MicrosoftMedia Center Extender' (found under HTPC options I think - I've found this is a better starting map than the other options people recommend. I think a lot of people's remote problems start right here, they use the wrong base map.

From there, the basic method is this is to look at the 'keys' defined for the remote, and then remap what those keys do in a custom keymap.xml

To find the keys, we look in:

This file defines the signals/names that will come through to XBMC (and therefore what we can easily remap). I suspect speeds can be tweaked in here and I find it a little too fast when scrolling long lists so I will experiment with this later...




The main work from here is done in .xbmc/userdata/keymaps/keymap.xml

I've commented my file so it should be easy to follow. To work out waht functions to call, I combed the forums a bit and use the wiki page on functions - - the only really tricky one is calling a showwindow command to toggle between just unwatched stuff & everything views.


<!-- ************* GLOBAL ***************************** -->
<!-- Define R as reload skin, S as screenshot, anywhere -->
<!-- and define some special remote keys
<!-- Red toggles fullscreen view -->
<!-- Green Toggles the watched status of an item -->
<!-- And yellow will toggle the library views between 'show everything' and 'show watched only' -->


<!-- ************************************************ -->

<!-- On the home screen, 1 cleans the library, 2 triggers an update -->


<!-- Set up Audio Delay Easy Keys -->


<!-- Set up zooming in picture slideshows -->


<!-- make the info window close when info is pressed again -->



Some other stuff - I have done a bit of key mapping in the Harmony software - e.g in additional buttons I have mapped a button for next subtitle so I can easily cycle between subtitles (from none - sub 1 (if there is a sub 1) - sub 2 (if there is a sub 2) - ... - subs off

You can remap any other button you like this way.


  1. Cool. Thanks for that. I'm going to have to spend some time reviewing this in more detail later. Nice job!

  2. Is this explicitly meant for an asrock 330-ht remote (which I have) in combination with a Harmony One (which I also have)?

  3. It's for any one using a harmony remote with any working Openelec system - so if your receiver is working with Openelec, then yes this guide applies.

  4. Thanks! It works. Did you expand your keymaps.xml any further?

  5. See the post at the top of the blog, has a newer keymap in it. I should post the matching Harmony set up as well but it's annoying difficult to get that out of the harmony software without a bunch of tedious screenshot taking....