Earlier quoted context omitted.
It's only tech heavy if you decide it should be though.
I tried the low tech version first, and one night forgot to close the coop and brother fox killed all the chicken. Also chicken are not particularly smart, so switching on light to lure them in when it’s getting dark is very useful.
A couple of months ago, I had to replace the roof on their coop and locked the door so they couldn’t get in and get hurt (they are intensely curious whenever anyone is inside their coop). Construction ran into the evening, and the poor birds were visibly (and audibly) upset about not being able to go inside once it got dark.
They’re smarter than people give them credit.