get these: put them facing away from the enclosure (front toward enemy)
Yard Sentinel ultrasonic pest repeller
​
There is an aggressive neighborhood cat that used to come through our front yard and attack our cat through the window. After which, she would go and pee in the living room. Put these out, and now we can see the cat cross the street to pass our house.