[WINDOWS] HOW-TO use a Logitech Harmony Remote with XBMC

  Thread Rating:
  • 13 Votes - 4.69 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bodhi Offline
Fan
Posts: 423
Joined: Sep 2010
Reputation: 1
Post: #831
(2013-04-13 22:40)rattyjunk Wrote:  Is it correct in assuming that the majority of the general buttons go in tab 2??

One last thing, I see jjd-uk suggests adding a third device, seeing as I have the 1100 is this recommended, and how does this factor into the MCE Keyboard and XBMC (sw) configuration?

Anyway, any quick pointers or suggestions would be appreciated and thank you to sufreak,vanOert, and jjd-uk for all the nice info.

Yes. Since the 1100 has only few hard buttons, the majority of the buttons should be in LCD pages. They must be there so you can program them in activities.

The 3rd device is MCE SE? it's needed for combo keys such as Alt-F4, Ctrl-xxx, Win+n,.... The power signals from the MCE SE also are more reliable.

When you create activity, you will select devices to add into it. So if you want to use a button from a device in activity, select them from the drop-down arrow on each line.

To bind a key to an XBMC action, see this:
http://forum.xbmc.org/showthread.php?tid...#pid735331

Hope this helps!
-bodhi
find quote
daffeh Offline
Junior Member
Posts: 33
Joined: Dec 2010
Reputation: 0
Post: #832
I redid my install and have a few issues now:
1. Xbmc is pinned as 4th item on my taskbar but the Win+4 and Alt+F4 on my "Microsoft Windows Media Center SE Media Center PC" device don't do anything
2. I can't seem to shutdown my HTPC when running XBMC (or in windows 7 for that matter) via the power button on my Harmony 900. Am I missing any power settings in Windows 7 / Xbmc 12?
find quote
bodhi Offline
Fan
Posts: 423
Joined: Sep 2010
Reputation: 1
Post: #833
(2013-04-17 10:22)daffeh Wrote:  I redid my install and have a few issues now:
1. Xbmc is pinned as 4th item on my taskbar but the Win+4 and Alt+F4 on my "Microsoft Windows Media Center SE Media Center PC" device don't do anything

2. I can't seem to shutdown my HTPC when running XBMC (or in windows 7 for that matter) via the power button on my Harmony 900. Am I missing any power settings in Windows 7 / Xbmc 12?

If you can't shutdown Win 7, it could be:

- Power setting in Win7
- Harmony device: try a different button on MCE SE. If it does not work either then you can try re-update your Harmony remote profile (just reload it).

Based on your number 2, it's likely the problem is with the Harmony device. Restart Win 7 first, if does not work, reload the Harmony profile.
find quote
daffeh Offline
Junior Member
Posts: 33
Joined: Dec 2010
Reputation: 0
Post: #834
For anyone searching for this.
This is what I did for windows 7, Xbmc 12.0 and a Logitech Harmony 900:
Mobo: A55 Pro3 - ASRock (check wake on usb in bios)
Receiver: IR605Q (rc6, shows up as genuine in device manager)
I can now start from cold boot and shutdown again.

The only thing that doesn't seem to work is sending Win+# & ALT+F4 (other softbuttons work)

I started by following the guide from the sticky
http://forum.xbmc.org/showthread.php?tid=54466
I added a Microsft MCE Keyboard and a Microsoft windows Media Center SE
Then i added my devices (TV, Receiver)
The I configured the activity buttons like in that thread (except i bound back to esc)
I configured the softbuttons and optimized the speeld to 1500/0/1000/500) and put the two troubleshooting speed values to 0
The I adjusted the power settings for my two MCE devices to 'off when not in use' and with one button for both which I configured to powertoggle

I also added this to
C:\users\<USERNAME>\AppData\Roaming\XBMC\userdata\keymaps\keyboard.xml

Code:
<keymap>
<FullscreenVideo>
<keyboard>
<u>RunScript(script.xbmc.subtitles)</u>
</keyboard>
</FullscreenVideo>
<global>
    <keyboard>
      <k>UpdateLibrary(video)</k>
      <w>ToggleWatched</w>
      <two>JumpSMS2</two>
      <three>JumpSMS3</three>
      <four>JumpSMS4</four>
      <five>JumpSMS5</five>
      <six>JumpSMS6</six>
      <seven>JumpSMS7</seven>
      <eight>JumpSMS8</eight>
      <nine>JumpSMS9</nine>
    </keyboard>
  </global>
</keymap>
I bound U to red button and L & t to green and yellow (subtitle controls)
I bound Tab to blue button (for quick 'honey, what's the time actions Smile)
I also bound up arrow and down arrow (not up and down) to leftbracket and richtbracket because many people would use those buttons for + - 10 mins.

Now try out your activity. It should all boot up. If the pc does not boot up, push the help button and do a guided help. When you arrive at MCE keyboard, try to turn it on. It should now boot up. 1/10 I need to do this, no clue why.

