I have been using the sonoff-minimal file to upgrade mty versions of Tasmota.
To upgrade an older veriosn I would first upload Sonoff-minimal, which in the past would use my existing config, then upload the newer version of Tasomota, again using my exsisting config.
Recently, after upload sonoff-minimal it would not use my exsiting config, and not connect to wifi.
I use the 4 button press to enabl Wifi manager to input my wifi credentials then press save, but the unit does not remeber the credential and resorts to default, nit connect to wifi as belwo:
00:00:00 CFG: Use defaults
00:00:00 Project sonoff Sonoff (Topic sonoff, Fallback DVES_0C38FC, GroupTopic sonoffs) Version 5.14.0-minimal-2_3_0
00:00:00 WARNING This version does not support persistent settings
00:00:00 WIF: Connecting to AP1 in mode 11N as sonoff-6396...
00:00:22 WIF: Connect failed with AP timeout
00:00:22 WIF: Connecting to AP1 in mode 11N as sonoff-6396...
00:00:44 WIF: Connect failed with AP timeout
00:00:44 WIF: WPSConfig active for 3 minutes
Migration Path ok?
https://github.com/arendst/Sonoff-Tasmota/wiki/Upgrade
HI Jason2866, This does not really address my issue, where Sonoff-Minimal does not save my Wifi credentials, so when it reboots is does not attempt to connect to my inputed credentials.
By design Sonoff-minimal does NOT save any setting. It is an intermediate firmware to load the final firmware. It uses the already present setting information.
Hi arenst, Yes that is how I was using it. It used to use the exsiting config setting but now it does not seem to. My biggest problem is trying to get it to connect to the wifi. When I enable the wifimanager I can input my wifi credentials, but upon rebooting it does not attempt to connect to them.
The only way around this is to build my own minimal firmware using my wifi credentials.
This used to work before and I dont know why it does not work now!
Your devices probably have a different cfg_holder than what is in the minimal version. I believe the default was changed in the last few months.
Hi Frogmore42, that seems resonable enough, but why does the minimal version not allow me to save my wifi credentials when in wificonfig mode. Without being able to do this I cannot upgrade to a full version!
It doesn't let you save, because if it did it would wipe out what was there. This is one of the issues with changing the cfg_holder and the way settings are defined/updated.
If you have records of what the cfg_holder is, you could make a minimal that has the same number and it would work. But then you would run into the problem when you installed full. It would probably wipe your settings.
At this point, it might be best to use serial flash and reconfigure.
So let's say I didn't flash the firmware myself originally (as in I have no means to connect via serial) is there any method available to upgrade from Minimal to Full version?
Since I can't get it to connect to Wifi I can't get to the normal web interface. Is there any means to upload the file via WiFi Manager and a sub-URL maybe?
Would WPS work?
Maybe can make it writable using one of the web commands?
just call the upload page and upload:
Man if it's that simple I'm going to kick myself!
I've read the entire internet for a solution but my last resort was logging into the working one I have when I get home and checking what the URL is to try that on the "broken" one.
@reloxx13 you are an absolute legend, that did the trick.
Bizarrely my Windows machine wouldn't even see the SSID most of the time and couldn't connect to it. Only my phone would and I managed to upload through that and sort the problem out.
Good to know that your issue is solved. Closing.