Old post, but I thought I'd share... I had a terrible problem with funghs gnats at one point. I keep chameleons that live in large bioactive enclosures and some were/are on permanent free ranges with large live plants. Obviously all the organic soil and such is a gnat magnet. One batch of soil was particularly bad, it erupted into a swarm of gnats, they were all through the house, I couldnt even breath without fear of them going in my mouth. Wifey was not happy, so I closed off the cham room and quickly tried everything possible. Sticky traps, apple cider vinegar, etc. didn't make a dent. Figured I was going to have to throw everything out and start fresh with sterile soil and more preventative measures. I figured I'd try one last thing. I had been wanting to get a little bit into the carnivorous plant hobby anyway, so I got a few for the heck of it. Two mexican butterworts, two sundews, and a nepenthes. I never thought these things would do much of anything in terms of controlling gnats, but man was I wrong. They absolutely decimated the gnats, within a week. There were barely any left even in the cham room, and the house had long been cleared. They all did a great job, but the sundews really went above and beyond with the gnat murder. To this day, I keep a few carnivorous plants in my reptile room. Haven't seen a gnat around the house since and that was a couple years ago. Now I get happy when I see one in an enclosure because I know it'll end up as free plant food in no time. Really one of the best investments I've made. By far the easiest and most fun(imo) gnat solution. And the simple beginner plants are extremely easy to care for if you give them what they need.
Sorry for the long text. I just remember freaking out about these guys and reading all of the different methods, but no one ever seems to bring up how effective these plants are.