In this tutorial we will show how to create internet connected switch with Raspberry Pi and relay module. You can use internet switch to remotely control up to 17 devices (light, heater,sprinkler..) over internet. You do not need programming skills.
See more tutorials at http://iot-playground.com/build
Step 1: Materials
1. Raspberry Pi
2. Relay module
Step 2: Connect Wires
Conenct relay and Raspberry Pi. In this case we will use only one relay, but you can use up to 17 relays. Connect GPIO 5V VCC and GND to relay. Then connect relay IN to GPIO pin 7 (GPIO04).
Next connect relay to light or other device.
Step 3: Install and Configure EasyIoT Server
Go in WEB browser on computer and type Raspberry Pi IP address (computer must be on the same network as Raspberry Pi). Use username admin and password test when asked. Go to Configure->Drivers->Raspberry Pi driver and enable driver. Be sure to select right version of Raspbery Pi board. Next enable Pin_P1_07 as output.
Then go back to Configure->Groups and modules and add new module to group. And that's all. Now you can see switch on front page.