2013-01-28, 18:37
I would like to share with you the results of reprogramming the Harmony remote (Harmony One or otherwise) to use on the Raspbery Pi with Raspbmc. I believe that the information below can be useful to any XBMC user (Linux, Windows, etc).
The issue was that RPi with the latest versions of Raspbmc did not respond to keyboard transmissions sent by the remote. I read a lot and found much information, but very scattered, ranging from very technical solutions to no solution.
Here is my quick fix. It is just an example and I hope it saves someone the time I had to spend to sort this out.
A. Start with http://forum.xbmc.org/showthread.php?tid=95063
but do not install MCE Keyboard, just install the 2nd one: MCE Keyboard SE, renamed to XBMC(sw)
B. Assign all buttons, using only XBMC(sw) and the appropriate key.
For many keys its obvious, but some I have listed here below for information.
For some keys I could not get it working, so I (ab)used other keys to get the functionality I wanted, you may set any key according to your preference.
Button Device Command Explanation
Channel Down XBMC(sw) PageDown Jumps down 1 page
Channel Up XBMC(sw) VolumeUp [defined in remote.xml] (PageUp does not work yet, is temp fix)
Prev XBMC(sw) Backspace Back to previous screen
OK XBMC(sw) OK
Menu XBMC(sw) Media ContextMenu/OSD in playback [defined in remote.xml]
Exit XBMC(sw) Green Returns to main menu [defined in remote.xml]
Guide XBMC(sw) Guide ContextMenu/CodecInfo in playback [defined in remote.xml]
Info XBMC(sw) Info Displays the info screen
Up arrow XBMC(sw) Red Jump to AudioSettings in playback [defined in remote.xml]
Down Arrow XBMC(sw) Yellow Adjust subtitle delay in playback [defined in remote.xml]
Skip back XBMC(sw) Replay [not working yet in RC3]
Skip forward XBMC(sw) Skip [not working yet in RC3]
Plus XBMC(sw) Teletext Queue/NextSubtitle in playback [defined in remote.xml]
E XBMC(sw) LiveTV AudioNextLanguage in playback [defined in remote.xml]
C. Custom mapping in the user defined remote.xml
Buttons defined in remote.xml overrule the main remote.xml
Create a text file named remote.xml in
Paste the following:
The issue was that RPi with the latest versions of Raspbmc did not respond to keyboard transmissions sent by the remote. I read a lot and found much information, but very scattered, ranging from very technical solutions to no solution.
Here is my quick fix. It is just an example and I hope it saves someone the time I had to spend to sort this out.
A. Start with http://forum.xbmc.org/showthread.php?tid=95063
but do not install MCE Keyboard, just install the 2nd one: MCE Keyboard SE, renamed to XBMC(sw)
B. Assign all buttons, using only XBMC(sw) and the appropriate key.
For many keys its obvious, but some I have listed here below for information.
For some keys I could not get it working, so I (ab)used other keys to get the functionality I wanted, you may set any key according to your preference.
Button Device Command Explanation
Channel Down XBMC(sw) PageDown Jumps down 1 page
Channel Up XBMC(sw) VolumeUp [defined in remote.xml] (PageUp does not work yet, is temp fix)
Prev XBMC(sw) Backspace Back to previous screen
OK XBMC(sw) OK
Menu XBMC(sw) Media ContextMenu/OSD in playback [defined in remote.xml]
Exit XBMC(sw) Green Returns to main menu [defined in remote.xml]
Guide XBMC(sw) Guide ContextMenu/CodecInfo in playback [defined in remote.xml]
Info XBMC(sw) Info Displays the info screen
Up arrow XBMC(sw) Red Jump to AudioSettings in playback [defined in remote.xml]
Down Arrow XBMC(sw) Yellow Adjust subtitle delay in playback [defined in remote.xml]
Skip back XBMC(sw) Replay [not working yet in RC3]
Skip forward XBMC(sw) Skip [not working yet in RC3]
Plus XBMC(sw) Teletext Queue/NextSubtitle in playback [defined in remote.xml]
E XBMC(sw) LiveTV AudioNextLanguage in playback [defined in remote.xml]
C. Custom mapping in the user defined remote.xml
Buttons defined in remote.xml overrule the main remote.xml
Create a text file named remote.xml in
Code:
/home/pi/.xbmc/userdata/keymaps/
Paste the following:
Code:
<keymap>
<global>
<remote>
<!-- Menu key XBMCsw=Media -->
<start>ContextMenu</start>
<!-- Exit key XBMCsw=Green -->
<green>PreviousMenu</green> <!-- Esc, jump to main menu -->
<!-- Info key -->
<!-- <info> no adjustments -->
<!-- Guide key XBMCsw=Guide -->
<!-- <title> no adjustments -->
<!-- Up Arrow key XBMCsw=Red -->
<red>Notification(Key, red remotexml-remote, 3)</red>
<!-- Down Arrow key XBMCsw=Yellow -->
<yellow>Notification(Key, yellow remotexml-remote, 3)</yellow>
<!-- ChannelUp Key XBMCsw=VolumeUp -->
<volumeplus>PageUp</volumeplus> -->
<!-- Plus key XBMCsw=Teletext -->
<subtitle>Queue</subtitle>
<!-- E key XBMCsw=LiveTV -->
<mymusic>Notification(Key, AudioNextLanguage - only while in FullScreenVideo, 3)</mymusic>
</remote>
<universalremote>
<obc45>Stop</obc45>
</universalremote>
</global>
<FullscreenVideo>
<remote>
<red>XBMC.ActivateWindow(OSDAudioSettings)</red>
<yellow>SubtitleDelay</yellow>
<volumeplus>PageUp</volumeplus> -->
<mymusic>AudioNextLanguage</mymusic>
<recordedtv>ShowVideoMenu</recordedtv>
</remote>
</FullscreenVideo>
</keymap>