joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
872 stars 188 forks source link

[BUG] Fail to update to v4.2.0: stuck screen, failure logs #962

Closed nareddyt closed 1 year ago

nareddyt commented 1 year ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.

When I try to update the NSPanel to the latest TFT via wireless flash, the flash is not successful (see logs below) and the nspanel restarts.

After restart, NSPanel screen is stuck on "Display update available!" screen. UI is responsive to button presses, but nothing actually happens in the backend after pressing the buttons. Seems like the screen is just stuck.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

Nothing useful in AppDaemon logs as flashing is via manual service call. AppDaemon works fine.

NSPanel device logs:

[00:33:57][D][nspanel_lovelace:119]: Sending: DRAKJHSUYDGBNCJHGJKSHBDN
[00:33:57][D][nspanel_lovelace:119]: Sending: recmod=0
[00:33:57][D][nspanel_lovelace:119]: Sending: recmod=0
[00:33:57][D][nspanel_lovelace:119]: Sending: connect
[00:33:57][D][nspanel_lovelace_upload:150]: Connected
[00:33:57][D][nspanel_lovelace_upload:156]: Requesting URL: http://nspanel.pky.eu/lovelace-ui/github/nspanel-us-l-v4.2.0.tft
[00:33:57][D][nspanel_lovelace_upload:188]: Updating Nextion
[00:33:57][D][nspanel_lovelace:119]: Sending: whmi-wris 10000348,921600,1
[00:33:57][C][uart.arduino_esp32:077]: Setting up UART...
[00:33:57][D][nspanel_lovelace_upload:213]: Waiting for upgrade response
[00:33:59][D][nspanel_lovelace_upload:218]: Upgrade response is []
[00:33:59][D][nspanel_lovelace_upload:223]: preparation for tft update failed 0 ""
[00:33:59][D][nspanel_lovelace_upload:276]: Restarting Nextion
[00:33:59][D][nspanel_lovelace:119]: Sending: rest
[00:34:01][D][nspanel_lovelace_upload:279]: Restarting esphome

TO REPRODUCE

Steps to reproduce the behavior:

Flash latest release on NSPanel.

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

Flash succeeds like previous releases.

SCREENSHOTS

If applicable, add screenshots/pictures to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here. Please note here in case you are using ioBroker

PANEL / FIRMWARE VERION

Please add the Panel/Firmware Version you are using (EU, US-L or US-P)

nareddyt commented 1 year ago

Actually probably has nothing to do with this project, could be an ESPHome issue.

https://github.com/esphome/issues/issues/3519

joBr99 commented 1 year ago

Not related to this project, maybe you need to use a previous response version or a different framework.

Afaik is the code to flash the TFT copy pasted to the component for Lovelace.

https://github.com/sairon/esphome-nspanel-lovelace-ui

joBr99 commented 1 year ago

Not really sure why lovelace is mentioned in this esphome issue, sounds like they used tasmota with my project instead of esphome.

Take a look at

https://github.com/sairon/esphome-nspanel-lovelace-ui/issues/26 and https://github.com/sairon/esphome-nspanel-lovelace-ui/issues/27