Files
fresh-home/esphome/common/wifi.yaml
T

29 lines
639 B
YAML

captive_portal:
wifi:
#power_save_mode: none
networks:
- ssid: !secret Wifi_SSID
password: !secret Wifi_PWD
#- ssid: !secret IoT_Wifi_SSID
# password: !secret IoT_Wifi_PWD
manual_ip:
static_ip: ${static_ip}
gateway: !secret iot_default_gateway
subnet: !secret iot_subnet_mask
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${friendly_name}"
password: !secret fallback_ap_password
# Enable fast connect
fast_connect: true
sensor:
- <<: !include sensor/rssi_sensor.config.yaml
text_sensor:
- <<: !include text_sensor/wifi_sensor.config.yaml