<div class="gmail_extra"><div class="gmail_quote">2012/11/2 Michael <span dir="ltr">&lt;<a href="mailto:mythtv@blandford.net" target="_blank">mythtv@blandford.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
    <div><br></div></div></div>
    Most modern TV support discrete codes for on and off as well as
    toggle power.  You just need to figure out the code for on and
    always transmit it when resuming.  Then you don&#39;t care about whether
    the TV is already on or off.<span class=""><font color="#888888"><br>
    <br>
    Michael<br><br></font></span></div></blockquote><br>Thanks Michael,</div><div class="gmail_quote"><br></div><div class="gmail_quote">But how could I send this codes? Are you referring to CEC? My TV support CEC, but I don&#39;t know how to send discrete codes.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Kind regards.</div><div><br></div>-- <br>Josu Lazkano<br>
</div>