diff --git a/esphome/fdm-exhaust-fan-control.yaml b/esphome/fdm-exhaust-fan-control.yaml new file mode 100644 index 0000000..b1a6398 --- /dev/null +++ b/esphome/fdm-exhaust-fan-control.yaml @@ -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 \ No newline at end of file