Add configuration for FDM Exhaust Fan Control with ESP32 support

This commit is contained in:
2026-02-26 13:42:45 -05:00
parent 1c575a7185
commit ba4d815201

View File

@@ -0,0 +1,52 @@
substitutions:
device_name: fdm-exhaust-fan-control
friendly_name: "FDM Exhaust Fan Control"
esphome:
name: ${device_name}
friendly_name: ${friendly_name}
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption_key
ota:
- platform: esphome
password: !secret ota_password
wifi:
ssid: !secret wifi_iot_ssid
password: !secret wifi_password
ap:
ssid: "${friendly_name} Fallback"
password: !secret fallback_password
captive_portal:
web_server:
port: 80
output:
- platform: gpio
pin: GPIO3
id: fan_80mm_output
- platform: gpio
pin: GPIO4
id: fan_120mm_output
fan:
- platform: binary
name: "80mm Exhaust Fan"
output: fan_80mm_output
- platform: binary
name: "120mm Exhaust Fan"
output: fan_120mm_output