I'm hoping someone can summarise how to make an infrared remote control
perform a specified function on a Squeezebox player.

My scenario:
I've just bought a 'oneforall' 4-in-1 remote control.  The TV and
satellite receiver setup were easy, using the standard codes for the
brands.  My amplifier (a home-build using a Hypex DLCP) was easily set
up on the 'AMP' button using the remote's learning function, as was my
RPi (running pCP and LIRC) on the 'DVD' button.  But there are some
functions that I'd like to programme that are not present on either of
my Squeezebox remotes, so my oneforall can't 'learn' them.

As an example, I'd like to programme the mute key to set the playback
volume to zero.  I've done this previously using a button press on one
of the RPi's GPIO pins, so I know that the ["mixer","volume","0"]
command does what I need.

So I think there are two steps:
1) Find out what code is transmitted by the mute key when my remote is
set to 'DVD'.  I can vary this somewhat by selecting different DVD
brands, but I can't assign a specific code to the mute key, so I believe
the correct approach is to first detect the code that's transmitted,
then 
2) tell LMS to set ["mixer","volume","0"] in response to that code.

I'm pretty sure there's info on step 2 available in this forum, so I'll
dig that out, but is there an easy way to get LMS to tell me what code
it detected when I pressed the mute key?


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110318

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to