[mythtv-users] Fire-wire wrapper to turn on STB

jlistspam jlistspam at gmail.com
Fri Aug 16 02:44:10 UTC 2013


On 8/14/2013 10:05 PM, Stephen Worthington wrote:
> On Wed, 14 Aug 2013 18:13:49 -0700, you wrote:
>
>> Myhtv users, I have another problem to solve and I am hoping the list
>> can once again point me in the right direction. I am running a firewire
>> channel change script, 6200ch, and it has worked well for quite some
>> time. It seems as my FIOS QIP 7100-1 STB has been upgraded to a greener
>> firmware and objects to me leaving it on continuously. As such, every 4
>> hours, it turns itself to what I have read as stand-by. So it responds
>> to -q as on when it is in standby. This of course fails my recording and
>> much frustration.
>> I have discovered that sending a menu command will wake it up, however
>> recording the menu until timeout is not appealing. I was wondering if
>> this is something I could use the system_event to trigger a script to
>> send "menu" then "exit". Maybe even throw in a sleep to stabilize the
>> box before my channel change later. That way it is all settled down for
>> the HDPVR to start recording. I think all this could be done with a
>> wrapper script triggered by system_event. I have been following another
>> thread this week with very close problem, but did not want to hijack for
>> my problem.
>> This is an Mythbuntu flavor, running 0.26 fixes, on a combined FE/BE
>> machine. I have the recordings waking/shut-down up this machine and
>> recording to the HDPVR through component/optical connections. I have
>> learned all I know of Linux working through my MythTV set-up, but with
>> only minor adjustments to others scripts. Can anyone get me started or
>> offer advice?
>> Thanks in advance,
>> Joel
> How about just adding to the start of the channel change script to
> always send a Menu command, wait a short period, then send an Exit
> command and wait a short period again?
>
> The reason for using a more complicated setup in the other thread was
> because the only way to wake up the STB was a Power command that was a
> toggle and would turn off the STB if it was already on.  If your Menu
> command is harmless if your STB is already on, then you can just use
> it in a straightforward manner to ensure the STB is going to be on.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Hi,

There is an exit command in the 6200ch "-e" to go along with the "-m" 
menu command:

    /usr/local/bin/6200ch -g 0x001bxxxxxx   -m
    sleep 1
    /usr/local/bin/6200ch -g 0x001bxxxxxxx   -e

There is also a setting in the boxes menu settings to turn off the 
sleep.  I did that a couple weeks ago.  But don't remember exactly where 
it was.  Now my box doesn't sleep again.

John



More information about the mythtv-users mailing list