changing a fixture to an outlet - keeping the switch
This was installed not long ago, it's conduit on the outside of the walls and ceilings. The power runs into the room along the ceiling, to a box where there was a light fixture. Then the conduit goes back, and down along the wall to a switch. It's a dimmer switch. The conduit continues from that box to a few outlets around the room - none of which are controlled by the switch. The switch just controlled the box on the ceiling. I want to change that box from the fixture to an outlet, still controlled by the switch.
I took the fixture out - the conduit feeding that box from outside the room has a 3 whites, a red, a blue, and a black wire. The conduit going out of that box (to the switch) has 2 reds, a white, a blue, and a black.
The dimmer switch has two black wires coming out of the back of the switch. One wire ties to two blues (one going up towards the box, one going down to other outlets), the other wire ties to a red (going up to the box on the ceiling).
I tied an outlet in using the blues and the whites, plugged in a light and it works, it's just not connected to the switch. I feel that the red wire that only runs between the box and the switch is the key, I just don't know how to hook it up.
I'll be really happy to get this outlet on this switch! If you can help, I would really appreciate it. Thanks!!