Press question mark to learn the rest of the keyboard shortcuts. It could be that one set of wires is your hot leg and the other set is your wall switch leg.

4 Sets Of Wires In Ceiling Box New Fan Help
Junction box has two sets of wires. If this is the case with the light switch on the wall turned off you will measure 120 volts on one set of black and white wires. It is a safety hazard to completely bury a junction box in a wall. Next connect one of the wires from the light to one white wire and the other wire from the light to the other white wire then wire nut both. The number of wires that are allowed in a junction box will depend on. This is not always the reason that you have two sets of black and white wires in a box. Some junction boxes have always hot lines present in case you want both a switched light fixture and an electrical outlet.
If that is the case then you will need to fasten the black wire from the pair with the 120. The number of ground wires. Test with the switch before you hang the light. Probably an outlet somewhere that had a floor lamp plugged in or the wires coming into the room hit the fan box first and then continue on to a downstream switch. Electrical wires run behind the walls and through the ceiling of your home meeting at junction boxes. 2nd is that one of the sets of wires in you junction box is hot and neutral from the supply it is energized as long as the breaker that controls the circuit is on in your main distribution panel.
Then the other set of wires simply is connected to each side of your switch. A junction box also known as a splice or switch box is an electrical enclosure inside your home that contains wiring. Take a voltmeter and see if one set is hot. Each set of wires has a black wire white wire and a bare copper wire. The new lights junction box has the standard 3 holes. The junction box is where i run into the problem.
Out of the ceiling are two sets of wires press j to jump to the feed. Unfortunately the only thing you can do is map out the wires with a multimeter or experiment. Its a diva which is made by lutron. The size of the junction box. If one wire is always hot thats not the one you want. The number of insulated wires.
If thats the case its possible that one set in the box either continues on to another junction box somewhere another light or outlet. It has 3 sets of wires coming into it.