From b82749c3fbd9ff130d7c10a3d0e7f61293cc621d Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Wed, 16 Apr 2025 23:00:07 +0200 Subject: [PATCH] filter fan controller --- filter_fan.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 filter_fan.yaml diff --git a/filter_fan.yaml b/filter_fan.yaml new file mode 100644 index 0000000..142e6b6 --- /dev/null +++ b/filter_fan.yaml @@ -0,0 +1,44 @@ +esphome: + name: esp-filter + friendly_name: ESP-FILTER + +esp32: + board: esp32-s3-devkitc-1 + framework: + type: arduino + +# Enable logging +logger: + level: verbose + +# Enable Home Assistant API +api: + encryption: + key: !secret api_key + +ota: + - platform: esphome + password: !secret ota_password + +wifi: + ssid: !secret wifi_ssid + password: !secret wifi_password + manual_ip: + static_ip: 192.168.1.59 + gateway: 192.168.0.1 + subnet: 255.255.255.0 + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Esp32S3N8R2 Fallback Hotspot" + password: "v41VUZA7A1VA" + + +switch: + - platform: gpio + pin: GPIO10 + inverted: false + name: "12V fan" + + +captive_portal: