LinHES Forums http://forum.linhes.org/ |
|
IRBlaster and tring to controlling 2 sat. recievers http://forum.linhes.org/viewtopic.php?f=11&t=10728 |
Page 1 of 1 |
Author: | sinspot1 [ Thu Jul 06, 2006 7:38 am ] |
Post subject: | IRBlaster and tring to controlling 2 sat. recievers |
I was able to get my IRBlaster 100 to change channels on my sat. reciever thanks to another post. I would like to be able to have 2 or 3 recievers hooked up to the IRBlaster because it has 4 ports on it. I have searched in the forums but didn't really find anything on how to do this. So that I can have the change channel command come out a specific port on the IRBlaster. Can someone point me in the right direction on this? I would really be thankfully for any help. I have everything else working on my knoppmyth box this is my last thing before I can start to fully use it. Thanks for the help. |
Author: | dalben [ Sat Jul 08, 2006 1:43 pm ] |
Post subject: | |
Hi, Marty. I don't know this "IRBlaster 100" piece of hardware, but this one puts exactly the same signal in four outputs. From the FAQ: Quote: The double headed IR Blaster allows you to control two devices from a single serial port. The same IR commands are sent out each head of the IR blaster so your two devices must have different command sets. If you wish to control two idential pieces of equipment you will need to check and see if you can configure one of the two devices for an alternate IR command set so that they do not interfere with each other. Most dish boxes and some cable boxes seem to have the ability to do this. LIRC Setup has a page with mor info on the various command sets of dish boxes.
Hope it helps. |
Author: | sinspot1 [ Sat Jul 08, 2006 3:13 pm ] |
Post subject: | |
yes that is the irblaster I have the 4 port one. I didn't see the part about sending the same command out of all 4 ports. Does anyone have more than 1 cable or sat. box hooked up to there knoppmyth system. If so how do you do it so they can be controlled seperately. I looked at some of the links about the LIRC command but it is talking about having the same systems respond on different codes. That looks a little hard or is that the only way to do it? |
Author: | Greg Frost [ Sun Jul 09, 2006 1:16 am ] |
Post subject: | |
Concatenate the lircd.conf files and put the combined file in /etc/irblaster/irblasterd.conf. Then have a channel change script something like this: Code: #!/bin/bash Then in mythtv-setup, set the channel change script for the various sources connected to your various devices to:echo "changing to $2 on $1" REMOTE_NAME=$1 CHANNEL=$2 for digit in $(echo $CHANNEL | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done Code: /etc/irblaster/channel_change.sh REMOTE_NAME where REMOTE_NAME is the name of the device according to its lircd.conf information.For example, for one source you could have: Code: /etc/irblaster/channel_change.sh DCT2000 and for another you could have:Code: /etc/irblaster/channel_change.sh SAE8000 I havent done this myself, but based on what I know about blasters, it should work.
|
Author: | sinspot1 [ Sun Jul 09, 2006 7:42 am ] |
Post subject: | |
Interesting idea Greg I will play with that.......do you know if that would work if my devices are the same model or would they have to be different models for that to work.... Thank again for the idea |
Author: | Greg Frost [ Sun Jul 09, 2006 6:45 pm ] |
Post subject: | |
It wont work if they are the same model because as has been said before, those multiport blasters put out the same signal on each blaster, so whenever you change the channel on one, it will change it on the other too. For multiple instances with the same type of tv receiver, you would need to have two blasters, one on each com port and run two instances of the lirc daemon, one to control each blaster. The scripts are not set up to start multiple instances of lirc for multiple blasters, so you would have to do some work on the scripts. |
Author: | sinspot1 [ Mon Jul 10, 2006 9:20 pm ] |
Post subject: | |
I found a link on www.irblaster.com that talks about a changing the ir codes for dish network recievers. Does anyone know now to do this on direct tv boxes or cable boxes? Here is the link to the info. http://www.eggshellskull.com/lirc/multi/index.php |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |