There have been some times when a chicken has died because it was stuck, that’s why I have never had one. But there is normally a light sensor or time sensor. The light sensor measures how dark it is. Chickens are normally all in by the time the sun goes dow, which is when the door closes. Or...