<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 1, 2014 at 11:48 AM, Philip Isaacs <span dir="ltr">&lt;<a href="mailto:showcasefloyd@gmail.com" target="_blank">showcasefloyd@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey guys,<div><br></div><div>The IR Blasting to my STB is working well now except for one issue. Not every time (maybe 20% of the time) the STB seems to change the channel before the channel changing script is finished.</div>


<div>So I end up on the wrong channel.</div><div><br></div><div>It happens mostly with the HD channels because they have 4 digits. So for instance if I want to record something on channel 1004 (NBC HD in my area) the channel will end up on channel 100 or 10 because it changes to quickly.  But 3 and 2 digits works pretty flawlessly.</div>


<div><br></div><div>I&#39;ve looked at the configurations for this script and there are a lot of options and I don&#39;t know how to delay the entire sequence of numbers until the end since it seems like it&#39;s sending an irsend command for each number. </div>


<div><br></div><div>Any ideas on how to stop this from happening?</div><div><br></div><div>Floyd<br></div></div></blockquote><div><br>You probably need to reduce the delay between digits. Note that there is a &quot;delay&quot; which controls the time between digits sent, and an &quot;rdelay&quot; which I think is an additional delay if the digit is repeated (i.e., 1224 would delay more between the &quot;2&quot; digits to avoid the cable box&#39;s debounce which might exclude the second &quot;2&quot;). I use delay=0.2 and rdelay=0.2 for my cable box and I haven&#39;t had a channel change failure since I made that change (a year ago?). Previously my timing was too aggressive and it would sometimes get the wrong channel. But I only have 3 digit channel numbers max...<br>

<br>Karl<br></div></div></div></div>