[Apple TV] Logitech Harmony Remote support with XBMC for AppleTV?
#71
Hi there, just wanted to add my two cents. I have it working on my harmony remote... for the most part. But, it seems to act as if it has two different modes, which I'll call "universal" and "regular". Hitting a universal button while in regular mode causes that specific button to fail (the menu_hold is not recognized but it's followup commands are) but it will then put it in "universal" mode. While in universal mode, universal commands will work but if I hit a non universal button (say, the center play button), that button will not work but then put it back in "regular" mode.

I hope I am making sense in describing this. Here is a console log which might give a better explanation. For purposes of this example, we're starting out in universal mode. I hit my universal pause button (which works):

Code:
2009-03-22 04:58:45.527 xbmchelper[189] (pressed) Menu holding
2009-03-22 04:58:45.527 xbmchelper[189] [DEBUG] Starting sequence with token 14
2009-03-22 04:58:45.527 xbmchelper[189] (released) Menu holding
2009-03-22 04:58:45.939 xbmchelper[189] (pressed) Volume up
2009-03-22 04:58:45.939 xbmchelper[189] [DEBUG] Extended sequence to 149
2009-03-22 04:58:46.105 xbmchelper[189] (released) Volume up
2009-03-22 04:58:46.105 xbmchelper[189] [DEBUG] Discarded button up event for sequence
2009-03-22 04:58:46.314 xbmchelper[189] (pressed) Volume up
2009-03-22 04:58:46.314 xbmchelper[189] [DEBUG] Extended sequence to 1499
2009-03-22 04:58:46.405 xbmchelper[189] (released) Volume up
2009-03-22 04:58:46.406 xbmchelper[189] [DEBUG] Discarded button up event for sequence
2009-03-22 04:58:46.907 xbmchelper[189] [DEBUG] XBMCClientWrapperImpl::sendSequence: sent sequence 1499 as button 35

A few seconds later I hit the middle pause/play button (or in my case, the OK button). Because I am in this universal mode, it does NOT work:

Code:
2009-03-22 04:58:51.055 xbmchelper[189] Unknown button for cookiestring 22_15_9_15_9_

Now at this time we are in regular mode, so I hit the same pause button, but it errors out on the menu_hold portion:

Code:
2009-03-22 04:58:55.690 xbmchelper[189] Unknown button for cookiestring 22_15_6_15_6_
2009-03-22 04:58:56.138 xbmchelper[189] (pressed) Volume up
2009-03-22 04:58:56.301 xbmchelper[189] (released) Volume up
2009-03-22 04:58:56.525 xbmchelper[189] (pressed) Volume down
2009-03-22 04:58:56.688 xbmchelper[189] (released) Volume down

At this point it appears to be back in the universal mode, and hitting this universal button again now succeeds:

Code:
2009-03-22 04:58:59.473 xbmchelper[189] (pressed) Menu holding
2009-03-22 04:58:59.473 xbmchelper[189] [DEBUG] Starting sequence with token 14
2009-03-22 04:58:59.473 xbmchelper[189] (released) Menu holding
2009-03-22 04:58:59.923 xbmchelper[189] (pressed) Volume up
2009-03-22 04:58:59.924 xbmchelper[189] [DEBUG] Extended sequence to 149
2009-03-22 04:59:00.085 xbmchelper[189] (released) Volume up
2009-03-22 04:59:00.085 xbmchelper[189] [DEBUG] Discarded button up event for sequence
2009-03-22 04:59:00.308 xbmchelper[189] (pressed) Volume down
2009-03-22 04:59:00.308 xbmchelper[189] [DEBUG] Extended sequence to 14911
2009-03-22 04:59:00.471 xbmchelper[189] (released) Volume down
2009-03-22 04:59:00.471 xbmchelper[189] [DEBUG] Discarded button up event for sequence
2009-03-22 04:59:00.972 xbmchelper[189] [DEBUG] XBMCClientWrapperImpl::sendSequence: sent sequence 14911 as button 36

I guess my first question would be, what that specific "Unknown button for cookie string" error is. Searching through these forums, I found a cookie string error starting with 280_ but not one for this 22_ code. Any ideas or clues? This is really not a deal breaker or anything, I'm just trying to make it as "wife proof" as I can, because she does not share my enjoyment of bleeding edge technologies (as well as the beta-level tweaking that goes with it) Smile

One last thing that might be purely coincidental but probably worth mentioning. I found that putting my Keymap.xml in the URL listed earlier in this thread (~/Library/Application Support/XBMC/userdata/) did not seem to work. Instead, I modified the existing Keymap.xml in /Applications/XBMC.app/Contents/Resources/XBMC/system/Keymap.xml and added the universal commands found in the atv-xbmc-launcher wiki. I was able to verify it was reading the Keymap.xml from there because I temporarily changed my up arrow to go down instead, and it behaved as expected.

Below are all the specs I can think of for my environment. Thanks!

Logitech Harmony 890 Remote
AppleTV version 2.1
XBMC Atlantis bf1
Launcher 2.3
The latest xbmchelper from the URL in this thread copied over to /Applications/MultiFinder.app/Contents/Resources/
Reply


