7 species of woodpeckers make Connecticut their home. During the spring, males drum on trees (as well as on metal eaves and gutters, house siding, poles, and trash cans) to claim their territory and attract a mate. Woodpeckers are frightened away by visuals, as opposed to being repelled by chemical sprays.
Page Hardware sells red flash tape and two versions of the Bird-B-Gone ‘Eye’ made specifically for woodpecker repelling. Another trick is to hang 8″ foil pie plates (also sold at Page’s) to deter these birds from your home. As long as they are affixed in a way that allows them to move in the wind, they scare woodpeckers away.
Carpenter bees are trickier creatures to deter. They return to the same nest year after year, so if the bees make your home their home once, they will likely return again in future.
Page Hardware sells Terro Carpenter Ant Spray that will also repel carpenter bees. The spray works best when it actually comes in contact with the bees, but you can also try saturating the wood around the holes with the spray. Triazicide is another chemical that can be painted onto the wood with a disposable paint brush. It lasts about 30 days, which may be long enough to take care of your bee problem.
Carpenter bees drill in straight, then turn left or right before building their nests. This means that spraying into drilled holes does not get the chemical into the nest itself. Filling holes with wood filler is rarely successful. Bees will either drill through the filler, or make a new hole nearby to access the original nest. Another option for eliminating carpenter bees is Pest Block Great Stuff. Once this insulation is sprayed into holes, it expands to fill the nest area.
Some people claim to have luck with is installing a 1/4″ hardware cloth under the eaves of the roof where bees are boring. Carpenter bees are large, so they cannot fit through the 1/4″ spaces to bore into the wood below.
While carpenter bees are not notoriously aggressive toward people, any of the above methods of pest elimination can aggravate and threaten the bees which may result in stings. Please use caution, especially if you are allergic to bee stings.