I replaced a ceiling light/fan with just a light. There were originally two switches for the ceiling fan/light. In the box there are two 4-wires coming in (blk, red, wht, bare). I want to put in a single switch for the light, and an outlet - independent of one another. For the light, I used blk, wht, bare from one set and capped the red. This works, But how should I wire the outlet? I tried wiring the outlet using the other cable as shown in the photo using blk, wht and then using the blk, red, wht (by breaking the blk side tab) but while there is power to the wires, the outlet is not energized.
There are two cables coming into the switch box (both are blk,red,wht, bare). Each of these cables is on a separate breaker. The outlet will go next to the new light switch, using one of the two cables in the box.