Instead of using a relay and wiring it into the AC line, this gent came up with a safer approach and uses a motor to “turn a dimmer switch”.
I like this idea since it uses existing tech, and its safe for those that want to tinker, and not electric themselves.