Did something similar. My wife was upset about the flying rats defecating on her flower pots on the terrace. Those birds are stationary (generally) and slow so I managed to iterate a solution that (a) used a 3w green laser mounted on a webcam with servos and (b) later used a static laser with a mirror that was mounted on a set of servos. I used a stationary 4k webcam. I mapped the whole terrace so I didn't need to use stereoscopic vision. When a bird was detected (i sampled images at 1fps and built a custom model for pigeons, it was generally ok at avoiding other birds, but not perfect), i'd triagulate its position and light it up for 100ms. I used a similar contraption as the OP to cut the power. The pigeons would react by flying away, even when hit from behind or underneath. I used a series of experiments before settling on 3w. 1w was not enough.<p>It solved the problem for good. Its not a perfect solution, obviously: i had to implement a master override which stopped it when terrace doors were open, also it only fired at horizon or below since I didnt want to accidentally light up a plane (there is an airport 5km from where I live). We dont have kids, and rarelh entertain guests, so I didnt need to implement additional safety Measures. Lastly, it was running on a pretty beefy pc and was consuming around 60w constantly.<p>We fixed the problem for good by moving out. If i had to do it again, I'd try with water pistols, way safer than laser.