Good ol' Marigolds. For growers not used to them for outdoor use the scented types have to be planted. Since some people do not like the way the flower & leaf smell there are new varieties without an odor. Those do not repel as many insects.Anyways outdoors I only had a few pests there's a good natural balance pests vs predators. Birds work great for the larger pests. Grow some marigolds right along side your cannabis. All sorts of critters hate that plant including the moths that lay the eggs.
I had corn borers last year and they only messed with plants that were the farthest away from the marigolds. There are other plants that are good companion plants to help deter pests.
Pick the fancy flowering Marigolds for urban gardens. People passing by will accept them as part of a colorful garden and might not notice the weed plant next to the. For guerrilla grows I think the best ones to chose will the older taller varieties with single petal flowers that will look like typical wildflowers.
Marigolds will help a lot in repelling or controlling insects. But, they do not repel mites so another plant/flower will have to be planted for those; maybe some Rosemary plants.