Went to look at a ceiling box to install a fan, and I'm a little confused as to the wiring for the light now. Currently, the light tends to flicker depending on how tightly the globe is screwed in (for whatever reason, and yes it's a new bulb) and I'm assuming there's a problem somewhere. Excuse my very bad schematics, but I thought it might help explain things.
Right now, the ceiling box has cable coming in on two sides with hot and neutral wires, and another with hot, neutral, and ground coming up from a wall switch. It's currently wired like this:
The current light has two hots and two neutrals. The neutrals are wired together, the hot is tied into the hot from the switch (right side of the diagram), and the ground is screwed onto the mounting bracket for the light. The hot from the cable on the left side is tied into the neutral from the cable on the right and the hot from the switch. The neutral from the cable on the left is tied to the neutral from the switch. The switch ground wire wrapped is around a screw in the ceiling box. Is this correct? Should the neutrals on the light be tied in to anything in the box, rather than to each other?
Now, the second part- to put a fan in, I know I need to install a support, a new box, and change the current switch from a dimmer to a toggle. What I'm wondering, however, is given that the wiring available will look something like this (see poorly drawn schematic below), how do I tie everything in?
Thanks in advance for your help! I'm decent enough to change fixtures and plates out, but I wasn't expecting to see this and given that the light already has flickering issues I don't want to cause any trouble.