For years now I've been fighting with my garage door opener. My house faces south, and this time of year, and again in the Fall, the Sun would hit the electric eyes at an angle that would prevent the door from closing. I fabricated shields out of cardboard and sheet metal. Used shelving to block the Sun, and just about every other trick in the book to get it to work. It worked for a while, but just kept getting worse.
I finally mounted the eyes close to each other out of the light, and that fixed it for a about a year. Then even that didn't work. The thing was loud as hell and jerking until it reversed itself. (I unhooked it from the opener and the door went up and down easily). I got sick and tired of waiting in the driveway until the door went all the way down, (it was getting slow as hell), so I finally got fed up and called the garage door guy.
He told me the problem wasn't the electric eyes, but the opener itself. The gears were so worn out it was jerking the door to the point it would reverse. He also showed me 3 rollers that were just about ready to shear off. So he replaced the opener, along with all of the rollers. And readjusted the spring.
What a difference! The new one works in almost total silence. Smooth as silk. The new rollers are Nylon instead of steel. You can even program it into your phone, and it will send a message if you're gone and your door opens. You can also set it to close automatically after so many seconds after you leave. The Sun has zero effect on it's operation. I got 20 years out of the old one, (Genie Intellicode). Hopefully this one will be the last one I ever have to buy. (Lift Master).