46 lines
No EOL
708 B
YAML
46 lines
No EOL
708 B
YAML
esphome:
|
|
name: ${devicename}
|
|
|
|
wifi:
|
|
ssid: ${ssid}
|
|
password: ${wifipass}
|
|
fast_connect: off
|
|
domain: .phiax.nl
|
|
min_auth_mode: WPA2
|
|
ap:
|
|
ssid: "${friendly_devicename}"
|
|
password: ${hotspotpass}
|
|
|
|
captive_portal:
|
|
|
|
api:
|
|
encryption:
|
|
key: ${apikey}
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: ${otapass}
|
|
- platform: web_server
|
|
|
|
web_server:
|
|
port: 80
|
|
auth:
|
|
username: ${webuser}
|
|
password: ${webpass}
|
|
|
|
logger:
|
|
|
|
sensor:
|
|
- platform: wifi_signal
|
|
name: "${friendly_devicename} Signal"
|
|
update_interval: 300s
|
|
|
|
switch:
|
|
- platform: restart
|
|
name: "${friendly_devicename} Restart"
|
|
|
|
time:
|
|
- platform: sntp
|
|
id: sntp_time
|
|
timezone: Europe\Amsterdam
|
|
servers: ${ntp} |