Messages In This Thread
[No subject] - by Tim. - 2008-10-21, 22:39
[No subject] - by CASHMON3Y - 2008-10-22, 01:40
[No subject] - by xeonicxpression - 2008-10-22, 06:59
[No subject] - by Tim. - 2008-10-22, 08:56
[No subject] - by MaestroDD - 2008-10-22, 10:41
[No subject] - by CASHMON3Y - 2008-10-22, 13:05
[No subject] - by MaestroDD - 2008-10-22, 14:01
[No subject] - by yozh - 2008-10-22, 18:42
[No subject] - by Tim. - 2008-10-22, 22:14
Resolved - by hobartgeorge - 2008-11-11, 23:51
[No subject] - by MaestroDD - 2008-11-16, 23:32
[No subject] - by XBMC4Ever - 2008-11-16, 23:58
[No subject] - by darklordjames3 - 2009-01-17, 18:23
[No subject] - by MaestroDD - 2009-01-17, 19:14
[No subject] - by darklordjames3 - 2009-01-17, 19:28
[No subject] - by darklordjames3 - 2009-01-18, 06:36
[No subject] - by MaestroDD - 2009-01-18, 20:40
[No subject] - by darklordjames3 - 2009-01-18, 21:04
[No subject] - by raydevos - 2009-01-19, 18:34
[No subject] - by MaestroDD - 2009-01-19, 18:48
[No subject] - by raydevos - 2009-01-20, 03:55
[No subject] - by MaestroDD - 2009-01-20, 10:20
[No subject] - by darklordjames3 - 2009-01-20, 16:22
[No subject] - by Brandroid - 2009-01-27, 14:51
[No subject] - by MaestroDD - 2009-01-27, 15:51
[No subject] - by Brandroid - 2009-01-27, 16:29
[No subject] - by Brandroid - 2009-01-28, 03:46
[No subject] - by MaestroDD - 2009-01-29, 00:14
[No subject] - by Brandroid - 2009-01-29, 06:01
[No subject] - by MaestroDD - 2009-01-29, 12:37
[No subject] - by Brandroid - 2009-01-30, 03:31
[No subject] - by MaestroDD - 2009-01-30, 13:23
[No subject] - by Brandroid - 2009-01-30, 16:24
[No subject] - by MaestroDD - 2009-02-03, 14:13
[No subject] - by davilla - 2009-02-03, 17:49
[No subject] - by Brandroid - 2009-02-04, 03:21
[No subject] - by MaestroDD - 2009-02-04, 15:53
[No subject] - by Brandroid - 2009-02-04, 19:48
[No subject] - by MaestroDD - 2009-02-06, 16:55
[No subject] - by davo - 2009-02-07, 01:37
[No subject] - by OjNK - 2009-02-07, 03:07
[No subject] - by MaestroDD - 2009-02-07, 16:15
[No subject] - by Brandroid - 2009-02-08, 04:29
[No subject] - by sircube - 2009-02-12, 15:05
[No subject] - by Brandroid - 2009-02-12, 22:47
[No subject] - by Brandroid - 2009-02-13, 16:26
[No subject] - by sircube - 2009-02-13, 20:03
[No subject] - by MaestroDD - 2009-02-13, 22:03
[No subject] - by Brandroid - 2009-02-17, 04:02
[No subject] - by MaestroDD - 2009-02-17, 18:00
[No subject] - by Brandroid - 2009-02-17, 18:19
[No subject] - by MaestroDD - 2009-02-17, 19:44
[No subject] - by Brandroid - 2009-02-17, 19:59
[No subject] - by Brandroid - 2009-02-18, 04:03
[No subject] - by sircube - 2009-02-18, 11:13
[No subject] - by Brandroid - 2009-02-18, 17:10
[No subject] - by MaestroDD - 2009-02-18, 18:23
[No subject] - by Brandroid - 2009-02-18, 19:18
[No subject] - by Plan9 - 2009-02-21, 16:00
[No subject] - by MaestroDD - 2009-02-23, 11:20
[No subject] - by Plan9 - 2009-02-26, 01:28
[No subject] - by BladeRnR - 2009-02-28, 07:12
[No subject] - by davilla - 2009-02-28, 17:18
[No subject] - by davo - 2009-03-18, 07:56
[No subject] - by MaestroDD - 2009-03-19, 00:18
[No subject] - by aedile - 2009-03-20, 00:56
[No subject] - by davo - 2009-03-21, 01:30
[No subject] - by davo - 2009-03-21, 01:37
[No subject] - by aedile - 2009-03-21, 20:03
[No subject] - by FreddieD - 2009-03-22, 07:27
[No subject] - by MaestroDD - 2009-03-22, 16:37
[No subject] - by FreddieD - 2009-03-23, 08:13
[No subject] - by MaestroDD - 2009-03-23, 15:29
[No subject] - by FreddieD - 2009-03-24, 01:56
[No subject] - by FreddieD - 2009-04-13, 17:43
[No subject] - by thebookfreak58 - 2010-11-17, 02:06
[No subject] - by Fougueux - 2011-01-22, 16:51
[No subject] - by lbbeurmann - 2011-02-09, 04:25
[No subject] - by thebookfreak58 - 2011-02-09, 04:53
[No subject] - by jpf55 - 2011-03-02, 23:02
Logout Mark Read Team Forum Stats Members Help
[Apple TV] Logitech Harmony Remote support with XBMC for AppleTV?0