Skip to content

Commit

Permalink
Specify UART when writing
Browse files Browse the repository at this point in the history
To avoid issues when another UART is added.
Solves #2265
Related to #2139
  • Loading branch information
edwardtfn committed Sep 3, 2024
1 parent b576bc0 commit aa7caca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,14 @@ This release introduces the option to automatically update the TFT when an older
- **Description:** Implemented a fix that allows the display to remain off when the button is pressed while the panel is sleeping.
Although this was not the primary request in the issue, it addresses a reported problem and enhances the overall behavior of the display during sleep mode.

### Custom UART Compilation Issue Resolved (#2265)
- **Criticality:** Minor
- **Affected Components:** ESPHome
- **Issue Number:** #2265
- **Description:** Fixed a compilation issue that occurred when using a custom UART in conjunction with the advanced package.
The solution involves specifying the ID of the Nextion UART when writing commands, ensuring compatibility and preventing compilation errors.
This fix allows users to continue customizing their setups with advanced UART configurations without encountering build failures.

### Screen Wake-Up on Hardware Button Press Configurable (#2194)
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
Expand Down
8 changes: 6 additions & 2 deletions esphome/nspanel_esphome_advanced.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ script:
mode: restart
then:
- logger.log: "Exit reparse"
- uart.write: "DRAKJHSUYDGBNCJHGJKSHBDN"
- uart.write: [0xFF, 0xFF, 0xFF]
- uart.write:
id: tf_uart
data: "DRAKJHSUYDGBNCJHGJKSHBDN"
- uart.write:
id: tf_uart
data: [0xFF, 0xFF, 0xFF]

- id: !extend stop_all
then:
Expand Down

0 comments on commit aa7caca

Please sign in to comment.