No change if sketch was changed
Loaded example customOptions into my ESP-01. Working well.
Then i changed the title of the option box from "My Options" to "Myx Options". Afterwards compile and upload to the board. But the ui is still the old version. The box title has not changed.
Option "Tools" -> "Erase Flash" is set to "All Flash Contents" Also deleting .cache/arduino/sketches/* before does not help.
If i look at config.json in the LittleFS storage using the /edit link the entry "param-box0" still has the old value.
System: Linux Arduino IDE 2.3.6 Using version 2.0.2 of this library.
Any idea to solve this ?
The library is implemented to avoid continuous writes during restarts, so if a key is already present in the JSON file, it won't be overwritten and must be updated explicitly. In such cases, the quickest solution is to delete the JSON configuration file.
Anyway, if you upload the firmware with the full flash erase option enabled, you should get the same result. It seems strange to me that this didn't work.
Here it is (attached), renamed to *.txt because *.ino can not be attached here. I've added an additional option "Speaker active".
It seems to be the same problem origin as stated in issue #64 i created. I placed a comment there. willi-uce put me on the right track.
Shift-Reload in firefox seems to bypass the cache contents of /setup but not the dynamically loaded part of "My Options".
But always deleting the browser cache after each time the device is flashed ....
The only quick solution i found so far is to open the file manager "/edit" and delete config.json.
After that flash the new sketch containing new/deleted/changed gui items.