Maggots in the bin this really helps.
Sprinkle the first day a half pack of salt over the maggots back and repeat a day later. Maggots falling from the bucket sweep together and sprinkle salt. Within a few days the whole bowl is again maggots free.
Maggots in the bin, Put ivy and they're gone in an hour.
Always leave the bin a little bit open.