web_server replaced by json
It takes less memory and provides the libraries needed for this project.
This commit is contained in:
@@ -45,6 +45,8 @@ Since in this update lots of input to the blueprint changed, we highly recommend
|
||||
- IP
|
||||
- SSID
|
||||
- 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.
|
||||
```yaml
|
||||
|
||||
@@ -90,3 +90,11 @@ text_sensor:
|
||||
bssid:
|
||||
name: ${device_name} BSSID
|
||||
disabled_by_default: true
|
||||
|
||||
##### WEB SERVER SETUP #####
|
||||
web_server:
|
||||
id: web_server_std
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: ${wifi_password}
|
||||
|
||||
@@ -64,14 +64,6 @@ wifi:
|
||||
ssid: "${device_name}"
|
||||
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:
|
||||
id: ota_std
|
||||
@@ -80,6 +72,9 @@ ota:
|
||||
reboot_timeout: 3min
|
||||
num_attempts: 3
|
||||
|
||||
##### JSON - Used to parse json and for Upload TFT #####
|
||||
json:
|
||||
|
||||
##### LOGGER #####
|
||||
logger:
|
||||
id: logger_std
|
||||
|
||||
Reference in New Issue
Block a user