60 lines
987 B
YAML
60 lines
987 B
YAML
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
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: !secret ota_password
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
manual_ip:
|
|
static_ip: 192.168.1.60
|
|
gateway: 192.168.1.254
|
|
subnet: 255.255.255.0
|
|
dns1: 9.9.9.9
|
|
dns2: 149.112.112.112
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Esp32S3N16R8 Fallback Hotspot"
|
|
password: "v41VUZA7A1VA"
|
|
|
|
mqtt:
|
|
broker: mqtt.hadow.fr
|
|
port: 18832
|
|
username: fire
|
|
password: !secret mqtt_password
|
|
topic_prefix: "esp_filter_blower_fan"
|
|
|
|
|
|
output:
|
|
- platform: ledc
|
|
pin: GPIO5
|
|
id: fan_pwm_output
|
|
frequency: 25000Hz
|
|
|
|
fan:
|
|
- platform: speed
|
|
output: fan_pwm_output
|
|
name: "12V Blower Fan"
|
|
|
|
|
|
|
|
captive_portal:
|