39 lines
No EOL
647 B
YAML
39 lines
No EOL
647 B
YAML
wifi:
|
|
ssid: ${ssid}
|
|
password: ${wifipass}
|
|
fast_connect: on
|
|
domain: .phiax.nl
|
|
min_auth_mode: WPA2
|
|
ap:
|
|
ssid: "${friendly_devicename} Hotspot"
|
|
password: ${hotspotpass}
|
|
|
|
captive_portal:
|
|
|
|
api:
|
|
encryption:
|
|
key: ${apikey}
|
|
on_client_connected:
|
|
then:
|
|
- light.turn_on: blue_led_light
|
|
on_client_disconnected:
|
|
then:
|
|
- light.turn_off: blue_led_light
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: ${otapass}
|
|
|
|
web_server:
|
|
port: 80
|
|
|
|
logger:
|
|
|
|
sensor:
|
|
- platform: wifi_signal
|
|
name: "${devicename} WiFi Signal"
|
|
update_interval: 300s
|
|
|
|
switch:
|
|
- platform: restart
|
|
name: "${friendly_devicename} Restart" |