Thats the funniest/stupidist thing i have heard!
How about a low tech solution to a low tech problem?
You could use a remote switch, or long power cord?
Make a touch switch (if its close).
If you really want to do it by computer i say the easiest way is to get one of those X10 setups. I have used them before for turning a light off and on. Thats as far as we went.(just playing with it).
The X10 has a trasmiter hooked to your serial port, then you put the reciever on the power plug of your device....Open up the panel on your computer and select your switch.
btw...what are you doing that you dont want your wife to see?,...and why would you be sleeping on the floor
good luck,
bd