Power Tools Soft Start

The basics are covered here: Arduino Playground - ACPhaseControl

For any inductive load, you’ll need an r/c snubber across the triac.