I have put up motion sensor lights but the predators got used to them, but then you know if something is there if you're awake. Some do have alarms that will go off when the light comes on. I have electric wires around my coops and pens and nothing has gotten past them. Good luck...
Hens go broody when you don’t want them to… and won’t go broody when you do. 