Slow PWM Output

Similar to PWM, the Slow PWM Output platform allows you to control GPIO pins by pulsing them on/off over a longer time period. It could be used to control a heating element through a relay where a fast PWM update cycle would not be appropriate.


This is for slow PWM output. For fast-switching PWM outputs (for example, lights), see these outputs:

# Example configuration entry
  - platform: slow_pwm
    pin: D1
    id: my_slow_pwm
    period: 15s

Configuration variables:

  • pin (Required, Pin Schema): The pin to pulse.

  • id (Required, ID): The id to use for this output component.

  • period (Required, Time): The duration of each cycle. (i.e. a 10s period at 50% duty would result in the pin being turned on for 5s, then off for 5s)

  • All other options from Output.

See Also