Question about photocell and switch
Several years ago when I put out a yard,post, light and added a photocell and dimmer switch. The light is still working properly. Since I have moved to where I now live I have added a post light. Put a photo cell on outside garage wall, switch inside the wall. I added a dimmer switch but dimmer didn't work. Photocell would turn on light but dimmer couldn't turn it off nor dim the lights. So I thought if that didn't work I would add a standard 15 amp switch and reduced bulbs to 75watt instead of 100 watt I was going to dim. Problem was that switch would control the light off and on but photocell wouldn't not work with the switch, light wouldn't never go off by photo. Wired the same way dimmer was wired. So I put the dimmer back on and now my light will come on at night, go off in morning but dimmer doesn't work to control the light. But if I add a standard switch I would have to manually turn the light off and on. Photo is wired red to black on light, black to black as source, white to white neutral. What is the problem with the switch and photocell??