Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-08-15 Thread lrossouw

Hi

I know this is late, but you can add a number of button presses to the
power on event.  I.e. it can turn the power on and then switch input.

Just press the + to add more commands on the power on event on the
settings page.

Regards
Louis


-- 
lrossouw

Louis
'Last.fm' (http://www.last.fm/user/lrossouw)

lrossouw's Profile: http://forums.slimdevices.com/member.php?userid=3416
View this thread: http://forums.slimdevices.com/showthread.php?t=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-06-10 Thread peterw

Jayhawk;553944 Wrote: 
> 
> Scenario: Source inputs to HK amp are SB3 and another AVR.  HK is
> driving speakers at an outdoor hottub.  The hottub is outdoors with a
> picture window looking into the FamilyRm that has a large flatpanel on
> wall (so can watch TV from the hottub).  Want to use Duet Controller
> from the hottub to switch hottub speakers between SB3 music source and
> AVR/TV audio so can hear TV audio instead of SB3 audio when watching TV
> from the hottub.
> 
> Is there a way to get IRBlaster to react to another Duet Controller
> button?

IIRC, IR Blaster provides CLI commands for sending IR codes, so I'd
suggest something like an SBS plugin that provides a
Jive/Controller/Squeezeplay interface for changing sources. Select a
source from this new menu on Controller and your new plugin would
execute IR Blaster CLI commands to send commands to the HK. You could
also write this as an applet running on Controller, using Lua code on
Controller to send the IR Blaster CLI command via Comet. I think a
plugin makes more sense (an applet by default would show the choice
even if you were using MySqueezebox.com, in which case it wouldn't
work), but the biggest issue is probably whether you'd rather write
Perl or Lua code.


-- 
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=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-06-10 Thread Jayhawk

Have IRBlaster working OK SB3 to Harman Kardon (HK) 240 AVR with a
direct link... powering the amp on and off with the on/off of SB3.  I
am not able, however to accomplish what I'd hoped for... maybe I'm
missing something?

I need to be able to change the source input on the HK, but not as
mentioned above, as part of the on/off or vol+/- actions.  The source
cmds to the HK do work (I used them as an added command to the on/off
action for testing) but I need to change the input source on the HK
without turning the HK on/off or changing volume.

Scenario: Source inputs to HK amp are SB3 and another AVR.  HK is
driving speakers at an outdoor hottub.  The hottub is outdoors with a
picture window looking into the FamilyRm that has a large flatpanel on
wall (so can watch TV from the hottub).  Want to use Duet Controller
from the hottub to switch hottub speakers between SB3 music source and
AVR/TV audio so can hear TV audio instead of SB3 audio when watching TV
from the hottub.

Is there a way to get IRBlaster to react to another Duet Controller
button?  e.g. the Home button is not essential for duet control (like
on/off and vol+/- are) and could be used to trigger SB3 to send the HK
DVD/CD IRcmd that toggles between the HK DVD and CD source inputs (that
will have SB3 and AVR as feeds).  If it matters, I could give up the Vol
+/- buttons to add the Home button and stay within the GUI page limit of
four buttons.


-- 
Jayhawk

Jayhawk's Profile: http://forums.slimdevices.com/member.php?userid=17810
View this thread: http://forums.slimdevices.com/showthread.php?t=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-05-30 Thread Jayhawk

Great... thanks for the info... will solve my need.


-- 
Jayhawk

Jayhawk's Profile: http://forums.slimdevices.com/member.php?userid=17810
View this thread: http://forums.slimdevices.com/showthread.php?t=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-05-29 Thread TechHome

Jayhawk;551479 Wrote: 
> Using duet controller and SB3 receiver.  From what I've read, it appears
> that IR Blaster is intended to send only power on/off and vol up/dwn
> commands.  I need to send a source selection cmd to the AVR.
> 
> 1. Is it possible to have IR Blaster provide a way to send more
> commands than the 4 commands indicated?
> 
> 2. If not, would it be possible to "trick" IR Blaster to send a source
> selection IR cmd instead of one of the 4... e.g. have the Vol Down
> selection send AVR IR to select source 1 instead of AVR IR for vol
> down?  I'd be willing to sacrifice AVR volume control to get source
> selection instead.IR Blaster may be configured to send multiple IR commands 
> with variable
configurable wait times between commands.  For instance when I power my
SB3 on,it turns the AVR off, pauses 0.5s, toggles power on, switches
b-speakers on, switches source to CD.  SB3 Power off switches source to
DVD, switches B-speakers off and turns the AVR off.  IR Blaster does
this out of the box.  What it doesn't do is allow more than the four
commands to be issued with a GUI.  I;d love to be able to have full
control of my AVR, through iPeng plus IR Blaster but don't have the
required skills to code it myself.


-- 
TechHome

TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340
View this thread: http://forums.slimdevices.com/showthread.php?t=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] IR Blaster - Source Selection?

2010-05-29 Thread peterw

Jayhawk;551479 Wrote: 
> Using duet controller and SB3 receiver.  From what I've read, it appears
> that IR Blaster is intended to send only power on/off and vol up/dwn
> commands.  I need to send a source selection cmd to the AVR.
> 
> 1. Is it possible to have IR Blaster provide a way to send more
> commands than the 4 commands indicated?

You may need to unpack the source (the .par file is basically a .zip
file) and modify it. In lib/Plugins/IRBlaster/Settings.pm there's this
line

Code:

my $gMaxItemsPerAction  = 5;# IR commands per action 
(on/off/volup/voldown) in webinterface


I think I changed that years ago when first setting up IR Blaster and
needing to send more commands, and it did the trick. I'm pretty sure IR
Blaster is happy to send any commands that are in the LIRC files. 

Alternately, you can probably shut down SBS and edit
prefs/plugin/irblaster.prefs by hand (the _command, _remote, _count,
and _delay values).

Once you have things set up, you can probably switch back to the
official IR Blaster release.


-- 
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=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] IR Blaster - Source Selection?

2010-05-29 Thread Jayhawk

Using duet controller and SB3 receiver.  From what I've read, it appears
that IR Blaster is intended to send only power on/off and vol up/dwn
commands.  I need to send a source selection cmd to the AVR.

1. Is it possible to have IR Blaster provide a way to send more
commands than the 4 commands indicated?

2. If not, would it be possible to "trick" IR Blaster to send a source
selection IR cmd instead of one of the 4... e.g. have the Vol Down
selection send AVR IR to select source 1 instead of AVR IR for vol
down?  I'd be willing to sacrifice AVR volume control to get source
selection instead.


-- 
Jayhawk

Jayhawk's Profile: http://forums.slimdevices.com/member.php?userid=17810
View this thread: http://forums.slimdevices.com/showthread.php?t=79254

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins