It also seems like LibreElec/Kodi might want to to have some way to change the default PowerOff events to directly trigger a power state, without having to bring up the menu first. However it seems that if I hadn't had a couple of old IR remotes to learn some IR commands from, I would have had no way to teach the Harmony and Flirc how to do this. So now I have Kodi suspending and the Chromebox resuming with discrete IR codes. I then taught the Harmony that same IR command, calling it "Suspend", and added it as the power-off command for my Flirc/Kodi device. I took yet another old IR remote for a piece of hardware I no longer had installed, and trained the Flirc to map that remote's power IR command to CTRL-F12, and then used the following keymap.xml: So I eventually followed the advice of this Flirc forum post. In order to force the Chromebox to suspend, I originally tried to change the default behavior in the Keymap by creating my own /storage/.kody/userdata/keyampas/keymap.xml and setting: Once done, the Chromebox only wakes on that specific IR command, and nothing else. I then trained the Flirc by mapping that IR code to "Wake" in the Kodi controller. I eventually solved this by taking an old IR remote I had from a device I no longer had installed, and creating a new Harmony button I named "Resume" and training it with that old remote IR command, and set up the Harmony Flirc/Kodi device with that same code to Power On. So even though there's a Flirc "Wake" event (on the Kodi or Full keyboard controller profiles), I had no corresponding Harmony function/button to map to it. However, there are "Power On" or "Resume" events in the Harmony Flirc/Kodi profile (Just PowerOff). And interestingly the ability to toggle that in the Flirc Advanced menu remained grayed out (not sure why). When I installed the Flirc GUI on a Windows box to program it, it upgraded the firmware on my Flirc, after which it no longer responded to any generic IR event it saw to wake up the Chromebox. so I'm posting here in hopes that it helps others (the other posts I could find on this are rather old), as well as to see if I just missed something obvious.įirstly, just plugging the Flirc in to my Chromebox running Kodi(LibreElec), and setting it up as a Flirc/Kodi device in MyHarmony initially worked pretty seamlessly for control functions, however there were two issues: 1) Any IR command would resume the Chromebox if suspended, and 2) the PowerOff functionality brought up the Kodi power menu, wherein you had to navigate to a selection. Idealy this process should be as simple as turning to Google and looking up something like “ keymap” or “ keyboard shortcuts”.So, I finally got all of this working, but seems like I had to jump through several hoops for what I assume would be somewhat default behavior everyone should want. To that end, the first step in getting Flirc up and running is to determine what keyboard commands do what actions on your media center. Determining Your KeymapĪlthough the Flirc configuration software does thoughtfully include button keymaps for Kodi/XBMC, Boxee, Windows Media Center, Amazon Fire TV, and even mapping for standard keyboard media keys (and we appreciate that thoughtfulness) it’s good to know how to look up and study a keymap without the assistance of the software so that you can effectively map anything to the Flirc (and not just the pre-mapped entries they provide). Let’s look at how to figure out what your device’s keymap is and then how to use Flirc to link the existing keymap with your remote. In order to configure Flirc properly you’ll need three things: the Flirc dongle/software, the remote you want to use with your media center, and a list of the keyboard inputs and shortcuts the media center software in question uses. You see there is a fundamental problem when it comes to linking your typical universal or TV remote to a media center system like a Raspberry Pi running Kodi/XBMC, an Amazon Fire TV, a computer running Plex or Windows Media Center, or the like: these devices are either optimized for their own special remote (such as the bluetooth remote that comes with the Amazon Fire TV) or they are optimized for keymaps that map onto a keyboard (like Kodi/XBMC and Windows Media Center). The Flirc unit is far more clever than a simple storage unit though and works as an absolutely ingenious solution to the problem of linking IR-based remotes to media center software. At first glance it would be remarkably easy to confuse the Flirc unit with an actual thumb drive as the clear case, visible circuit board, and the IR receiver points (that look much like LED indicator lights) all strongly echo the design of thumb drive storage. Flirc ($20) is a tiny USB dongle about half the size of a traditional thumb drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |