Wasps are terrible here every year (although this year they haven't been as bad). Here is some information I read:
In spring & early summer wasps are attracted to protein-based baits. In late summer to early fall, they're attracted to sweet-based baits.
Place baits away from hummingbird feeders & put out earlier than you do the feeders. Change often.
Protein: canned cat or dog food, tuna fish, etc.
Sweet: jelly/jam, syrup, juice
To make a trap - Cut the top off a 2 liter coke bottle. Fill the bottle with several inches of water & add dish washing liquid to the water. Swirl it around to mix. Turn the top upside down & put inside the bottle. Coat neck with jam.
Or - Take an empty jar & punch a hole in the lid that's about as wide as your pinky. Fill half way with orange juice or orange soda. Smear jam under the lid.
**Have not tried this as I run every time I see a wasp so haven't been stung!!! But........ If you are stung & have no antihistamine available, you can supposedly put a teaspoon full of instant coffee under your tongue.