I have three wires coming from the wall that used to power a lamp. Now I want to connect a different lamp but my problem is how to determine which wire is neutral and which is earth.
Since I have a GFCI installed on my electrical fusebox, a quick and dirty way to do it would be by connecting the lamp to hot and one of the mystery wires. If GFCI trips then I have connected it to earth, if it doesn’t trip then I have connected it correctly to neutral.
I guess that you could use a digital voltmeter to measure AC voltage between each lead and an actual contact to earth–a concrete wall, a water pipe or something like that. Hot will have the highest voltage by far. The neutral wire will **probably **have a voltage that is higher than earth due to capacitance/resistance in downstream where it is carrying current, and the earth will **probably **have the lowest voltage.
That said, I’d much rather play it safe and do a final check by tripping the GFCI.
What colors are the wires? If this is in North America the ground will be either bare or green. Unless it was wired by a nimrod. Or is really really old.
You may have a ground and a neutral. You may have two neutrals, or you may have a switched hot or even a switched neutral. There are different ways of wiring up a lamp, and even a few more ways when you consider that whoever wired it up may not have done it right.
If you figure out that one of the gray wires is ground, wrap some green electrical tape around it. Alternately, if you figure out that one of the gray wires is a switched hot, wrap black tape around it. The next guy who has to work on that connection will appreciate having things color coded correctly.
What voltages do you measure between all three wires with the switch on and again with the switch off?
I’m in the U.S. but it was my understanding that the newer European stuff (last decade or so?) is brown, black, and gray for hot phases, blue for neutral, and yellow/green striped for earth ground. Older European just uses brown for all hot phases, I think.
This makes me think you have two hot phases and earth ground but no neutral.
The yellow wire probably has a thin green line on it.
Are you sure the gray wire is really gray or could it be light blue?