chrism;510216 Wrote: > > I have thought of an idea. > > ...receive an arbitary IR signal through its receiver and in response > issue one or more arbitary commands through its headphone socket. > > This would allow me (for example) to press power-on on my DVD remote > and in response, the SB to issue an amp on, amp input select, tv input > select and dvd on command. True macro functionality using supplied > remotes and my squeezebox for not a lot of money! > > Thoughts?
IR Blaster 5.4 defines an 'irblaster' 'send' CLI command. If you can program your remote to send JVC DVD codes, then you many be able to set this up without writing a single line of Perl code. Use KidsPlay to map specific JVC DVD IR codes to sequences of 'irblaster' 'send' CLI commands. The usage for 'irblaster send' is Code: -------------------- irblaster send device button -------------------- but I'm not sure what those values should look like. To find out, set IRBlaster logging to debug and send the commands. The value for device is the "remoteName" in the log's IRBlastSend entry (the button value is labeled "button" in an IRBlastSend log entry). -- peterw http://www.tux.org/~peterw/ Free plugins: 'AllQuiet' (http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay' (http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver' (http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu' (http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial' (http://www.tux.org/~peterw/slim/DenonSerial.html) 'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay' (http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer' (http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog' (http://www.tux.org/~peterw/slim/PlayLog.html) 'PowerCenter/BottleRocket' (http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher' (http://www.tux.org/~peterw/slim/SaverSwitcher.html) 'SettingsManager' (http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade' (http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst' (http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions' (http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock' (http://www.tux.org/~peterw/slim/VolumeLock.html) ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=74479 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins