.... without loosing my wifi settings or general config ?
When the switch is already installed.
With a OTA Update from the server i had a problem, it did not work.
I then used a offline file and lost all settings and big problems to get a touch.switch in AP mode
i needed about 1 hour to fix this.
so what would be the best way step by step
thx
tom
The settings should always be retained, Tom. I have done hundreds of OTA updates with generally no problems - as long as:
The devices were programmed properly to begin with. I use ESPTTool as detailed here: https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool. The dout mode of programming is very important.
You have good WiFi signal to the device. You're taking a risk if signal strength is less than 25%
OTA details here: https://github.com/arendst/Sonoff-Tasmota/wiki/Upgrade, including links to the binaries. Just save the appropriate URL into your device.
thank you, so you think after a wifi update OTA....
my WLAN settings should still be in the device?
to push the touch 4 times, its a pain in the ass to do this
What state is the device in now? Can you check your router to see if it's been assigned an IP?
If it's going into AP mode, it means it can't connect to your Wifi. Catch it while it's transmitting (I use my phone to scan for SSID) and connect to the wifi, go to 192.168.4.1 and configure your WiFi credentials.
sorry
at the moment it is full working with i think FW 5.10
so when i flash now OTA will it lost my wifi settings or should the stay?
They should all stay
You can use http://sonoff.maddox.co.uk/tasmota/sonoff.bin as the OTA url if you are using the standard firmware and it will always be the latest released binary.
ok
will try it today
thx
so now i have the same situation like the last time
OTA update
1-2 minutes nothing happened at the webinterface and now i think after a reboot its offline
at the router i cannot find a device called sonoff
so the update way is realy a problem must uninstall a wood panel to reset the sonoff to AP mode
or any other ideas?
if the firmware you use, have the same CFG_HOLDER in the user_config.h than the one you are updating, the old settings are not being reset.
So, if you are building the code you can check that. If not, may be that value is going to be differet making a reset of configuration.
Also, you can set the wifi_manager to be as you need: wifi_manager, wifi_retry, etc
just dont use the bins on the releases page.
download zip, change wifi settings and everything else in user_config.h, build and flash.
tip: read user_config.h from top to bottom and disable sensors/mqtt/dometicz if not needed.
better: use git, clone, change user_config, make a backup eg my_user_config.h, build and flash
new update: git revert user_config.h (to avoid conflicts), merge your settings from teh backup with ne new user_config.h, build & flash.
and never have problems again.
PS: dont listen on the first answer you get and w8 for more response next time.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.
Most helpful comment
just dont use the bins on the releases page.
download zip, change wifi settings and everything else in user_config.h, build and flash.
tip: read user_config.h from top to bottom and disable sensors/mqtt/dometicz if not needed.
better: use git, clone, change user_config, make a backup eg my_user_config.h, build and flash
new update: git revert user_config.h (to avoid conflicts), merge your settings from teh backup with ne new user_config.h, build & flash.
and never have problems again.
PS: dont listen on the first answer you get and w8 for more response next time.