Skip to content

Instantly share code, notes, and snippets.

@TheZoker
Created May 18, 2020 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheZoker/da132365f59e52eba4711409923b8569 to your computer and use it in GitHub Desktop.
Save TheZoker/da132365f59e52eba4711409923b8569 to your computer and use it in GitHub Desktop.
esphome:
name: fancontrol
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
captive_portal:
web_server:
port: 80
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_password
ota:
password: !secret api_password
output:
- platform: ledc
pin: GPIO4
frequency: 25000 Hz
id: ventilation_fan_pwm
fan:
- platform: speed
output: ventilation_fan_pwm
name: "3D Drucker Lüfter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment