Add support to change baud rate with Nextion (#662)
* User's defined baud_rate * Update nspanel_esphome.yaml * Bump version to 3.2.3
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
|
||||
##### ADVANCED CONFIGURATION - activate only when you know what you do ##############################
|
||||
# substitutions:
|
||||
substitutions:
|
||||
baud_rate: "115200"
|
||||
# ## usage of secrets-file ## -> comment in ###### Change ME ######
|
||||
# device_name: "nspanel-name" # Wird im Blueprint benötigt!
|
||||
# wifi_ssid: !secret nspanel_wifi_ssid # add in your esphome secrets file.
|
||||
@@ -88,7 +89,7 @@ ota:
|
||||
|
||||
##### LOGGER #####
|
||||
logger:
|
||||
# baud_rate: 0
|
||||
baud_rate: 0
|
||||
# level: WARN
|
||||
|
||||
##### CONFIGURE INTERNAL BUZZER #####
|
||||
@@ -108,7 +109,7 @@ rtttl:
|
||||
uart:
|
||||
tx_pin: 16
|
||||
rx_pin: 17
|
||||
baud_rate: 115200
|
||||
baud_rate: ${baud_rate}
|
||||
id: tf_uart
|
||||
|
||||
##### START - BUTTON CONFIGURATION #####
|
||||
@@ -968,7 +969,7 @@ display:
|
||||
on_setup:
|
||||
then:
|
||||
- lambda: id(disp1).send_command_printf("page 8");
|
||||
- lambda: id(disp1).set_component_text_printf("boot.esph_version", "%s", "3.2.2"); ### esphome-version ###
|
||||
- lambda: id(disp1).set_component_text_printf("boot.esph_version", "%s", "3.2.3"); ### esphome-version ###
|
||||
- wait_until:
|
||||
api.connected
|
||||
- lambda: id(disp1).set_component_text_printf("boot.ip_addr", "%s", id(ip_address).state.c_str());
|
||||
|
||||
Reference in New Issue
Block a user