Thanks for helping!. I like the ideas.
After some searching i found something interesting!.
At this page they have a tutorial for using HDMI-CEC.
Following this tutorial it was exactly what i was looking for.
Except the time the TV needs to start it works like a champ :)