Using a raspberry pi to turn a tv on/off automatically with media centre (mythtv) usage