I am replacing the old light switches and outlets in this house. I have a single light switch that controls a standard two-outlet wall plug. (So you can plug a lamp in and turn it on and off with the light switch). I am attempting to replace that light switch and have run into strange problems.
Here is what I've done so far, and I am confused what is going wrong or what I should do next to fix it:
- I replaced the outlet a few days ago. After doing so, the light and light switch worked multiple times with no problems.
- Yesterday I removed the old light switch.
- I attempted to install a dimmer switch, but the inside of the box was different than expected.
- Rather than having two white wires and two black wires, there was only a single white and black wire.
- Based on instructions I saw online and received in this thread, I wired one black wire from the dimmer to the black wire in the box, the other black wire from the dimmer to the white wire in the box, and attached the ground wire.
- I turned back on the breaker with the switch open and the light was on. When I tried to dim the switch, the switch "popped", smelled like burning, and the light went out.
- Someone pointed out in that thread that a dimmer on a wall outlet is not to code and can be a fire danger, so I bought a standard light switch and attempted to install it instead.
- I wired the switch as the instructions indicate, and the circuit popped as soon as it was engaged.
- Thinking that the white paint on the black wall wire might be a secret code from the past that that's actually the white wire, I reversed the wiring and turned on the breaker. The breaker made a loud humming noise and the light did not work. I disengaged the breaker.
- I removed the switch and posted here for help.
What do I do to get this light switch working again?
Inside Switch Box
New Outlet, wired
Inside Outlet Box
As Requested, better photo of inside Outlet Box