-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TFT stuck, can´t update #2372
Comments
Could you please share the ESPHome logs from the moment you click the update button to when your panel restarts (or a few seconds after it restarts)? |
Sorry, i didn't save it befor i tryed with Tasmota, stupid, i know... ;) 00:00:03.911 HTP: Web server active on tasmota-1D21BC-0444 with IP address 192.0.2.150 |
I couldn't get that much from your log, but looks like the connection to the server was interrupted. |
INFO Reading configuration /config/esphome/nslekrum2.yaml... |
Is is there any way to upload TFT-file through TTL? |
There is. I will find an older issue related to this and share here... |
I don't see anything in your screenshot, but anyways, I was asking about what you see on your panel's screen? |
|
Only "System Data ERROR!" |
Could you please set the baud rate to 9600bps, try to upload TFT and share logs? |
When trying from Github: [16:27:20][D][button:010]: 'Update TFT display' Pressed. |
From my server: [16:33:14][D][button:010]: 'Update TFT display' Pressed. |
With nspanel_blank.tft from my server: [16:38:02][D][button:010]: 'Update TFT display' Pressed. |
On addition to net connecting to Nextion, it's also getting an error with file size when downloading. Also, when I've asked to try different baud rates, o was referring to "Baud rate" and not "Update TFT - Baud rate". Third, I would suggest selecting the "Blank" model (or the specific model you have) in "Update TFT - Model". Finally, do you mind sharing your panel's yaml? Please hide any sensitive/private info before sharing. |
I had the same thing. Maybe this will help you. |
This is with 9600 [18:50:47][I][app:100]: ESPHome version 2024.10.3 compiled on Nov 8 2024, 16:36:21 |
esp32: api: substitutions: Settings - Editable valuesdevice_name: "nslekrum2" Add-on configuration (if needed)heater_relay: "1" # Possible values: "1" or "2"Customization areaMy customization - StartMy customization - EndCore and optional configurationspackages: |
I have 5 NS Panels around the house. Almost never had problems updating. Sometimes I had to try a couple of times, but newer got this stuck. |
Ok, now you changed where I wanna you to try. Please try other baud rates (not
When you are in the right baud rate, it should look like this:
If none of the baud rates works, then you probably have a physical issue between your ESP32 and the Nextion display, but this is very unlikely. |
I'm pretty sure I've created a |
On 38400 i got something [20:19:15][D][script.set_baud_rate:3037]: Set ESPHome new baud rate to 38400 bps |
What baudrate should the udate baud rate be? The same, 38600? |
Nice! |
Upload baud rate can be 921600bps. The issue you are seeing is with the regular communication baud rate. |
Nope, dident work... |
Ha, now 38400 don´´t work again... |
It´s random. Sometimes 2400 works. [20:43:07][D][script.set_baud_rate:3037]: Set ESPHome new baud rate to 2400 bps |
When i use low baud rate, like 2400 I get this: [20:52:26][D][script.set_baud_rate:3037]: Set ESPHome new baud rate to 2400 bps |
Whwn i go higher, like 38400 or higher i dont get them... [20:53:54][D][script.set_baud_rate:3037]: Set ESPHome new baud rate to 115200 bps |
Got this when in 115200 and 2400. Then it rebooted. [21:18:58][D][climate:399]: Mode: OFF |
Did you got the QRcode in the screen? |
No, I see the progress bar on the screen, but then it reboots |
I don't think lower baud rates will make your life easier... But every time you try to change it, the display will be instructed to start using that new baud rate forever, so if the command goes thru, that will be your new baud rate. The upload baud rate can be different (and ideally as high as possible) as that is temporary and your panel will respore the previous baud rate after a restart at the end of the TFT transfer. The TFT transfer tries first at the disered baud rate, then at the current baud rate then at the default baud rate (115200bps). |
What do you see after the reboot? |
"System Data ERROR!" |
I think its stuck in som way. When i try Kleinheribert trick to flash the TFT with Nextion Editor it starts to go then just stops. |
Is there a way to "clear" the TFT? |
On your device's page (Settings > Devices and Services > ESPHome), on the "Update TFT - Model", please try other than the |
Nope |
Please share logs |
This time i dien´t see the upload screen [21:43:50][D][script.set_baud_rate:3037]: Set ESPHome new baud rate to 2400 bps |
It just don´t start the upload [21:47:32][C][rtttl:029]: Rtttl |
Could it be a power problem? I´we tryed with a nother powersource so it sholuden´t be that... |
Oh well, thank you Sir for all the help!!! I think I´l order a cople more and thow this one in the bin! ;) |
Your panel is responding at 115200bps:
Try everything to 115200bps and try again. This is default. I don't think this file size is correct. Do you have any restriction in your network to prevent your panel accessing the Internet?
By the way, before giving up, try setting the framework to Arduino and try the upload again. esp32:
framework:
type: arduino |
Hi, I have the same issue. I updated ESPHome and after that updated the panel wirelessly to the latest version. After that, the error Nextion reported variable name invalid! came up and the device has only the clock shown and one button is working. I tried to re-enroll the original tft upload file from my host, but it didn't work. Now it is running the latest version again. Is there a way to fix it? EDIT: right now I tried to flash the panel wirelessly with nspanel_blanktft, which was successfully done. But I don't know why the panel only shows the clock and nothing else.
|
When you open the automation using the Blueprint in Home Assistant, which version is shown there? |
Thanks Edward for the quick fix. The panel is working again :) |
Same issue here, don't know how to solve. When pressing Update TFT, it writes and then it is stuck at 4% and just crashes.
|
Could you please share ESPHome logs from right before you press the update button until a few seconds after the device restarts? |
Will do, give me a couple of minutes. Currently trying Blank to see if that solves stuff. |
|
Coming much further now, after just retrying a couple of times. EDIT: Restarted one of my access points and forced it to the other and now it completed without any issues. So probably it was related to my WiFi being unstable. |
Nice to hear it worked. :) |
TFT Version
4.3.12
Firmware Version
4.3.12
Blueprint Version
4.3.12
Panel Model
EU
What is the bug?
Hello! I tryed to update TFT-file to ver. 4.3.12 did not go so well. It dident complete the update. Now after a few tries I can't even get it to start updating. I've tried every method I could find online, NSPanel_blank, Tasmota and so on. Is there any way to completely reset the TFT module? I get the same error when I try in Tasmota as in ESPHome.
Steps to Reproduce
No response
Your Panel's YAML
No response
ESPHome Logs
No response
Home Assistant Logs
No response
The text was updated successfully, but these errors were encountered: