Check if you have following items.You should have Raspberry Pi, SD card with installed Prota OS, wireless power socket (we used Watts Clever), breadboard, jumper wires, 315 MHz or 433 MHz RF module with antenna (learn how to make antenna yourself here).
Solder antenna to the RF module.
Connect RF module to Raspberry PI using a bread board and jumper wires.
RF module’s power to Raspberry PI pin 2.
(VDD -> 5V (#2))
RF module’s ground to Raspberry PI pin 6
(GND -> Ground (#6))
RF modules data to Raspberry PI pin 16.
(DATA -> GPIO23 (#16))
Turn your Raspberry PI on and connect to your Wi-Fi router.
Install Prota OS and visit http://myprota.me.
Install ON/OFF app from the App Repository.
To install just select from the list.
Go back to shell and open the ON/OFF app. Then click to add socket.
Name your socket.
To discover your socket press and hold on the button until the LED indicator starts blinking.