News for hackers. Stuff that matters.
Re:Ask HN: Best option for networking power outlets? by lovelearning on Sunday March 29, 2015 @03:14PM (#9286065)
[Disclaimer: I'm only an amateur electronics hobbyist. The idea below may get me LOL'd at by the experts and get you electrocuted!]

If I were doing this, I would build the power outlet myself using an ESP8266 programmable wifi module and a 110V AC to 3.3V DC switching power supply module.

ESP8266 can connect to your wifi network, and run a TCP socket server, or a web server to receive HTTP commands. Your phone/tablet sends commands to it over your wifi network using TCP or HTTP.

Connection would be like :

110V AC -> switching supply -> 3.3V DC -> powers ESP8266 always on -> switches a relay to supply or cut power at the output side

Cost: An ESP8266 is around $3 and switching module is around $6 on aliexpress.

There are no comments on this comment yet.