Hi I want to fit some led lights in the bathroom which will turn on automatically by the use of a PIR sensor. The problem i'm guessing is the lights work off a transformer via a socket. I can conceal a socket in some boxed section of the bathroom with a feed off the hall socket, but am I right in thinking PIR sensors are mains only? If so could I connect a PIR sensor to the mains i.e from my feed in the hall and then wire a socket to the sensor for the transformer to plug-in with the on switch positioned on?
Regards