I had two black wires, one red wire and two white wires coming from the ceiling (I suspect there used to be a fan with a light). In the switch box, there was a black and a white wire (with a green ground wire).
I wanted to install a light fixture so I tied the red wire (which I discovered was the constant feed) and one of the black wires (which I figured extended to the switch) together in the ceiling with a nut, the two white wires and the blue wire from the light fixture together and the remaining black wire with the brown wire from the fixture.
With a regular switch, everything works fine: lights turn on and off. With a fried dimmer (the switch part works but not the dimming part), everything works fine (except the dimming of course): lights turn on and off With a new dimmer, nothing works: lights don't turn on. I know the dimmer works because it works in another location just fine.
How come? Does a fried dimmer act as a regular switch?
Can I even use a dimmer with that configuration? Did I wire it wrong?
Thanks for taking an interest in my question. Here are pics of the ceiling box and of the switch box. I did some testing and:
- The red and black wires that are in the same cable as a white one have voltage (left side of the pic)
- The remaining white in that cable and the white and black wires in the other cable (right side of the pic) do not have voltage
- All wires in the switch box have voltage (including the green one)
If I attach my light fixture to the black and white wires which are in the same cable as the red one (leaving the red one with a nut by itself), the light works with a normal switch. It does not with a dimmer.
Any other configuration of white and black wires tied to the fixture won't work.
Initially I had tied the red and one of the black wires together but that does not seem necessary to turn on the lights with a normal switch. However, the problem remains the same.
I don't understand why a normal switch would turn on the light and not a dimmer...