CRON shell script to enable and disable HDMI-CEC

szum

Vu+ Newbie
Hi,
I want to reboot my VU at fixed hour then put it ro standby.
Sounds easy, but i have my HDMI-CEC enabled and it turns on my TV and sound system after reboot.

Is there any shell , web interface command or any other way to disable and enable HDMI-CEC?
Second less importand.
Is there any shell or web interface command to check if STB is running or in standby?

Generally i want to create 2 scripts:
Script1 runs first
//check that STB is in standby so it wont reboot if someone is watching TV
if (stb is in standby){
set flag for second script //generate file etc
disable hdmi-cec
reboot
}
Script2 runs 5 minutes later
//check flag so it wont run, if the first script didn't reset STB
if (check if flag was set by first script){
put STB into standby
enable hdmi-cec
reset flag
}
 
Hi,
I want to reboot my VU at fixed hour then put it ro standby.
Sounds easy, but i have my HDMI-CEC enabled and it turns on my TV and sound system after reboot.

Is there any shell , web interface command or any other way to disable and enable HDMI-CEC?
Second less importand.
Is there any shell or web interface command to check if STB is running or in standby?

Generally i want to create 2 scripts:
Script1 runs first
//check that STB is in standby so it wont reboot if someone is watching TV
if (stb is in standby){
set flag for second script //generate file etc
disable hdmi-cec
reboot
}
Script2 runs 5 minutes later
//check flag so it wont run, if the first script didn't reset STB
if (check if flag was set by first script){
put STB into standby
enable hdmi-cec
reset flag
}
This is interesting, but unfortunately i'm not able to help you :(
 
I think you don't need to disable the HDMI CEC. You have just to setup the good options for HDMI CEC (when the vusolo goes to standby the TV must also goes to standby).

Your first script will reboot the vusolo so the TV will be on when the vusolo goes on. But the second script will standby the vusolo and HDMICEC will standby the TV too.

I think the TV will not be on when the vusolo reboots from standby. to be tested...
 
I think you don't need to disable the HDMI CEC. You have just to setup the good options for HDMI CEC (when the vusolo goes to standby the TV must also goes to standby).
Your first script will reboot the vusolo so the TV will be on when the vusolo goes on. But the second script will standby the vusolo and HDMICEC will standby the TV too.
I think the TV will not be on when the vusolo reboots from standby. to be tested...

HDMI-CEC is configured OK.
Problem is that straight after reboot my VU is on and turns TV and audio system on.
Then I put Vu to standby and it turns off my TV and audio system.
And I don't want to do that in the middle of the night for obvious reasons.
I want to reboot STB and leave my TV and audio system turned off all time,
so I need some way to disable HDMI-CEC before reboot.
 
I understand your need!
What I said before is: you don't need to disable/enable HDMI-CEC. When you send your box to standby (by script) it will also send to standby your TV and audio system if this option is enabled in HDMI-CEC configuration.
 
I understand your need!

I don't think so :)

My need is : don't turn on TV/audio at all during whole reboot - put to standby process.


So how can I get what I need (don't turn on tv and audio system straight after reeboot) without disabling HDMI-CEC.
While keeping my settings
vu on ->tv/audio on
vu standby ->tv/audio standby
 
Why don't you just switch off the TV when you go to bed, not leave it in standby, then HDMI-CEC can't switch it on.

There is also a plugin called StartupToStandby which should allow you to boot the receiver into standby mode.
 
Why don't you just switch off the TV when you go to bed, not leave it in standby, then HDMI-CEC can't switch it on.

There is also a plugin called StartupToStandby which should allow you to boot the receiver into standby mode.
Why don't you just switch off the TV when you go to bed, not leave it in standby, then HDMI-CEC can't switch it on.

There is also a plugin called StartupToStandby which should allow you to boot the receiver into standby mode.

But you can also say why dont you reboot your box manually. Idea of script is that I don't need to do anything manually.

Thanks for the tip with plugin I will try that out.
When I was looking up your plugin I came across

Elektro Power Save plugin

(No need for external link, use Google for more info)

Did anyone tried that one, it puts STB into deep standby if there are no recordings and STB is in standby and then puts box back to standby at fixed time.
 
Back
Top