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
|
- 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
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user