Really recommend what @nickrout just posted. Otherwise the whole thing really is a ticking time bomb the fire department could pick up out of the dirt one day. Which you really don’t want, it isn’t worth it.
Yep fiddling with mains is not only a danger to yourself, but also your occupants and visitors, the fire department, your neighbours not to mention the biggest investment most people ever make (ie their home).
Also I understand that the Meanwell IRM series power supplies have the appropriate fusing and safety features built in. I remember asking something about them and getting a good response. They are used in haswitchplate - the discussion may be in that thread, but I can’t find it now.
I used them in my fan control plates waaaay back in the early days of sonoff control for wife. I also use them in my business to step down 240 to 5v in the detection of relay activation for machine control applications good product.
The company is polish so only EU versions are available.
Good point. This is area to improve this design. Once things get better I’ll update it.
However I would not said its a must. I’ve opened multiple AC/DC converters and non of them had a fuse, maybe cause most things are now made in china with lowest cost possible