Tasmota сброс настроек wifi

Device Recovery~

Configuration problems can cause boot loops, erratic behavior, devices which will not appear (i.e., no tasmota-xxxx AP) or connect to Wi-Fi, etc. In cases such as these when there is no proper operation a recovery process is required.

By default, the firmware tries to preserve the existing configuration (to support automated updates via OTA upgrades). However, various things can happen that cause the existing configuration to become problematic, e.g., when upgrading from old releases without following the migration path.

When code updates change the values or the way settings are used, those code changes don’t directly write the settings on the running device when you load the new firmware. What happens is that when it boots up, the firmware looks to see if it has a valid configuration (if it’s an upgrade from an older Tasmota version) and if the CFG_HOLDER value is in the right place it assumes that the existing configuration is valid.

If it doesn’t find the right value it assumes that this is not a «simple» upgrade and takes the compiled-in configuration settings and writes them out to the configuration area.

Recovery Techniques~

Listed below are a few ways to reset the device to what is set in the firmware binary ( my_user_config.h and user_config_override.h ) aka firmware defaults, in order to recover a device:

  • Hold the button ( Button1 ) down, if available, for 40 seconds. After that the device should reset and reboot. Fully cycle power after that is done to make sure everything is starting from scratch.
  • Issue Reset 1 command via the console, MQTT or HTTP. After the device reboots fully cycle power.
  • use Fast Power Cycle Device Recovery procedure
Читайте также:  Приточно очистительный мультикомплекс ballu air master warm co2 wi fi

Fast Power Cycle Device Recovery~

Implemented for situations where a device cannot be reset to firmware defaults by other means (no serial access, no button). It resets ALL Tasmota settings (equal to Reset 1 ) after 7 power cycles.

SetOption65 must be set to 0 (default) in order for this feature to be enabled.

If you have a weak power grid or frequent power brownouts it’s best to disable this feature with SetOption65 1 immediately or you’ll end up with firmware default devices after a brownout event.

Procedure~

  1. Cut power from the device completely for 30 seconds
  2. Power the device on and off six times with intervals lower than 10 seconds and leave it on after seventh time
  3. Fast power cycle device recovery should activate and the device should be reset to firmware defaults

If you flashed a precompiled binary you can reconfigure the device using the web UI after the reset.

After Recovery~

Once recovered, the device should be observed that it operates without instabilities before attempting to configure the device in any way. If the device still does not, follow these steps if you are able to configure its Wi-Fi and connect:

  1. Configure the device as Generic (18)
  2. Perform an OTA upgrade specifically to tasmota-minimal.bin . Taking this intermediate step ensures that the firmware will be reloaded. Since Tasmota performs a version comparison before performing the OTA update, explicitly changing the firmware that is on the device will ensure that the firmware is indeed replaced in the next step.
  3. Perform an OTA upgrade to the desired firmware variant.

Once the device operates reliably, begin the configuration to set the GPIO configuration (via a Template or Module). Take any further configuration steps one at a time to ensure that after each setting is applied, the device continues to operate reliably.

Читайте также:  Wifi точка доступа проги

If the device exhibits defective behavior immediately after a particular individual setting is changed, then be aware that there may be a problem in the firmware. Please report this behavior via the Tasmota Discord Chat.

That Didn’t Work, What Now?~

If none of these methods result in a working and reliable device, the only remaining option is to connect the device to the serial programming interface, erase the flash memory and flash a different precompiled firmware binary.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

Resetting wifi on Sonoff #5651

Resetting wifi on Sonoff #5651

Comments

ISSUE DESCRIPTION — TROUBLESHOOTING

A clear description of what the issue is and be as extensive as possible

REQUESTED INFORMATION

Make sure these boxes are checked before submitting your issue. Thank you

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues)
  • Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting)
  • Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers)
  • Searched the problem in the chat (https://discord.gg/Ks2Kzd4)
  • Device used (i.e. Sonoff Basic) : _____
  • Tasmota binary firmware version number used : ____ / (pre-compiled or self-compiled ?)
  • Development IDE — Compiler / Upload tools used : ____ / ____
  • Provide the output of command status 0 :
  • Provide the output of console when you experience your issue if apply :
    (Please use weblog 4 for more debug information)

(Please, remember to close the issue when the problem has been addressed)

Читайте также:  Обновление приложений при вайфай

The text was updated successfully, but these errors were encountered:

Источник

Оцените статью
Adblock
detector