Sorry you lost a couple birds.
Check out the ADOR automatic chicken door. Only door I'm aware of designed from the ground up to actually be a chicken door, and not some hobbled together Rude Goldberg contraption.
Rod is an electronics engineer and designed game cameras, and used his...