I'd like to control a 120V switch of some kind with a computer. I was hoping a unit might exist that could be plugged into 120V power with a male 120V on one end (which would be connected to a standard outlet), a female 120V on the other end, and USB B (or possibly Ethernet or something else) connector in the middle. Let's call this USB, Ethernet, or other connector the "middle connector."
I'd like to use a Raspberry Pi to send a signal across this middle connector, which would switch on the female 120V plug. I imagine using a "raw" (driver-less) method to send this signal over the middle connector, but maybe a Linux driver would exist for such a device, especially if it were USB.
So does anyone know if a computer-controlled 120V switch exists? I don't necessarily need a product recommendation (although I wouldn't mind it). I'd really like to know what these sorts of things are called or where to look. My searches for "computer-controlled 120V switch" have not been fruitful. I'd also like something UL certified, as opposed to some DIY kit. And I'd like to be able to load it up to 1kW.