Skip to content

Commit

Permalink
Prep release v13.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
curzon01 committed Dec 12, 2023
1 parent 9d6446d commit 3a408bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Convert, backup and restore configuration data of devices flashed with [Tasmota
<img src="https://github.com/tasmota/decode-config/blob/master/media/pic/decode-config.png" alt="Overview" title="decode-config Overview" width="600">

<!-- markdownlint-disable MD033 -->
[![master](https://img.shields.io/badge/master-v13.2.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/master)
[![master](https://img.shields.io/badge/master-v13.3.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/master)
[![GitHub download](https://img.shields.io/github/downloads/tasmota/decode-config/total.svg)](https://github.com/tasmota/decode-config/releases/latest)
[![PyPI version](https://badge.fury.io/py/decode-config.svg)](https://badge.fury.io/py/decode-config)
![PyPI downloads](https://img.shields.io/pypi/dm/decode-config?label=pypi%20downloads)
Expand Down Expand Up @@ -43,7 +43,7 @@ Comparing backup files created by **decode-config** and [.dmp](#dmp-format) file
Using the latest development version of decode-config is only necessary if you also use the latest development version of Tasmota.

<!-- markdownlint-disable MD033 -->
[![development version](https://img.shields.io/badge/development-v13.2.0.3-blue.svg)](https://github.com/tasmota/decode-config/tree/development)
[![development version](https://img.shields.io/badge/development-v13.3.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/development)

## Table of contents
<details>
Expand Down Expand Up @@ -337,7 +337,7 @@ Example:
decode-config -c my.conf -s tasmota-4281 --backup-file Config_@d_@v
```

This will create a file like `Config_Tasmota_13.2.json` (the part `Tasmota` and `13.2` will choosen related to your device configuration).
This will create a file like `Config_Tasmota_13.3.json` (the part `Tasmota` and `13.3` will choosen related to your device configuration).

#### Save multiple backup at once

Expand All @@ -349,18 +349,18 @@ decode-config -c my.conf -s tasmota-4281 -o Config_@d_@v -o [email protected] -o Ba

creates three backup files:

* `Config_Tasmota_13.2.json` using JSON format
* `Config_Tasmota_13.3.json` using JSON format
* `Backup_tasmota-4281.json` using JSON format
* `Backup_tasmota-4281.dmp` using Tasmota configuration file format

### Restore backup

Reading back a previously saved backup file, use the `--restore-file <filename>` parameter.

To restore the previously save backup file `Config_Tasmota_13.2.json` to device `tasmota-4281` use:
To restore the previously save backup file `Config_Tasmota_13.3.json` to device `tasmota-4281` use:

```bash
decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.2
decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.3
```

Restore operation also allows placeholders **@v**, **@d**, **@f**, **@h** or **@H** like in backup filenames so we can use the same naming as for the backup process:
Expand Down
6 changes: 3 additions & 3 deletions decode-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
METADATA = {
'VERSION': '13.2.0.3',
'VERSION': '13.3.0.0',
'DESCRIPTION': 'Backup/restore and decode configuration tool for Tasmota',
'CLASSIFIER': 'Development Status :: 4 - Beta',
'URL': 'https://github.com/tasmota/decode-config',
Expand Down Expand Up @@ -2798,10 +2798,10 @@ def match(self, setting_hardware, config_version):
'neopool_outputsensitive': (HARDWARE.ESP, '<L', (0xF74,1,11), (None, None, ('SetOption', '"SO157 {}".format($)')) ),
})
# ======================================================================
SETTING_13_2_0_3 = copy.copy(SETTING_13_2_0_1)
SETTING_13_3_0_0 = copy.copy(SETTING_13_2_0_1)
# ======================================================================
SETTINGS = [
(0x0D020003,0x1000, SETTING_13_2_0_3),
(0x0D030000,0x1000, SETTING_13_3_0_0),
(0x0D020001,0x1000, SETTING_13_2_0_1),
(0x0D010004,0x1000, SETTING_13_1_0_4),
(0x0D010002,0x1000, SETTING_13_1_0_2),
Expand Down

0 comments on commit 3a408bc

Please sign in to comment.