<br><br><div><span class="gmail_quote">On 11/11/06, <b class="gmail_sendername">Robin Neatherway</b> <<a href="mailto:robthebob@gmail.com">robthebob@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've just got my telewest cable box (Atlanta 4200) set up with the<br>redeye serial blaster using the simple program that comes on the<br>website and was wondering what other people used in general. It seems<br>very inefficient to power up the blaster every time (waiting 2 seconds
<br>for it to do so) before sending a single command and switching off.<br>Wouldn't it be better to have a daemon that listened for text on a<br>pipe and just sent it straight out to the ir blaster, with Myth<br>calling a shell script that did this?
<br><br>What setups do other people use, especially with the Redeye system?<br><br>Thanks,<br>Robin<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>I've got a telewest SA4200 as well, and I just use a simple homemade blaster with bits from maplins based on the simple transmitter circuit of
<a href="http://www.lirc.org">www.lirc.org</a>, and connected to Com1. Bits only cost about a couple of quid. I use the SAE8000 remote conf again off <a href="http://lirc.org">lirc.org</a>.<br><br>I also use a modified version of
channel.pl which I've listed below, called directly from the external channel_change command field in the db. works really quickly and smoothly 99.9% of the time. i had a bit of a struggle getting it all to work at first, but once I cracked the timings and placement of the transmitter which is about an inch in front of the cable box aimed just about the standby light, it just fell into place.
<br><br>I did find though that I had to send a couple of commands first which seem to "wake" the box up ready for the channel numbers, which you can see from the following code<br><br>Cheers<br><br>Gary<br><br>channel.pl
<br><br>#!/usr/bin/perl<br># make sure to set this string to<br># the corresponding remote in /etc/lircd.conf<br>$remote_name = "SAE8000";<br><br>sub change_channel {<br> my($channel_digit) = @_;<br> print $channel_digit;
<br> system ("irsend SEND_ONCE $remote_name $channel_digit");<br># system ("irsend SEND_ONCE $remote_name $channel_digit");<br># system ("irsend SEND_ONCE $remote_name $channel_digit");
<br><br># sleep 1;<br>}<br><br>$channel=$ARGV[0];<br>#sleep 0.3;<br>system ("irsend SEND_ONCE $remote_name ch+");<br># '#system ("irsend SEND_ONCE $remote_name CHDN");<br>if (length($channel) > 2) {
<br> change_channel(substr($channel,0,1));<br> change_channel(substr($channel,1,1));<br> change_channel(substr($channel,2,1));<br>} elsif (length($channel) > 1) {<br> change_channel(substr($channel,0,1));
<br> change_channel(substr($channel,1,1));<br>} else {<br> change_channel(substr($channel,0,1));<br>}<br>system ("irsend SEND_ONCE $remote_name select");<br>system ("irsend SEND_ONCE $remote_name select");
<br>