update docs (#1003)
* updated docs * Update ReleaseNotes.md --------- Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
This commit is contained in:
@@ -151,8 +151,8 @@ See here: https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap
|
|||||||
|
|
||||||
## What's Changed
|
## What's Changed
|
||||||
* @chpego - Fixes on the blueprint UI (#928)
|
* @chpego - Fixes on the blueprint UI (#928)
|
||||||
* @WZYProjects - Human readable "Last started" sensor (#986)
|
* @WZYProjects - Human readable "Last started" sensor (#986) and support with customization (#1003)
|
||||||
|
|
||||||
## New Contributors
|
## New Contributors
|
||||||
* @chpego
|
* @chpego
|
||||||
* @WZYProjects
|
* @WZYProjects
|
||||||
|
|||||||
@@ -65,7 +65,19 @@ api:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Custom OTA password
|
### Custom OTA password
|
||||||
By default, the Wi-Fi password will be used as your OTA password, but you can replace it using this customization:
|
By default, the Wi-Fi password will be used as your OTA password, but you can replace it.<br>
|
||||||
|
First, you need to change the default password using this code.
|
||||||
|
```yaml
|
||||||
|
# change OTA password, remove after flashing
|
||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
- lambda: |-
|
||||||
|
id(my_ota).set_auth_password("New password");
|
||||||
|
ota:
|
||||||
|
password: !secret wifi_password
|
||||||
|
id: my_ota
|
||||||
|
```
|
||||||
|
After flashing the device, you must remove the code above and replace it with the code below to start using this customization.
|
||||||
```yaml
|
```yaml
|
||||||
# Use my global OTA password
|
# Use my global OTA password
|
||||||
ota:
|
ota:
|
||||||
@@ -73,7 +85,7 @@ ota:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Web server credentials
|
### Web server credentials
|
||||||
By default, the web server credentials are defined by this project as using `admin` as `username` and your Wi-Fi password, but you can replace it using this customization:
|
By default, the web server credentials are defined by this project using `admin` as `username` and your `Wi-Fi password` as `password`, but you can replace it using this customization:
|
||||||
```yaml
|
```yaml
|
||||||
# Custom web server credentials
|
# Custom web server credentials
|
||||||
web_server:
|
web_server:
|
||||||
@@ -124,7 +136,19 @@ wifi:
|
|||||||
hidden: true
|
hidden: true
|
||||||
fast_connect: true
|
fast_connect: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Connect to multiple networks
|
||||||
|
NSPanel will attempt to connect to the one with the highest signal strength or, if you set a priority, it will try to connect to the highest priority. After failing it will connect to the second network.
|
||||||
|
```yaml
|
||||||
|
# Set dual network
|
||||||
|
wifi:
|
||||||
|
networks:
|
||||||
|
- id: !extend wifi_default
|
||||||
|
priority: 10
|
||||||
|
- ssid: !secret wifi_ssid_backup
|
||||||
|
password: !secret wifi_password_backup
|
||||||
|
priority: 0
|
||||||
|
```
|
||||||
|
|
||||||
### SNTP (time) server
|
### SNTP (time) server
|
||||||
ESPHome takes it's time from Home Assistant, however you can configure it to use a Network Time Server instead.
|
ESPHome takes it's time from Home Assistant, however you can configure it to use a Network Time Server instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user