XBMC Community Forum
[MAC] HOW-TO setup Logitech Harmony Remote for use with XBMC for Mac OS X - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [MAC] HOW-TO setup Logitech Harmony Remote for use with XBMC for Mac OS X (/showthread.php?tid=55660)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


[MAC] HOW-TO setup Logitech Harmony Remote for use with XBMC for Mac OS X - ctawn - 2009-07-31 19:24

Note: Snow Leopard 10.6.0 and 10.6.1 broke the IR interface, but 10.6.2 is supposed to fix this. In the meantime, if you are on 10.6.0 or 10.6.1, you must use a current SVN build of XBMC as of late October 2009 or better, version 9.11 alpha 2 or higher. Please see this thread for clarification.

Since I suggested such a guide and developer MaestroDD threw it back at me and asked me to write one, here is a step-by-step guide to setting up a Harmony One remote for use with XBMC on Mac OS X.

Note that a lot of this will repeat the great info already provided by Maestro in this thread, but with some additional notes and screenshots, etc. It is geared toward users of the current distribution version of XBMC for Mac OS X rather than the most-hard core modder types.

Here's what you need to know to start off:
  • Steps marked * should not be necessary after XBMC version 9.04.1 because the working XBMC remote-helper beta version will have already been included and a known bug will have been fixed.
  • Steps marked ** should not be necessary after XBMC version 9.11 alpha 2.
  • You will be installing and editting a custom Keymap.xml file (not necessary after version 9.11 alpha 2) and adding a Plex Media PC to your Harmony One Devices and customizing its buttons.

A: Set up XBMC and OS X to work with the Harmony One

1. You must UNPAIR any Apple Remotes you have already paired with OS X in System Preferences -> Security -> General.

2. In XBMC's System Settings for Apple Remote, set it to Standard and not Universal Remote. On newer SVN builds or any version 9.11 or higher, set it to Multi-Remote.

3. If you are interested in the ability to launch XBMC using the Menu button on your Harmony One, enable the Always On setting. Please note that this will prevent the use of the Harmony One OR any Apple Remote by any other applications, including Front Row, Sofa Control, Remote Buddy, Plex, etc. If using a version of XBMC up until 9.04.1, you must also work around a known bug. See the end of the next section on how to do this.


B*: Set up the XBMC application

1*. If you are reading this after the release of the next version of XBMC following version 9.04.1, or are using a newer SVN build, skip this section.

2*. Quit XBMC.

3*. On versions of XBMC up until 9.04.1, download this beta version of the XBMCHelper.

4*. Replace XBMCHelper in the XBMC application package folder (/Application/XBMC.app/Contents/Resources/XBMC/tools/osx/) with the new version. If you do not know how to do this, select the XBMC application and control-click (right-click). The select "Show Package Contents" from the contextual menu and navigate to this directory.

5*. Make the version of XBMCHelper that you just replaced executable. Copy & paste this into a new Terminal window:

Code:
chmod +x /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper

For those afraid of Terminal, there are applications that allow you to edit permissions (including 'execute') with a GUI, such as Super Get Info.

6*. On versions of XBMC up until 9.04.1, there was a bug that prevented XBMC from saving the system setting to always keep the universal remote on. If interested in correcting this (see below), then you must modify the contents of a preference file and make that file read-only. Here are the details.

C: Install a custom Keymap.xml file

1**. If you are using any version starting with 9.11 alpha 2 you can skip this section, as the correct keymap for the Plex configuration shown here is now the default. If you previously have installed this custom keymap file in your user domain (Step C5 here), you can now remove it if you choose.

2**. Quit XBMC

3**. Download my custom Keymap.xml file (based on the one provided by Maestro). The main difference is I mapped a number of additional functions to Function keys that are shown in the screenshots in the next section. (Note that the actual function key mappings are completely arbitrary but they correspond to what I used in the screenshots below).

4**. Unzip the file

5**. Copy it to your userdata folder (~/Library/Application\ Support/XBMC/userdata/)

D: Configure your Harmony One Remote

1. We'll assume you've installed the Logitech Harmony Remote software and have already used it to configure other devices.

2. Create a new device of type "Media Center PC", brand Plex, and type "Plex Player" into the box.

3. Create a new Activity using this Plex Player device and any other devices you need (TVs, amps, etc).

4. Rename this Activity something like "Watch XBMC"

5. Customize the buttons for this Activity as shown in these screenshots.

[Image: harmony01.jpg]
[Image: harmony02.jpg]
[Image: harmony03.jpg]
[Image: harmony04.jpg]

(See following post for remaining screen shots as each post is limited to 6)

