One thing I don’t understand about automatic doors is who’s to say all the chickens went inside before the door closes? What if the door closes and a few weren’t ready to go inside? They’re stuck outside ?
There are measures that you can take to make this less of an issue.
To start, make sure that there is no light on that are close to the coop. As in porch lights, garage lights, security lights, any lights that they will be drawn to.
Chickens have bad eyesight in the dark so the will flock to the place with the best possible light, as it is getting dark. So turn those off before nightfall and turn them back on 30 min after. That is if the coop is close enough that it becomes an issue.
So now you will set the door to close 30 min to an hour after nightfall.
Adding that you should add lights inside and outside. On an Astronomical Timer or SONOFF 4CH Pro R3 Wi-Fi Smart Switch 4-Channel Din Rail Mounting Home Automation,Self-Locking/Interlock Control Home Appliances, RF/APP/Voice/LAN Control, Works with Alexa, have the lights turn on 30 min to an hour before sunset. Have the outside light turn off at sunset. Leaving the inside lights on. They will flock to the light and go inside. Turn off the light 30 min to an hour after sunset and then have the door close.
BTW With that same smart switch you can control a Linear Actuator to open and close a door. Makes it way cheaper than buying a Premade door.
If you have AC power to the coop you can use SONOFF B05-BL-A19 Wi-Fi Smart RGB Bulb 9W Variable Color, 2700K - 6500K Brightness Adjustable Color Temperature, APP Remote Control, Work with Alexa and Google Assistant Instead of the Smart Switches to do the lighting.