How to control a power outlet with a raspberry pi

Doing this is actually surprisingly easy, but I couldn’t find a simple guide online on how to do this. In order to do this, you’ll need the following:

#Part
1Raspberry Pi
1IoT Relay

The “IoT relay” is the simplest (and safest) way to do this. Basically, you just need to supply power to the signal connector (green thing with wires plugged into it on the right) and you can do this directly with a GPIO pin (supplies 3.3V) on the raspberry pi:

Continue reading “How to control a power outlet with a raspberry pi”