|
1 | 1 | # Upgrade from OpenDTU
|
2 | 2 |
|
3 |
| -In general, one can switch seamlessly from OpenDTU to OpenDTU-OnBattery, as the |
4 |
| -parts and features inherited from the upstream project are kept compatible. |
5 |
| -This is particularly true for the settings. |
| 3 | +!!!note "Configuraton Backup" |
| 4 | + Download a backup of your `config.json` using the Web UI before switching |
| 5 | + between OpenDTU and OpenDTU-OnBattery. |
| 6 | + |
| 7 | +## Partition Layout |
6 | 8 |
|
7 |
| -However, when switching from OpenDTU to OpenDTU-OnBattery, performing an OTA |
| 9 | +When switching from OpenDTU to OpenDTU-OnBattery, performing an OTA |
8 | 10 | update will fail, as the OpenDTU-OnBattery firmware images are too large to fit
|
9 | 11 | the upstream's partition layout. This project's partition layout for the ESP32
|
10 |
| -flash memory is therefore different from the upstream project as of version |
11 |
| -2024.08.18. Follow the respective [upgrade guide](upgrade_8mb.md), which is |
12 |
| -also applicable when upgrading from OpenDTU to OpenDTU-OnBattery. |
| 12 | +flash memory is different from the upstream project as of version 2024.08.18. |
| 13 | +Follow the respective [upgrade guide](upgrade_8mb.md), which is also applicable |
| 14 | +when upgrading from OpenDTU to OpenDTU-OnBattery. |
13 | 15 |
|
14 |
| -In case you want to switch back to OpenDTU (without losing settings), you may |
15 |
| -do so by |
| 16 | +Note that settings are preserved when following the upgrade guide. |
| 17 | + |
| 18 | +In case you want to switch back to OpenDTU, you may do so by |
16 | 19 |
|
17 | 20 | * performing an OTA update using the respective OpenDTU (non-factory) firmware
|
18 |
| - binary (unless you are using an OpenDTU-OnBattery variant without OTA |
19 |
| - support). |
| 21 | + binary, unless you are using an OpenDTU-OnBattery variant without OTA |
| 22 | + support. This works as OpenDTU happily accepts to use the larger partitions. |
20 | 23 | * writing the OpenDTU factory image suitable for your board using a USB
|
21 |
| - connection. |
| 24 | + connection, which will reset the partition layout to the upstream version. |
| 25 | + |
| 26 | +## Settings |
| 27 | + |
| 28 | +In general, one can switch seamlessly from OpenDTU to OpenDTU-OnBattery, as the |
| 29 | +parts and features inherited from the upstream project are kept compatible. |
| 30 | +This is particularly true for the settings. Some settings are converted when |
| 31 | +upgrading from OpenDTU. |
| 32 | + |
| 33 | +Moving back to OpenDTU from OpenDTU-OnBattery is **not** seamless, so you |
| 34 | +should download a backup of your `config.json` file from the Web UI **before** |
| 35 | +upgrading to OpenDTU-OnBattery, in case you wish to return to OpenDTU. |
0 commit comments