Electrical – Can someone explain this wiring configuration to me

ceiling-fandimmer-switchelectricallightingwiring

See my previous question for more detail on my household's bizarre wiring. Three of my bedrooms have dimmer switches connected to outlets and ceiling fans, which is electrically unsafe and just horrible practice, so I have been replacing the switches with toggle switches. The first bedroom only had two wires and a ground coming into the switch box, so it was an easy change. In the second bedroom, things are a bit more complicated, as you can see here. lightswitch wiring box

This is probably hard to see, so let me describe it. There are two cables coming into the box, one from above and one from below. Both cables have white, red, and black wires, and a bare ground. The two grounds are wired together, as are the two white wires. Not pictured out of frame is the dimmer switch, which is connected across the black and red wires.

This is what is confusing to me. The black wires and the red wires from both cables are connected together as well, and the switch is connected across the black and red wires from both cables. I would imagine the wiring like this is set up so maybe the overhead lights and the fan can be controlled separately, which would definitely be nice to be able to do, but I can't figure out how that would work.

Let me state that again, all of the wires from the two cables are connected directly together. The switch connects two wires in the same cable. Can someone give me a sense of what might be going on here?

Edit: Doing some testing with my ohmmeter, the black wires are connected to the always on outlets, and the red wires are connected to the switched outlets and the lights in the ceiling fan. I separated out the red wire bundles, and the same wire (from the lower cable) connects to both the switched outlets and the lights in the ceiling fan. So I'm not even sure what the upper cable is for.

Best Answer

They are buses

Hang onto your hat. This is one of the few times wire color codes actually mean something. In this case (not often repeated):

  • Black is always-hot
  • Red is switched-hot
  • White is neutral (well, that actually is fairly common)

All those wires have simply been bussed to all locations. Remember

  • Supply needs always-hot and neutral
  • Dumb switches need always-hot and switched-hot (but neutral must be present)
  • Smart switches need all 3
  • Lamps need switched-hot and neutral
  • Split receptacles need all 3

Here's a drawing I did of a bussed arrangement for sharing motion sensors. It's exactly the same deal.

enter image description here

Nevermind my error with the ground wires. You get the idea.