-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Can't upload tft file - Reading from UART timed out #619
Comments
Okay, i was able to connect with WiFi password: "YOUR WIFI PASSWORD" |
It seems that the device is unable to connect to the network. Have you tried entering the address manually? Example:
|
Okay, after some trial and error i was able to login to the ESP with Edit1: Edit2: Edit3: |
Okay I might have destroyed something. Good new: the system is now able to get the file from HA but it can't be updated.
|
Okay we are are proceeding. I tried the blank and the EU file, as it is a EU device. It looks like this every time, for over an hour. |
not sure what you are doing :) I think the best thing is to start from the beginning. In the wiki you will find a detailed guide and tutorial videos |
I have everything done! Everything works fine, the link between the NSPanel is there, I can do OTA updates, I can see the logs. |
This is the screenshot: |
I Have the same issues with two different brand new devices |
I have the same issue. I thought it updated fine but it's stuck on loading screen. I can go to the web interface and update tft. But get the log like this:
I don't know how to fix this. I can get to the webinterface but the entity in HA is broken. ESPHome sees the device just fine. |
Did you try an reflash the esp over web interface? In the release notes it is stated that you should update the TFT-file first before updating the ESP. |
Reflashed the esp via web a lot of times. Didn't work. Also revert back to a previous esp/TFT/blueprint didn't work. I'm pretty much stuck now. What is the best course of action to start completely fresh? |
hi You can try to download nginx on your computer (linux or windows). No need to install anything. Just unzip the file and launch nginx.exe. once done, change your yaml file as below: Once the update installed, click on the button in order to update the TFT and the nextion will update. |
Will get two units this afternoon and will test. Okay, I even tried to flash via the TX/RX pins for the nextion on the board directly which did not work. |
For me it's fixed. HA 2023.4 kills esphome. Doesn't work with 2023.4 yet. Reverted to 2023.3 and all works again |
Can you confirm you are talking about 2022.3 ? So an year-old version? And after install, you reverted back to 2023.x? |
My apologies. I mean 2023. It takes me about 6 months to get used to the new year :) |
just some feedback/clarification from my side:
In the esphome there are TWO microcontollers:
This, in (other words) means:
Again in other words:
if you have a lot of "error" messages, while looking at esphome-live-log at the begining - ignore it! Important is, that you see a progess, and (hopefully) a success-message if you don´t see the information-messages about the nextion-display itself in esphome-logs than esphome is not able to talk with nextion, and you can try to change the baud-rate in esphom-config (full-version) to 9600 baud, flash esphome again and try again if the upload of the tft itself fails:
if your display stuck on "loading..."
if you have problems with uploading TFT:
And last but not least:
|
Cheers all, here's how I got it to work after trying everything else I found on the web.
Works :-) Edit: added info on used local webserver. |
Hi all. 00:47:21 [E] [uart:015] tried to change the baud rate to upload the blank tft but same result. |
Hi, Not sure if I missed something in the instructions or not, but this is what fixed it for me. Un-comment out the following section from the nspanel_esphome.yaml file. **##### Functionality for the Nextion display ##### external_components:- source: github://pr#2956components: [nextion]refresh: 1h**Also created a local web server to pull the nspanel_us.tft file from but not sure if this contributed to the solution. Cheers Chris |
Hi, but the tft upload does not work. and nothing happens, just this message appears soon after: Edit: So, cjdavo, your solution did it. many thanks. |
I try this, and I have new issue. Now when I press upload tft, NSPanel showing message: I tried with blank.tft too but with same result. One small thing, now when panel starts, i see in logs:
So Nextion is connected, but there is this error 0x55. |
For me the fix with direct upload via TF-RX / TF-TX worked for me, now I have the problem that I can't flash the ESP32 of my other two new units. |
@cjdavo Please don´t enable this section:
This way a very old version of the nextion component for esphome is used! I´m pretty sure that using another webserver solved your problem - this is mentionded many times! |
Still no luck to upload any tft from repository. For now I flashed Tasmota with their lui-release.tft and that working with no issue. So I think wy no try upload nspanel_eu.tft [and otrhers] from Tasmosta console? And when I try every time with every file [blank, eu, us... old version too] screen display message: |
After fighting for 2 days, uploading tft file via nginx local server fixed this issue for me. Strange is, that using other http server (hfs) was causing tft uplad fail as well. I've tried all possible esp configs (with uart configs, external nextion components etc.). With nginx it went well with stock config from this repo. No changes were necessary (for convenience I added only config for left button calling upload service). |
Thanks for sharing that, @Piramidowy. |
@gintonic26, how are you with this? Still having issues with the other units or are all good now? If it's all good, are you OK about closing this thread? If you still having issues to upload the TFT, please that a look at this: #641 (comment) |
Hello,
not my first time using esp32, but this time I have no more ideas.
I installed this blueprint and generated my esp32 file.
Hooked up my FTDI Adapter to the NSPanel and flashed the file. So far, so good.
Stupid as I am, there was a mistake in my Wi-Fi credentials, I changed them and generated a new file. NOW my problem: I can't establish a connection to the esp anymore, tried everything. I hope I did not destroy anything.
esptool says:
`Found 1 serial ports
Serial port COM3
Connecting......................................
COM3 failed to connect: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
A fatal error occurred: Could not connect to an Espressif device on any of the 1 available serial ports.`
My hope: After a few minutes there is a Wi-Fi access point with the name of my panel, but it is secured, are there backup credentials?
Or are there any ideas?
The text was updated successfully, but these errors were encountered: