8 ms·
I just did a similar thing that the linked tutorial uses for controlling lights. I use an arduino+RF emitter to control store bought RF controlled mechanical re
by hashmymustache 12y ago
I just did a similar thing that the linked tutorial uses for controlling lights. I use an arduino+RF emitter to control store bought RF controlled mechanical relays (3 for $20) and an rpi to host a server (used as ios mobile bookmark) that talks to the arduino. It's a pretty easy setup and the RF emitter with an antenna gets through walls. But I'm not sure it'd scale to a whole house, and much less reliably.
You can also build your own wifi controlled outlets using sparkcores like in this tutorial[1]. That author addressed your question about powering the modules that control the switches by "stripping apart an old USB power adapter, and soldering up AC wire from the power cable as well as an additional two wires to the back of where the USB port was soldered to the board on the +/- power pins."
Googling around you can find other sites like [2] for building your own controllers. But to be honest if you're looking for a whole home solution that's reliable and safe it's probably best to use some pre-bought kit for that purpose like Insteon - but I could defintely be wrong. Good luck!
[1] https://www.hackster.io/daniel0524/building-a-wifi-outlet https://www.hackster.io/daniel0524/building-a-wifi-outlet
[2] http://www.openhomeautomation.net/ http://www.openhomeautomation.net/