Have you thought of trying a motion activated sprinkler? Here's a video:
https://m.youtube.com/watch?v=...
I once tried deterring raccoons from going after the hens in our barn by dumping some bulk cayenne pepper outside their coop door. I think the raccoons enjoyed the condiment with their chicken and broke the door open anyway.