Now I installed XBMCLauncher (http://forum.xbmc.org/showthread.php?tid=136798) and set XBMC to my shell. Add a 5 second delay if your mappings are never there.

Ok, great you now have a fully working XBMC HTPC that looks awesome when booting up (no more people saying that it's a pity you pass via windows)

Now for the shutting down part.
Whenever I shut down (via power on harmony), everything would shut down except the PC.
I enabled debug and saw that the PC does in fact not try to shutdown as my remote sends the S key when shutting down which just opens the exit context menu.

One way is to open your keymap file and everywhere replace the action for <s> to XBMC.Powerdown but that is not what I wanted.

Go to Windows power options and change shutdown action to shutdown and sleep action to nothing (so you don't sleep and think you shut down). Some harmony remotes send a sleep.
Then I used this post (http://forum.xbmc.org/showthread.php?tid...pid916467) as follows:
Now go to the registry and look for this key:
Code:
start > run > regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da\
you need to change binary value ReportMappingTable from
Code:
0c,00,00,00,04,00,16,
to
Code:
0c,00,00,00,03,81,00,
You can try to edit it directly with regedit, but that is not really straightforward for the not IT savvy.
Here is a simple trick:
right-click the key (745a17a0-74d3-11d0-b6fe-00a0c90f57da) and export it to a reg file
Edit the reg file (with notepad++) and you will find something like this:
Code:
"ReportMappingTable"=hex:00,00,00,00,04,00,27,01,00,00,00,04,00,1e,02,00,00,00,\
  04,00,1f,03,00,00,00,04,00,20,04,00,00,00,04,00,21,05,00,00,00,04,00,22,06,​\
  00,00,00,04,00,23,07,00,00,00,04,00,24,08,00,00,00,04,00,25,09,00,00,00,04,​\
  00,26,0a,00,00,00,04,00,29,0b,00,00,00,04,00,1d,0c,00,00,00,04,00,16,0d,00,​\
  00,00,04,05,28,0e,00,00,00,04,00,41,0f,00,00,00,04,01,07,10,00,00,00,04,00,​\
  43,11,00,00,00,04,00,42,12,00,00,00,04,00,4b,13,00,00,00,04,00,4e,14,00,00,​\
  00,04,03,09,15,00,00,00,04,03,05,16,00,00,00,04,03,13,17,00,00,00,04,00,14,​\
  18,00,00,00,04,01,13,19,00,00,00,04,03,16,1a,00,00,00,04,01,09,1b,00,00,00,​\
  04,01,05,1c,00,00,00,04,01,44,1d,00,00,00,04,03,25,1e,00,00,00,04,00,52,1f,​\
  00,00,00,04,00,51,20,00,00,00,04,00,50,21,00,00,00,04,00,4f,22,00,00,00,04,​\
  00,28,23,00,00,00,04,00,2a,24,00,00,00,04,00,10,25,00,00,00,04,00,17,26,00,​\
  00,00,04,00,06,27,00,00,00,04,00,2b,47,00,00,00,04,01,10,48,00,00,00,04,00,​\
  12,49,00,00,00,04,01,0c,50,00,00,00,04,01,04,4a,00,00,00,04,01,08,4e,00,00,​\
  00,04,01,22,5a,00,00,00,04,01,45,5b,00,00,00,04,00,2b,5c,00,00,00,04,00,0f,​\
  5d,00,00,00,04,01,1c,5e,00,00,00,04,00,1a,6e,00,00,00,01,cd,00,65,00,00,00,​\
  03,82,00,3b,00,00,00,01,04,02,32,00,00,00,04,00,2b,33,00,00,00,01,83,01,46,​\
  00,00,00,04,03,17
Search for the first 0c entry, leave the next three 00 values, change the next 04 to 03, then 00 to 81 and the 16 to 00.
Exit and shutdown your PC.

Start up your activity again and now shutdown should work

that's all folks

TL;DR: My guide for Wake from S5 + XBMC shell + shutdown via harmony 900 with AsRock wake from usb mobo and IR605Q receiver
find quote
rasstar Offline
Junior Member
Posts: 33
Joined: Dec 2010
Reputation: 0
Post: #835
(2013-04-02 18:07)bodhi Wrote:  
(2013-04-02 10:08)prawnee Wrote:  I did have the powertoggle on the original mapped to sleep/wake. I've now changed it to launch the shutdown menu and I've just set the pc to sleep after 5 minutes of idle so I don't actually turn it off using the Harmony, just to wake it up. It seems it now responds to power on using my activity. If I change activity it sends the same power on key to end the activity, but obviously this key doesn't do anything (please correct me if I've got that totally wrong!)

Check your HTPC power settings, is it set to "use the power button to sleep/wake" ? that setting allows you to use the power toggle to sleep/wake it.

I use my harmony to turn on and off my htpc. There is the ability for a dedicated on and off button but it only works with some ir receivers.
find quote
weirdinin Offline
Junior Member
Posts: 3
Joined: May 2013
Reputation: 0
Post: #836
I have problem with my harmony 900 remote. If I set "Computer – Media Center PC – Microsoft – Windows Media Center SE”, everything works and I can control my htpc. But when I try to use "MCE Keyboard" instead of "Windows Media Center SE", it seems that htpc does not correspond at all. Any ideas what could be the reason why MCE Keyboard is not working?

My mce remote is this one: http://www.hd-plex.com/hdplex-internal-m...ntrol.html

Could it be possible that my mce remote is somehow not compatible with harmony 900? If so where I could buy a remote which works also with mce keyboard?
find quote
Post Reply