-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
[BUG] FlashNextion fails #972
Comments
Which webserver are you using and what tasmota version are you on? I've used this with the integrated webserver in Homeassistent many many times before. |
Apache 2.4. Adding 4096 byte limit to nspanel-lovelace-ui/tasmota/autoexec.be Line 112 in 164467d
|
I have the same Problem, but i am stuck with a flashstatus-Display staying at 10%. The console output is: |
does the suggested change fix your issue? |
how do i fix or change it? How can i add a 4096 byte limit? |
change
to
in the berry driver (autoexec.be) and restart tasmota |
oh, i wasn't sure if it is that simple! ;) but yeah this change fixed it. You are my hero. |
I've actually found that even with 4096 byte limit i could still make it crash. and further reducing buffer size seems to have helped.
|
do you have anything special on tasmota that could cause higher memory usage, is matter enabled? (not sure if this a default if you have fresh tasmota version) |
Matter is enabled. Nothing "special" otherwise. |
It's disabled on all my panels, as I flashed them before tasmota supported matter. Maybe this is indeed the difference, but I've also no clue what the benefit of matter on tasmota for home assistant users should be. |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
NextionFlash fails with berry errors
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
TO REPRODUCE
Steps to reproduce the behavior:
Run FlashNextion from local http server.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
I expect flashing to work.
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
It seems like changing
self.flash_buff += self.tcp.readbytes()
to
self.flash_buff += self.tcp.readbytes(4096)
fixes the issue (i'm assuming it stops tasmota/berry from running out of memory when http server can send things quickly as memory usage is ~10kB lower with this change).
PANEL / FIRMWARE VERION
Please add the Panel/Firmware Version you are using (EU, US-L or US-P)
EU - latest
The text was updated successfully, but these errors were encountered: