diff --git a/README.md b/README.md index 0f52091..277eee5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Convert, backup and restore configuration data of devices flashed with [Tasmota Overview -[![master](https://img.shields.io/badge/master-v13.1.0.2-blue.svg)](https://github.com/tasmota/decode-config/tree/master) +[![master](https://img.shields.io/badge/master-v13.2.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) @@ -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. -[![development version](https://img.shields.io/badge/development-v13.1.0.2-blue.svg)](https://github.com/tasmota/decode-config/tree/development) +[![development version](https://img.shields.io/badge/development-v13.2.0.1-blue.svg)](https://github.com/tasmota/decode-config/tree/development) ## Table of contents
@@ -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.1.json` (the part `Tasmota` and `13.1` will choosen related to your device configuration). +This will create a file like `Config_Tasmota_13.2.json` (the part `Tasmota` and `13.2` will choosen related to your device configuration). #### Save multiple backup at once @@ -349,7 +349,7 @@ decode-config -c my.conf -s tasmota-4281 -o Config_@d_@v -o Backup_@H.json -o Ba creates three backup files: -* `Config_Tasmota_13.1.json` using JSON format +* `Config_Tasmota_13.2.json` using JSON format * `Backup_tasmota-4281.json` using JSON format * `Backup_tasmota-4281.dmp` using Tasmota configuration file format @@ -357,10 +357,10 @@ creates three backup files: Reading back a previously saved backup file, use the `--restore-file ` parameter. -To restore the previously save backup file `Config_Tasmota_13.1.json` to device `tasmota-4281` use: +To restore the previously save backup file `Config_Tasmota_13.2.json` to device `tasmota-4281` use: ```bash -decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.1 +decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.2 ``` 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: diff --git a/decode-config.py b/decode-config.py index 83bec32..21191f4 100755 --- a/decode-config.py +++ b/decode-config.py @@ -2788,7 +2788,16 @@ def match(self, setting_hardware, config_version): 'hdmi_cec_device_type': (HARDWARE.ESP, 'B', 0xF61, (None, None, ('Hdmi', '"HdmiType {}".format($)')) ), }) # ====================================================================== +SETTING_13_1_0_4 = copy.copy(SETTING_13_1_0_2) +SETTING_13_1_0_4.update ({ + 'windmeter_measure_intvl': (HARDWARE.ESP, 'B', 0xF63, (None, None, ('Sensor', '"Sensor68 6,{}".format($)')) ), + }) +# ====================================================================== +SETTING_13_2_0_0 = copy.copy(SETTING_13_1_0_4) +# ====================================================================== SETTINGS = [ + (0x0D020000,0x1000, SETTING_13_2_0_0), + (0x0D010004,0x1000, SETTING_13_1_0_4), (0x0D010002,0x1000, SETTING_13_1_0_2), (0x0D010001,0x1000, SETTING_13_1_0_1), (0x0D000002,0x1000, SETTING_13_0_0_2),