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
Bring back the user feature of erase flash #130
Comments
Can you define "user"? There are currently two ways when installing firmware when it won't erase the flash:
|
The "user" in this case the physical user selecting the option below Where the html is:
and the underlying javascript looks like this:
|
The way ESP Web Tools works has changed. Previously the button was the UI and via attributes a user could create their own UI around it. In the new version there is a dialog prompting the user what to do. It no longer immediately starts installing the firmware. It is a bad user experience if a user can check a checkbox to "Reset settings to default" to get to the console to enter some commands. Without Improv Serial: With Improv Serial: |
I understand. I think I'll stick with 3.x as I need the erase option BEFORE flashing. Using a terminal to reset settings that made the flashed device unusable (like broken serial code in the ESP32 SDK/IDF/Core does) won't work. Thx. |
I would love to better understand your use cases. I just noticed that your upgrade instructions contain a serial section that points at your installation website. Is it correct that you're trying to support the following use cases:
I personally think that use case 2 is a very small group because the OTA update option is far easier. The added benefit of the console (which I added partially because one of your team members +1d the request) allows users to configure Tasmota without having to go through the painful Soft AP steps to connect it to Wi-Fi. If you would add Improv Serial support the experience could be even better. |
Not sure how big the binaries of Tasmota are these days, but I know that for ESPEasy users it is becoming quite a struggle to OTA on 1M units. (next to impossible) |
For ESPEasy it would help for sure as there can be valid reasons to perform a full wipe, even when the ESP seems to run fine and even if Improv (when implemented, working on it) does report there is a version running that needs only an upgrade. The problem is that sometimes, for whatever reason, the WiFi doesn't work stable or at least not as stable as it could. If there is a toggle possible to force a wipe, but having it disabled by default, then that would be great. |
Yes it would help but we still have to update all manifests. Perhaps the default can be prompt for erase if the parameter is not present |
@balloob the +1 for Terminal window was for seeing what happens when ESP starts with flashed firmware. For Tasmota users most of the time the assigned IP address is from interest. Power users do additional individual configs when flashing from scratch. |
The terminal window has a "RESET DEVICE" button which offers exactly that feature 👍 |
Isn't "Wipe Flash" or "Format" a better description? So I do have developed some kind of allergy for the word "reset"... |
PR implementing |
@balloob you closed this issue but you haven't solved it really :) I'll put this features on vote. I think that a "Wipe flash" option should be always visible to user before installing the firmware. With previous version this is possible, why insert a regression in the newer version of esp web tools? |
For Tasmota we prefer NOT to erase flash on subsequent use of esp-web-tools. This way the code can be updated while keeping the settings.
Used to work in the 3.x release but now only works when configured at manifest level.
The text was updated successfully, but these errors were encountered: