[mythtv-users] Power off from remote
Thomas Boehm
mythtv-users at lists.boehmi.net
Fri Aug 10 13:57:33 UTC 2012
Joel Ebel wrote:
> I got around to setting up wake-on-lan, and I have a widget on my
> phone to easily turn on my frontend, but now I need a way to get my IR
> remote to turn off the frontend. What's the best way to do this? Is
> there an existing keybinding that can be used to immediately shut down
> or suspend a front-end? Perhaps I could set it up as a keystroke
> event handler, and have mythtv's lircrc create that keystroke.
> Alternatively, I could do it outside of mythtv with irexec, but I
> already run irexec on demand when I use mythgames, and running a
> separate one with a separate config file just to shut down my machine
> seems excessive if mythtv could already do it. I'm curious how other
> people are handling this.
cat /home/mythtv/.lirc/irexec
# LIRCRC Auto Generated by Mythbuntu Lirc Generator
# Author(s): Mario Limonciello, Nick Fox, John Baab
# Created for use with Mythbuntu
begin
remote = mceusb
prog = irexec
button = Clear
config = /path/to/script1
repeat = 2
delay = 3
end
begin
remote = mceusb
prog = irexec
button = Power
config = /path/to/script2
repeat = 0
delay = 0
end
.
.
.
More information about the mythtv-users
mailing list