I bought a 5v power supply from china but the holes in the PCB for the AC voltage are extremely small (about 20-22AWG)
Is this safe to use with such a thin wire?
I mean, my measurements are just a guess but I did try some 18AWG stranded wire and it didn't fit through the hole... (almost)
Here's a spec sheet for the PSU http://shop.cpu.com.tw/product/48432/info/
I plan on stuffing a NodeMCU, relay, and this power supply into a single gang blue electrical box that will not be mounted inside the wall but instead would be something like an all-in-one powerswitch tail.
I plan to use as a Wi-Fi light switch for patio lighting (a series of 12V LED lights) which would be used in place of an existing wall-mounted timer.
I was thinking of wiring it up something like this, the 110VAC coming in would be a recycled PC power cord.
Since it will be inside a electrical box the branch of 110V to the 5v psu would be very short.
I would use a wire nut for the neutral wires which would be the light wire, PSU neutral, and the neutral from the outlet
Then for the hot it would be the same but the light wire would be passing through the relay instead.
Also, would I safely be able to remove some strands of from a thicker wire to fit it through the PCB hole?