I have motion sensor lights around my backyard and one near the chicken coop
@Sueby. That and the fencing around the chicken yard seems to help deter most predators. All but one is solar and the solar lights won’t come on in the early morning around 6 am if there’s been activity through the night. The security cameras rarely pick up small predators like a raccoon. But taccoons will trigger the lights and that usually scares them away. We get coyotes, bobcats, raccoons and fishers. The neighbors on one side claim they discovered bear tracks in their yard, but no damage other than a low hanging bird feeder. Most likely it was a raccoon as their bird feeder was about 2 feet away from their poorly constructed chicken run. I hope the bear moves onto easier pickings soon.