Take a two litre (US maybe 1/2 gallon) pop bottle fill about 2-3 inches with sugar water and vinegar solution. Not alot of vingear. Take wire and tie it around the neck of the bottle and hang it near but not close to the hummer feeder. Wasps go in but do not come out. In a few days, clean dead wasps and refill.
I think my mother in law has used dish soap instead of vinegar. Not sure on the results. You will trap flys, wasps and even the odd hornets.
The neck of the bottle will not let them get back out.
Best of luck