Im new here and frankly, about as novice as they come.
I had an idea about a remote controlled outlet and wanna try out the esp8266 for the Job. I made a sort-of circuit sketch, and im wondering if its even remotely correct. The thing is that i want the circuit to be driven by the same source as the outlet .
What can I use as the 220v to 5v converter?