Accessory output

There are special outlets that sense a load on one circuit and turn on another.

It will sense when the router goes on and turn on the dust collection. Some even leave the vacuum on for a minute or two after the router turns off. This might be easier than trying to get fancy.