29 lines
560 B
YAML
Executable File
29 lines
560 B
YAML
Executable File
api:
|
|
encryption:
|
|
key: ${api_password}
|
|
|
|
ota:
|
|
- platform: esphome
|
|
id: my_ota
|
|
password: ${ota_password}
|
|
|
|
wifi:
|
|
networks:
|
|
- ssid: ${wifi_ssid}
|
|
password: ${wifi_password}
|
|
manual_ip:
|
|
static_ip: ${ip}
|
|
gateway: ${gateway}
|
|
subnet: ${subnet}
|
|
dns1: 192.169.2.15
|
|
dns2: 1.1.1.1
|
|
- ssid: ${wifi_ssid2}
|
|
password: ${wifi_password2}
|
|
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: ${device_name}
|
|
password: ${wifi_password}
|
|
|
|
captive_portal: |