New Automation: Pulse Width Modulation (PWM)

Here is an example using the PID controller with JavaScript. Should be very similar for the PWM module. New Automation: PID Controller - #23 by hilbrand