Earlier quoted context omitted.
I started thinking about something similar last summer to deal with aggressive flies from a nearby farm. Perhaps it's possible to make something that's kinda safe for eyesight if you make it track and light up the fly/mosquito for e.g. 50 seconds instead of 0.5 seconds.
Did you try a fly trap jar yet? You hang it out behind a shed or garage, the lid has a little maze that they crawl into and then they can't find their way out. My parents always used https://www.bigstinkyflytrap.com/ . It definitely caught a lot of flies, which can be different than catching enough flies of course.
It worked far too well.
Within a day it had attracted flies from a large surrounding area. The nearly filled jar of flies had a presence I can only describe as "Stephen King-esque" just buzzing with raw malevolence. If you think one large black fly can make quite the noise I invite you to listen to a 1000+ angry flies in a jar.
And while many were certainly capture - an equally abhorrent number were all over the cans and the side of the house. So a mixed experience.