Move ap to advanced
There's no use for this without `web_server` and `captive_portal`, so let's save some memory.
This commit is contained in:
@@ -11,6 +11,7 @@ substitutions:
|
|||||||
##############################
|
##############################
|
||||||
## Change only in your ##
|
## Change only in your ##
|
||||||
## local yaml substitutions ##
|
## local yaml substitutions ##
|
||||||
|
ap_password: ${wifi_password}
|
||||||
web_password: ${wifi_password}
|
web_password: ${wifi_password}
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
@@ -102,4 +103,9 @@ web_server:
|
|||||||
auth:
|
auth:
|
||||||
username: admin
|
username: admin
|
||||||
password: ${web_password}
|
password: ${web_password}
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ap:
|
||||||
|
ssid: "${name}"
|
||||||
|
password: ${ap_password}
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ substitutions:
|
|||||||
device_name: NSPanel
|
device_name: NSPanel
|
||||||
name: ${device_name}
|
name: ${device_name}
|
||||||
friendly_name: ${device_name}
|
friendly_name: ${device_name}
|
||||||
ap_password: ${wifi_password}
|
|
||||||
ota_password: ${wifi_password}
|
ota_password: ${wifi_password}
|
||||||
web_password: ${wifi_password}
|
web_password: ${wifi_password}
|
||||||
temp_units: "°C"
|
temp_units: "°C"
|
||||||
@@ -110,9 +109,6 @@ wifi:
|
|||||||
- id: wifi_default
|
- id: wifi_default
|
||||||
ssid: ${wifi_ssid}
|
ssid: ${wifi_ssid}
|
||||||
password: ${wifi_password}
|
password: ${wifi_password}
|
||||||
ap:
|
|
||||||
ssid: "${name}"
|
|
||||||
password: ${ap_password}
|
|
||||||
on_connect:
|
on_connect:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
disp1->send_command_printf("api=%i", (wifi_component->is_connected() and api_server->is_connected() and blueprint_status->state > 99) ? 1 : 0);
|
disp1->send_command_printf("api=%i", (wifi_component->is_connected() and api_server->is_connected() and blueprint_status->state > 99) ? 1 : 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user