[mythtv-users] Power off Television after period of time with no user input.

Brad DerManouelian myth at dermanouelian.com
Thu Jul 17 21:00:04 UTC 2008


On Jul 17, 2008, at 1:52 PM, Kevin Robbins wrote:

> I'm looking for pointers for the following.
>
> I remember reading that someone had done this with a usb-uirt, lirc  
> and cron.
>
> Here is exactly what I'd like to do.
>
> Run a cron job every 2 hours that checks to see if A) There has been
> any remote signals sent and B) Check if Myth is playing a video or is
> just idle.
>
> If both conditions are met, I'd like to display a notice that lasts
> for 10-20 seconds (which a keypress will cancel) or send a power off
> command to the Television.

Mine does this by default with xscreensaver and DPMS. It actually just  
puts the TV to sleep instead of off which I prefer because then a  
keypress on the remote wakes it back up again.



More information about the mythtv-users mailing list