Moved wifi related settings to their own file so they can be shared with other devices.

This commit is contained in:
John Dillenburg
2024-12-05 18:59:15 -06:00
parent 9c6cafcfdf
commit 28a155901f
3 changed files with 22 additions and 17 deletions

17
packages/wifi.yaml Normal file
View File

@@ -0,0 +1,17 @@
esphome:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${ssid}"
password: !secret ap_and_web_server_password
web_server:
auth:
username: johndillenburg
password: !secret ap_and_web_server_password
captive_portal: