[Kenneth] built a 5v controlled power outlet inside of a junction box. We’ve seen plenty of projects that can switch 120v outlets using 5v logic for refrigerator controllers, lighting controllers, or grow systems, but they almost always use solid state relays to facilitate the switching. This iteration uses mechanical relays along with the necessary protection circuitry. The project is housed in an extra deep single-gang box and allows for individual switching of the two outlets. You can see this connected to an Arduino switching two lamps after the break.
[Thanks Mightysinetheta]