I'm finishing my basement, done the framing and starting wiring for lights. One wall runs parallel to the joists, and has a double joist (two 2x8) above the top plate (the wall is right next to the stairs, running between several existing posts).
I want to put the light switches on this wall, but I'm not sure how best to run the wires. I can't just bore a hole straight up through the top plate due to the joists.
Is it code to run the wires around the top plate? I am planning to install crown moldings, would those suffice to protect the wires? I could notch the top plate, but the wires will need to go around the joist face.
Alternatively I can run the wires to through the wall and then back to an adjacent wall and run to the ceiling from there. However, there is a 4x4 post in the corner between these two walls. Can I bore two perpendicular holes through that post to allow me to run the wire at the 90 degree angle?
Edit:
Here is a rough schematic of the situation. The two walls are shown, with red marking the existing posts. The wall that runs between the posts is the wall that has the double joists on the top header. The desired location for the switch is in blue:
Edit 2:
Here are a couple of pictures. The joists are painted black, so they're kinda hard to see, but the wall with the box in it has the joists running on top of it:
And this is the corner (with the 4x4 post between the walls):
Edit 3:
Would it be possible to notch the first joist, drill through the top plate close to that joist, run the wire through the gap and protect it with a nail plate? As far as I can measure the joist is 15' long, and this falls just under 5' from the edge, so should be outside of the middle 1/3 span. Is there any requirement for the height of the wire on the side of the joist?