web_server replaced by json

It takes less memory and provides the libraries needed for this project.
This commit is contained in:
Edward Firmo
2023-11-07 14:15:47 +01:00
parent c838216c1f
commit 24d2ff71b2
3 changed files with 13 additions and 8 deletions

View File

@@ -45,6 +45,8 @@ Since in this update lots of input to the blueprint changed, we highly recommend
- IP - IP
- SSID - SSID
- BSSID - BSSID
- ESPHome components:
- Web server
You can still add these components (except by "Exit reparse") by adding the file `nspanel_esphome_advanced.yaml` in your ESPHome settings as in the example bellow, but please have in mind that these are not used by the blueprint and will be using some memory of your ESPHome. You can still add these components (except by "Exit reparse") by adding the file `nspanel_esphome_advanced.yaml` in your ESPHome settings as in the example bellow, but please have in mind that these are not used by the blueprint and will be using some memory of your ESPHome.
```yaml ```yaml

View File

@@ -90,3 +90,11 @@ text_sensor:
bssid: bssid:
name: ${device_name} BSSID name: ${device_name} BSSID
disabled_by_default: true disabled_by_default: true
##### WEB SERVER SETUP #####
web_server:
id: web_server_std
port: 80
auth:
username: admin
password: ${wifi_password}

View File

@@ -64,14 +64,6 @@ wifi:
ssid: "${device_name}" ssid: "${device_name}"
password: ${wifi_password} password: ${wifi_password}
##### WEB SERVER SETUP - Required for json parsing and tft upload #####
web_server:
id: web_server_std
port: 80
auth:
username: admin
password: ${wifi_password}
##### OTA PASSWORD ##### ##### OTA PASSWORD #####
ota: ota:
id: ota_std id: ota_std
@@ -80,6 +72,9 @@ ota:
reboot_timeout: 3min reboot_timeout: 3min
num_attempts: 3 num_attempts: 3
##### JSON - Used to parse json and for Upload TFT #####
json:
##### LOGGER ##### ##### LOGGER #####
logger: logger:
id: logger_std id: logger_std