I have a lamp I wish to control by a simple light switch. At the moment, I have to plug it into a socket and pull the plug out to switch it off, which is a bit of a pain as the socket is quite low and in a difficult to reach place. As it’s a lamp I want to keep always in one place, I’m thinking to incorporate a switch along the cable, but more like a wall light switch that I can attach to the side of the unit it’s going to stand on. Is this possible with a standard simple wall switch as per photo ?
If so then how does the wiring go ? It has L, X1 and X2 terminals. There is no Earth involved with this lamp. Thanks in advance. Keith
What you propose to do is a "mess" and, probably, against "regulations".
In effect you are turning the "Unit" and the Lamp into an "appliance", connected via a flexible lead to the Socket-Outlet.
This requires that the incoming and outgoing leads be securely "anchored" to the "appliance" (A knot in each cable end is
not acceptable).
It will be necessary that the switch (which you happen to have !) be installed in such a way that the rear contacts are not accessible, which means that it will need to be mounted on the "unit" in a suitable "box", with "strain relief" anchors, as previously mentioned.
Having the lamp permanently connected to the "box" on the unit will (
eventually) prove to be a "pain" (for dusting, cleaning, moving etc.)
Hence, you may need to have the lamp plug into a "socket-outlet" on the side of the "box".
All of this to save the cost of an In-Line switch, (
https://www.electricalcounter.co.uk/products/Lighting/Indoor+Lighting/Knightsbridge+Indoor+Lighting/Accessories+&+Drivers/White+Double+Pole+Inline+Cord+Switch+6A/1179750057 )
https://www.toolstation.com/axiom-inline-switch/p76089? )
which should be specified as being "double pole" (particularly in Europe, where many socket outlets are
not "polarised"), and instead to use a switch, designed for mounting on a wall, which you
just happen to have and which is also only a
"single pole" switch.