Lirc setup with Logitech Harmony Remote


I have a Logitech Harmony 550 remote. Here are the modified files I use for my configuration. For it, I also modify the hotkeys within MythTV for the following JumpPoints:

F3 = Jump to Main Menu
F4 = Jump to Previously Recorded
F5 = Jump to Video Default
F6 = Jump to Music
F7 = Jump to Live TV
F8 = Jump to Pictures

My /home/user/.lircrc:

#Custom lircrc generated via mythbuntu-lirc-generator
#All application specific lircrc files are within ~/.lirc
include ~/.lirc/mythtv
include ~/.lirc/mplayer
include ~/.lirc/xine
include ~/.lirc/vlc
include ~/.lirc/xmame
include ~/.lirc/xmess
include ~/.lirc/totem
include ~/.lirc/elisa
include ~/.lirc/other #here are my irexec commands

My /home/user/.lirc/other:

# Power Button
begin
remote = mceusb
prog = irexec
button = KEY_POWER
repeat = 4
config = /home/wes/run_myth.sh
end

And my /home/user/.lirc/mythtv:

begin
    remote = mceusb_hauppauge
    prog = mythtv
    button = Stop
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = mceusb_hauppauge
    prog = mythtv
    button = Record
    config = R
    repeat = 0
    delay = 0
end

begin
    remote = mceusb_hauppauge
    prog = mythtv
    button = Pause
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = mceusb_hauppauge
    prog = mythtv
    button = Play
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = mceusb_hauppauge
    prog = mythtv
    button = Rewind
    config = 
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Start
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Back
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = More
    config = I
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Volup
    config = ]
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Voldown
    config = [
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Chup
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Chdown
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Up
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Down
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Left
    config = Left
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Right
    config = Right
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Mute
    config = |
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Rectv
    config = R
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Guide
    config = S
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Dvdmenu
    config = M
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 1
    config = 1
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 2
    config = 2
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 3
    config = 3
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 4
    config = 4
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 5
    config = 5
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 6
    config = 6
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 7
    config = 7
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 8
    config = 8
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 9
    config = 9
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = 0
    config = 0
    repeat = 0
    delay = 0
end

begin
    remote = vista_mce
    prog = mythtv
    button = Enter
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = PlayPause
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = Guide
    config = S
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_BACK
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_OK
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_RIGHT
    config = Right
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_LEFT
    config = Left
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_DOWN
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_UP
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = Hash
    config = D
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_AGAIN
    config = Q
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_NEXT
    config = Z
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_STOP
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_PAUSE
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_RECORD
    config = R
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_PLAY
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_REWIND
    config = 
    repeat = 3
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_CHANNELDOWN
    config = Down
    repeat = 3
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_CHANNELUP
    config = Up
    repeat = 3
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_VOLUMEDOWN
    config = [
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_VOLUMEUP
    config = ]
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = More
    config = I
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_MUTE
    config = |
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_HOME
    config = M
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_ENTER
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_9
    config = 9
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_8
    config = 8
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_7
    config = 7
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_6
    config = 6
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_5
    config = 5
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_4
    config = 4
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_3
    config = 3
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_2
    config = 2
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_1
    config = 1
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_0
    config = 0
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = KEY_POWER
    config = F3
    repeat = 0
    delay = 0
end

begin
    remote = mceusb
    prog = mythtv
    button = Star
    config = M
    repeat = 0
    delay = 0
end

begin
   prog = mythtv
# This is the Yellow key
# We'll use it for "Live TV"
   button = KEY_YELLOW
   config = F7
end

begin
   prog = mythtv
# This is the Blue key
# We'll use it for "Videos"
   button = KEY_BLUE
   config = F5
end

begin
   prog = mythtv
# This is the Red key
# We'll use it for "Music"
   button = KEY_RED
   config = F6
end

begin
   prog = mythtv
# This is the Green key
# We'll use it for "Pictures"
   button = KEY_GREEN
   config = F8
end

begin
   prog = mythtv
# This is the List key
# We'll use it for "Recorded TV"
   button = RecTV
   config = F4
end

begin
    prog = mythtv
    button = KEY_CLEAR
    config = _
end

Leave a Reply

Your email address will not be published. Required fields are marked *