Using Raspberry Pi to turn TV on and off directly (not using infrared)
You can use CEC (via HDMI) - I use libcec to turn my TV on and off with a RPi running a media centre. It also allows you to monitor the power state of the TV with the RPi.