Not sure about others but red wasps are deathly afraid of hornets. I stuff a brown paper bag with plastic grocery sacks to give it some puffiness and hang these in the barn or in a tree near the porch. No red wasps. They think the bag is a hornet nest,
Red wasps are not the only ones that are afraid of hornets. So am I, I discovered an underground nest of them one time and I was glad when they let me go.