I'm looking to do something that SHOULD be pretty simple, but electricity is a strange beast to me. If I can get this wired up correctly, I can do the scripting just fine.
Basically I want to push a button and turn on/off an appliance. The appliance should be getting power from an external source and the RPi should serve only to supply or deny power to it.
I understand the software side of this problem, but I can't envision the physical setup. How do I give my Pi control over these voltages without frying everything?