pwm control
This commit is contained in:
		@@ -43,11 +43,17 @@ mqtt:
 | 
			
		||||
  topic_prefix: "esp_filter_blower_fan"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
switch:
 | 
			
		||||
  - platform: gpio
 | 
			
		||||
output:
 | 
			
		||||
  - platform: ledc
 | 
			
		||||
    pin: GPIO5
 | 
			
		||||
    inverted: false
 | 
			
		||||
    name: "12V blower fan"
 | 
			
		||||
    id: fan_pwm_output
 | 
			
		||||
    frequency: 25000Hz
 | 
			
		||||
 | 
			
		||||
fan:
 | 
			
		||||
  - platform: speed
 | 
			
		||||
    output: fan_pwm_output
 | 
			
		||||
    name: "12V Blower Fan"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
captive_portal:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user