Basically, what I'm looking for is this: ieGeek® ORVIBO Smart Wall Socket but without a proprietary app. I just want something open and "general purpose" like with a REST API interface to pilot it with my RPi (e.g. with a Python script), without the need to hack it.
1 Answer
You would need to buy a 5 V relay board like this one:
(source: cloudfront.net)
It connects straight to your GPIO pins and it is easy to find scripts and even phone apps that run it as it works by just switching the GPIO pin to HIGH.
The boards come in many sizes and you would just need to wire one live wire through and it will act as an electronic switch you can control with your pi.
Just make sure to check that its voltage rating is high enough as this changes between countries.
Perhaps then this is something that would solve your problem: 2 Channel USB/Wireless 5V Relay Module
As it can work over Wi-Fi you could use your Raspberry to control multiple relays across your Wi-Fi range and is installed in the same way you are used to.
-
Thank you B.C! I have EXACTLY this board (the 4-relay version), and I interfaced it with the three wall lamps of my living room, but it's too hard to wire it for every other light of my home, this is the reason why I'm looking for a WiFi "easy" alternative, to use it together with this nice DIY solution with 5V relay, that is attractive but too challenging to be used in every situation :)– flip79Commented Sep 17, 2015 at 18:39
-
Please crop images in future so that there isn't acres of whitespace. Commented Jan 14, 2021 at 13:24