bensimmo wrote:
Qualified Tradesman...
Well Competent Person is the wording or there abouts, this allows home DIY, also altering things is less 'hassle', changing whole rings is usually more difficult. But if you know what you are doing then all should be ok.
anything that has to certified you can call the council to come check it. (Double check if you need to and who would do it)
Though quite often for large things it's easier and cheaper to get a sparky in and they can self certify.
For bathrooms, read the zonal info, but as the Pi and sensor will be down at 5V there is no problem there, keep the 230V to above the ceiling and also it's good practice to use an isolator switch for the extractor.
While many pop them above doors, it's a better idea to out it somewhere people can actually reach it
But if you are not competent, don't do it and seek better advice, by all means design it though.
Thanks Benisimmo, really helpful. The first thing I did when I bought the flat was re-wire it, I got a sparkie to test it and give it the certificate, so I'd say I'm competent to do within the realms of a home wiring jobby. [I have developed a special hatred for 6mm twin and earth

] He also approved a 5V USB socket in zone 3 of the bathroom, which runs off a spur on the main ring.
One other scenario in the bathroom is that I have a bluetooth light/speaker hooked up in zone 3 of the bathroom. Annoyingly, its only got live, earth and neutral, with no switched live. This means that when the lights switched off, I cant play out of the speaker, so need to use the remote control that it comes with to switch on/off the light. I thought that was crap, so I cloned the remote codes and bought a HC-SR501 motion sensor which I eventually want to put in the ceiling, and moved the light switch into a cupboard. (to be permanently on) For now, whilst i decorate the room, I am using the remote that comes with it, but the idea is for the arduino/pi to sends on/off signals via led when it detects motion/or lack of.
To avoid calling the council, going back to your point, if I plug the pi into another room, powered via a socket (keeping the 230v outside the room) and then have a long wire connecting to an LED and the motion sensor which I mount to the ceiling with a dry lining box, and cutting out a blanking plate with a nice dob of silicone, would that be deemed as safe? It'd be] in zone 3 territory in the ceiling.
If i were to call the council for other projects that say did involve using a relay directly to the mains, ie lighting, what would I need to say so they understand what I'm asking of them?