I am in the same boat, and I almost have it figured out. 
 
My coop is in the garden about 80 feet from an outdoor outlet.  the problem is that some large trres with roots and 2 fences are in the way.  i don't have time to dig a trench, or rent ($100 from home depot) a trench digger, so i researched how to configure a 15 watt solar trickle charger with a 12 v old but good car battery that i got for free from my mechanic who was just going to recycle it. 
 
i went ahead and bought a 12 volt electric motor kit $100 to go with a home made door, and i built my own wooden "guillotine" door. 
 
the 12 v motor is weatherproof and is mounted on the outside wall directly above and centered over the door.  the 15 watt solar panel (1' x 3' for $170) is roof mounted, and the (12 v car battery, with the controller, battery condition indicator and charger components) are all mounted in a wooden box up under the eave.
 
Now to the problem of a 12 v dc timer that I have not yet overcome.  I spent a lot of time on line looking for a 12 v dc timer, and thought i found one, so i ordered it $15 and it came last week.  i installed it today, but it doesn't work.  I have 2 friends who are more electrically inclined than me, and both generally smarter as well.  The problem appears that I bought a timer that runs on 12 volt AC input power, so I'm back to a new search.  
 
Any idea where to buy a timer that runs on 12 v DC power?
 
I hope this is helpful.