There's a lot of relay/module to dim light using PWM and Arduino. Could still use the "all in one" solution, just running the DC to the AC relay/module.