6. Note a couple buttons mapped to my own AV Receiver you will want to adjust accordingly, and also you may want additional buttons for your other equipment.

7. Upload changes to remote

8. Hit the Menu button to launch XBMC (assuming you followed Step A3) or launch it from the Finder/Dock

9. Enjoy!


Remaining Harmony Screenshots - ctawn - 2009-07-31 19:24

[Image: harmony05.jpg]
[Image: harmony06.jpg]
[Image: harmony07.jpg]

Note: As indicated in section C above, XBMC 9.11 alpha 2 and higher includes the corresponding keymap configuration for this set-up by default. In addition it includes the following maps not shown in the above screen shots, that you can add if you want to an another "Additional Buttons" soft screen of your Harmony configuration:

Code:
Red     --> Codec Info
Green  --> Settings
Yellow --> System Settings
Blue    --> System Info



- BDPNA - 2009-08-01 03:55

Amazing post. I cannot WAIT to try this. Starting my configuration now.

THANK YOU!


- Tbtf - 2009-08-04 23:14

I followed all the instructions and installed the keymap.xml file. Skipped step because I used the newest version. The remote works but it is not behaving correctly when i hit exit it acts as UP on the remote. I installed Plex and the harmony remote is working perfectly any ideas? Sad


- MaestroDD - 2009-08-05 09:27

Tbtf Wrote:I followed all the instructions and installed the keymap.xml file. Skipped step because I used the newest version. The remote works but it is not behaving correctly when i hit exit it acts as UP on the remote. I installed Plex and the harmony remote is working perfectly any ideas? Sad

Did you set AppleRemote to Harmony in XBMC?


- Tbtf - 2009-08-05 09:37

there was no harmony option i just set it to standard?


- MaestroDD - 2009-08-05 10:32

Tbtf Wrote:there was no harmony option i just set it to standard?

doesn't fit to:
Tbtf Wrote:Skipped step because I used the newest version.

linuxport has harmony support since ~9.04.1.
Please post xbmc.log


- ctawn - 2009-08-05 15:39

yes, standard. changed above.

and i'm not sure what Maestro means by linuxport, but the Mac release version posted on sites like MacUpdate is still 9.04.1 and as I understand it, this does not yet include the Harmony support -- therefore installing the beta xbmchelper remains necessary as of 8/5/2009.


- STB83 - 2009-08-14 10:52

I have the same problem as Tbtf. The remote (harmony 525) is working, but I don't get the correct responses (for example, pressing OK in the menu gets me to the hardware-info in XBMC). But if I choose Plex Player in devices on the remote, everything works perfectly! How can that be? If we focus on the OK-button, I have chosen the same buttons in Logitechs configurations for that command. Confused

I have installed(I guess?) the xbmchelper, but I still only can choose between Standard and Universall in the XBMC-settings. I have the latest XBMC version, 9.04.1.


Solved it - STB83 - 2009-08-14 11:04

Solved it right away after I wrote the question. A little bit of a newbie-mistake.
Since I'm swedish, Logitechs software translates the commands after each command, so I got two diffrent "OKConfused" in the button configuration, "Enter (OK)" and "OK(OK)". Now everything works perfectly, thanks alot guys!! Big Grin


- jpf55 - 2009-08-17 16:23

Hi, Should this be working for the AppleTV version? I have svn 22182 on the mac and on the AppleTV, the mac already had the HELPER but not the AppleTV so I installed it and made it executable. I created Plex on the Harmony, set XBMC to Standard remote and not one button works... hence my original questions. Any help is greatly appreciated.

I noticed while setting up the device in Harmony that there is an entry for Xbox, has anyone tried that for the XBMC-AppleTV?


Apple Tv - Peaf - 2009-08-22 12:42

Tried this in Appletv but the buttons are all messed up....

Not working...


- fantasygoat - 2009-08-23 05:58

I did this on my Mac Mini and the standard buttons work - up, down, left, right, menu - but anything else like Fast Forward or Forward Skip just raise and lower the volume.

I'm assuming this is something in the Keymap?

Also, I notice the Harmony response time on button presses is much slower than the Apple Remote. Not sure if that's the Harmony or not.


- McGilli - 2009-08-28 22:14

Did anyone ever get the buttons working properly on the Apple TV?

The last few posts indicate not....


- MaestroDD - 2009-08-30 16:24

McGilli Wrote:Did anyone ever get the buttons working properly on the Apple TV?

The last few posts indicate not....

There's currently no native Harmony support on the ATV, sorry. Instead one can use the native ATV feature to learn 3rd party remote commands (like Play, Next etc.)