53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
esphome:
|
|
name: sthome-ut3
|
|
friendly_name: sthome-ut3
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: arduino
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "AIoquKPjpcHa2pcJ0aKxvtpM3mwgZuZhpCPtdVitP2Q="
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: "879012af7180c8700cee65fbf18704d1"
|
|
|
|
wifi:
|
|
#ssid: !secret wifi_ssid
|
|
#password: !secret wifi_password
|
|
# this module struggles with noise, setting output_power to 8.5dB
|
|
output_power: 8.5dB
|
|
# we will use local dns server for local dns resolution
|
|
domain: .sthome.org
|
|
networks:
|
|
- ssid: !secret wifi_ssid1
|
|
password: !secret wifi_password1
|
|
- ssid: !secret wifi_ssid2
|
|
password: !secret wifi_password2
|
|
- ssid: !secret wifi_ssid3
|
|
password: !secret wifi_password3
|
|
- ssid: !secret wifi_ssid4
|
|
password: !secret wifi_password4
|
|
manual_ip:
|
|
# For faster connection startup, set a static IP address
|
|
# Set this to the IP of the ESP
|
|
static_ip: 10.0.2.3
|
|
gateway: 10.0.0.2
|
|
subnet: 255.255.240.0
|
|
dns1: 10.0.0.1
|
|
dns2: 10.0.0.2
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Sthome-Ut3 Fallback Hotspot"
|
|
password: "cGXb2DqkwaOr"
|
|
|
|
captive_portal:
|
|
|