Turning TvBox on automatically (1 Viewer)

doronyon

Portal Member
October 17, 2008
6
0
Home Country
Israel Israel
Well, I've managed to solve a little problem, maybe it would help someone else too.

We have frequent power breaks in my building and the TvBox is off after every power break.
The result is that many times MP records blank screens when I forgot to turn the TvBox on.

The TvBox powers On and Off by the same button, so using it without knowing the current state won't be helpful.

the solution I found started when I thought - maybe another key in the remote turns the TvBox on.
I'm from Israel and using HOT TvBox, and I found that 4 buttons can turn the TvBox - TVL, EPG, Guide and ACTIVE (all the 4 white buttons on the top).

I recorded one of them (TVL) , and created a batch script to transmit TVL, pause 4 sec and then transmit EXIT.

I created a scheduled task , 1 minute after logon. (for the initial startup)
I used the PowerScheduler plugin to run that script when waking the computer after hibernation.

the script looks like this

c:
cd "C:\Program Files\IR Server Suite"
if "%1"=="wakeup" or "%1"=="" (
rem echo %date% %time% TurnOn >> c:\users\F1CC~1\Documents\HTPC\wakeup_log.log
irblast-NoWindow TVL.ir
start /wait c:\users\F1CC~1\Documents\HTPC\sleep.vbs 8000
irblast-NoWindow exit.ir
start /wait c:\users\F1CC~1\Documents\HTPC\sleep.vbs 4000
irblast-NoWindow exit.ir
)
if "%1"=="suspend" (
rem echo %date% %time% TurnOff >> c:\users\F1CC~1\Documents\HTPC\wakeup_log.log
irblast-NoWindow Power.ir
start /wait c:\users\F1CC~1\Documents\HTPC\sleep.vbs 2000
)


Just make sure the computer is set to "turn on after power loss" in BIOS settings and you're done.
 

Users who are viewing this thread

Top Bottom