Note that water can sometimes leak into the wiring compartment through the top screw that holds down the wiring compartment cover.
It will run down the post and fill the wiring compartment and short everything out.
Make sure that the screw has an O-ring and maybe put a piece of tape over the screw.
The o-ring is dried up after 4 years and falling apart. Inside still looks pretty good. I was planning on putting some silicone lube in the threads to help. Also have a cover for the motor to cut down on rain hitting it hard.You can also press a piece of plumbers putty on top of the screw to seal out the water. The putty never hardens and can be removed easily should you need to get back in there.