Solar powered automatic opening and closing chicken door