From 21107b053ea2d8a515f50ea9bb08588ff6a7ca62 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sun, 4 May 2025 21:25:28 +0200 Subject: [PATCH] blower fan control --- filter_v2_fan.yaml | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 filter_v2_fan.yaml diff --git a/filter_v2_fan.yaml b/filter_v2_fan.yaml new file mode 100644 index 0000000..6573729 --- /dev/null +++ b/filter_v2_fan.yaml @@ -0,0 +1,47 @@ +esphome: + name: esp-filter2 + friendly_name: ESP-FILTER2 + +esp32: + board: esp32-s3-devkitc-1 + framework: + type: arduino + +# Enable logging +logger: + level: verbose + +# Enable Home Assistant API +api: + encryption: + key: !secret api_key + +mqtt: + broker: mqtt.hadow.fr + port: 18832 + username: fire + password: !secret mqtt_password + topic_prefix: "esp_filter_blower_fan" + +ota: + - platform: esphome + password: !secret ota_password + +wifi: + ssid: !secret wifi_ssid3 + password: !secret wifi_password3 + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Esp32S3N8R2 Fallback Hotspot" + password: "v41VUZA7A1VA" + + +switch: + - platform: gpio + pin: GPIO5 + inverted: false + name: "12V blower fan" + + +captive_portal: