There are various intrusive wiring regulations in the UK. If I want to wire up a light extension I'm required to have this done by a suitably qualified person, or if I do it myself get it approved by a suitably qualified person.
Of course I'm sure that most people who know what they are doing ignore such rules, but they can become important if you have to make an insurance claim or want to sell your house.
So my question is, does anyone know when this becomes relevant to home made IoT devices? I have a solid state relay driven by an ESP8266 device controlling lights that I made. It works well. It's safe, properly made and properly insulated et cetera and it's using proper components.
But is this covered by the regulations? I assume that if I made this a device I plugged into a socket and then plugged a light into it then it wouldn't be. But as it's permanently wired into a lighting circuit, do I in theory have to get this approved by a "competent person"?