Homemade wifi plug
I'm thinking to try to make a homemade wifi plug. The container itself would be plastic and AC coming in, splitting in two paths. One for a powersupply for a microcontroller and one going to a solid state relay, controlled by the micro controller.
I'm looking at something like this: https://www.mornsun-power.com/html/pdf/LM15-23B05.html for the power supply. Since the micro controller won't draw a lot, I'm guessing it wouldn't get too hot?
Would this be a good plan for such a project? Since it's AC, I've gone with the enclosed power supply type, instead of a slightly cheaper open design. This is just screw terminals.
Happy easter from Denmark.