Please note that this guide only covers the basics; additional key-configuration can be carried out afterwards.
- Start up the Harmony Remote software from Logitech and click on add device

- Add the HTPC as shown beneath, use "Media Center Extender" in the box to get the correct settings

- Press the Next button to add it

- Now add the activity

- Select manual configuration

- Select "Listen to music"

- Select "Listen to digital music"

- Press Next

- Now set the correct device for controlling the volume, in this case I'm using a Marantz receiver

- Now set the page where the HTPC must start

- Choose on what channel your receiver must be for displaying OpenELEC (if you use a receiver)

- Now choose the option to add more devices, in this case a TV

- Add the TV to your configuration and press save

- Choose the correct channel for OpenELEC

- Press save

- Now all settings should be correct, press next

- Your configuration of the remote is now complete

Make sure you upload the configuration to your Harmony One remote. If you want to add or configure buttons, do this before uploading. Also you may want to change the name of the activity.
Next we're going to add a keymap file to OpenELEC. The below guide will show you how to do this.
Open the map userdata through SAMBA ((access the machine using \\ipaddress). Inside this map, open the folder keymaps and inside make a new file and call it "keymap.xml"
Open the file with Notepad and paste in the following text and save it:
<keymap>
<!-- ************* 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' -->
<global> <keyboard> <r>XBMC.ReloadSkin()</r> <s>Screenshot</s> </keyboard> <remote> <Red>FullScreen</Red> <Green>ToggleWatched</Green> <Yellow>SendClick(25,14)</Yellow> </remote> </global>
<!-- ************************************************ -->
<!-- On the home screen, 1 cleans the library, 2 triggers an update -->
<home> <remote> <one>XBMC.CleanLibrary(video)</one> <two>XBMC.UpdateLibrary(video)</two> </remote> </home>
<!-- Set up Audio Delay Easy Keys -->
<FullscreenVideo> <remote> <Yellow>AudioDelayMinus</Yellow> <Blue>AudioDelayPlus</Blue> </remote> </FullscreenVideo>
<!-- Set up zooming in picture slideshows -->
<Slideshow> <remote> <Yellow>ZoomOut</Yellow> <Blue>ZoomIn</Blue> </remote> </Slideshow>
<!-- make the info window close when info is pressed again -->
<movieinformation> <remote> <info>Close</info> </remote> </movieinformation> <musicinformation> <remote> <info>Close</info> </remote> </musicinformation>
</keymap>
Now close all of your open windows and reboot your OpenELEC machine. When ir's back up, check to see if the remote works. As I haven't added a suspend option in this configuration, the OpenELEC machine will not boot when starting the activity (as it will be powered off). However, it will shut down with the remote.
