Return captive_portal and web_server

This commit is contained in:
Edward Firmo
2024-02-19 08:45:26 +01:00
parent ee45d68146
commit b933becf1a
4 changed files with 29 additions and 14 deletions

View File

@@ -9,14 +9,15 @@ substitutions:
##############################
## Change only in your ##
## local yaml substitutions ##
temp_units: "°C"
invalid_cooldown: "100ms"
ota_password: ${wifi_password}
ap_password: ${wifi_password}
device_name: NSPanel
name: ${device_name}
friendly_name: ${device_name}
ap_password: ${wifi_password}
ota_password: ${wifi_password}
web_password: ${wifi_password}
wifi_timeout: '15'
temp_units: "°C"
invalid_cooldown: "100ms"
##### DON'T CHANGE THIS ######
version: "4.3dev"
##############################
@@ -107,6 +108,8 @@ wifi:
then:
- script.execute: watchdog
captive_portal:
##### OTA PASSWORD #####
ota:
id: ota_std
@@ -160,6 +163,14 @@ time:
- logger.log: "System clock synchronized"
- script.execute: refresh_datetime
##### Web server #####
web_server:
id: web_server_std
port: 80
auth:
username: admin
password: ${web_password}
##### START - API CONFIGURATION #####
api:
id: api_server