How to control a lamps intensity

Basically you could probably send the direct PWM signal to a traic and it should work ok.