Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DaveSanDiego

macrumors member
Original poster
May 12, 2020
79
116
Does anyone know how to have a Swift app respond directly to any/all of the buttons of the Harmony 650 remote?
I use one instead of the Siri Remote and it does the normal TV functions just fine.

What I would like to do is have my Swift app respond in much the same way as a Game Controller would

FYI... I have code to respond to the Siri Remote and mFI game controllers, but would like to offer yet another option if possible
 
Thanks.. but two problems
1) that is not Swift/Xcode (or at least not anything I've ever seen)
2) It is marked specifically for use with the Harmony HUB, with is NOT the same as the Harmony 650

but thanks
 
apple's IR "pairing" is really 255 ID codes sent along with the commands, so it sends "left-130" or "right-245."
pairing causes the receiver to only listen to one ID code, unpaired receivers listen to any code

I remember a while back, there was a harmony profile that used different combos of commands and ID codes that mapped to all the different buttons on the harmony remote.
it was something like... (these are just random examples)
1 - "left-120"
2 - "right-120"
8 - "left-121"
9 - "right-121"
and so on

I was able to use that profile with remote buddy - https://www.iospirit.com/products/remotebuddy/
I used it to control XMBC and/or plex.
it may or may not have required a special driver for the IR receiver - https://www.iospirit.com/labs/candelair/

It's probably been 10+ years since I've used this so my memory is fuzzy. This was in the days before appleTV, and I was using a Mac mini as a media center.
I'm not sure how updated anything is, or if it's still available, or if you can do anything with this in swift,

Hopefully this might point you towards an answer or help you with ideals.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.