mirror of https://github.com/arendst/Tasmota.git
No SPIFFS
parent
1b40b530d9
commit
4d6b324e4d
|
@ -108,14 +108,14 @@ So to migrate from **Sonoff-MQTT-OTA-Arduino versions before 3.1.0** to **Sonoff
|
||||||
4. Migrate to **Sonoff-Tasmota 6.x**
|
4. Migrate to **Sonoff-Tasmota 6.x**
|
||||||
|
|
||||||
# Device Settings
|
# Device Settings
|
||||||
Tasmota uses SPIFFS (SPI Flash File System) memory to store many options and settings. Newer versions of Tasmota add features and use more and more of this area than earlier versions. These regions of flash were therefore not used by Tasmota before. If you did not erase flash when you originally flashed your device, a newer update may be accesssing areas with values left over from the original factory firmware. Therefore there could be unexpected behavior. It is best to address this before upgrading across major versions of Tasmota.
|
Tasmota uses flash memory to store many options and settings. Newer versions of Tasmota add features and use more and more of this area than earlier versions. These regions of flash were therefore not used by Tasmota before. If you did not erase flash when you originally flashed your device, a newer update may be accessing areas with values left over from the original factory firmware. Therefore there could be unexpected behavior. It is best to address this before upgrading across major versions of Tasmota.
|
||||||
|
|
||||||
1. Make a configuration backup using one of these two methods:
|
1. Make a configuration backup using one of these two methods:
|
||||||
- Use `decode-config.py` from the Tasmota [`tools` code folder](../tree/development/tools) to create the backup in human readable form:
|
- Use `decode-config.py` from the Tasmota [`tools` code folder](../tree/development/tools) to create the backup in human readable form:
|
||||||
`decode-config.py -d <deviceIP> --backup-file Config-@H-@f-@v --backup-type json`
|
`decode-config.py -d <deviceIP> --backup-file Config-@H-@f-@v --backup-type json`
|
||||||
- If you have a `.dmp` backup already, you can create a JSON extract from that file:
|
- If you have a `.dmp` backup already, you can create a JSON extract from that file:
|
||||||
`decode-config.py -f <dmpFile> --backup-file Config-@H-@f-@v --backup-type json`
|
`decode-config.py -f <dmpFile> --backup-file Config-@H-@f-@v --backup-type json`
|
||||||
2. Perform a `Reset 6` (erases SPIFFS area but retains Wi-Fi and MQTT settings)
|
2. Perform a `Reset 6` (erases flash settings area but retains Wi-Fi and MQTT settings)
|
||||||
3. Upgrade the firmware
|
3. Upgrade the firmware
|
||||||
4. Restore configuration
|
4. Restore configuration
|
||||||
Particularly the older your current Tasmota versions is, it is probably best not to restore the backup directly since there may be some outdated settings in your configuration. There are often newer better alternatives, particularly since an upgrade is normally done to use new features. Configure the device manually refering to the [Commands article](Commands) and the settings (e.g., SetOptions, Rules, etc.) in the JSON file you created in step #1.
|
Particularly the older your current Tasmota versions is, it is probably best not to restore the backup directly since there may be some outdated settings in your configuration. There are often newer better alternatives, particularly since an upgrade is normally done to use new features. Configure the device manually referring to the [Commands article](Commands) and the settings (e.g., SetOptions, Rules, etc.) in the JSON file you created in step #1.
|
||||||
|
|
Loading…
Reference in New Issue