I have a harmony one remote that I am trying to map the “Blue” button on the screen to shut off a Rasplex service (hyperion). I have the shell script and keymap xml(s) in place on my Rasplex install, but it isn’t getting invoked by the blue key on my Harmony One with the Flirc Device selected. My thinking is that the flirc device doesn’t know what the blue button does.
I don’t know if I’m supposed to use a remote.xml with the following:
<keymap>
<global>
<remote>
<blue>XBMC.System.Exec("/storage/hyperion/hyperionswitch.sh")</blue>
</remote>
</global>
</keymap>
Or a keyboard.xml with the following (I think this since the Flirc is a “virtual keyboard”):
<keymap>
<global>
<blue>XBMC.System.Exec("/storage/hyperion/hyperionswitch.sh")</blue>
</global>
</keymap>
A last resort was to create a f15 keymap to the “Blue” flirc device button on my harmony with this keyboard.xml file:
<keymap>
<global>
<keyboard>
<f15>XBMC.System.Exec("/storage/hyperion/hyperionswitch.sh")</f15>
</keyboard>
</global>
</keymap>
As it stands, I’ve tried both, and when I press the blue button on the remote, the expected action doesn’t work. But when I invoke the shell script via SSH in Rasplex, it works fine.
Any tips would be great on how anyone else is getting custom keys, specifically the color ones, to do an action.