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