I have an older light fixture pair in a bathroom and while painting the bathroom wanted to replace the older light fixtures. When removing the older light fixtures, the wires got separated and I am trying to reconstruct the correct connections. This is a switched middle run light fixture on a wall. There are 4 sets of cables entering the box:
A. older cloth cord with 3 wires and white and black pigtails,
B. 3 wire Romex not live with 1 black wire with white paintdot believed to be attached to previous light fixture,
C. 3 wire Romex that goes to another rooms circuit;
D. 2 wire Romex that is hot when tested with voltage tester between black and white wire.
I'm not sure which wire is coming from switch.
I can get power to the second light fixture which was never on the switch. (I think it may the first in the line coming from the panel)
I have tried several combinations but can't seem to get the right one to get "switched" power to the fixture. I'm not adding any new lines to this circuit.
I need to know which wires to connect together and which to add to fixture? How do I tell which ones are coming from switch.
I hate to have to get an electrician in to fix this one light fixture