diff --git a/README.md b/README.md index 8440d9b..646d8bc 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.3.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/master) +[![master](https://img.shields.io/badge/master-v13.4.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.3.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/development) +[![development version](https://img.shields.io/badge/development-v13.4.0.0-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.3.json` (the part `Tasmota` and `13.3` will choosen related to your device configuration). +This will create a file like `Config_Tasmota_13.4.json` (the part `Tasmota` and `13.4` 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.3.json` using JSON format +* `Config_Tasmota_13.4.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.3.json` to device `tasmota-4281` use: +To restore the previously save backup file `Config_Tasmota_13.4.json` to device `tasmota-4281` use: ```bash -decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.3 +decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_13.4 ``` 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: @@ -671,7 +671,7 @@ decode-config -s mqtts://mqttuser:myBrokerPaszxwo!z@mybroker.example.com/tele/ta Linux ```bash -for device in tasmota1 tasmota2 tasmota3; do ./decode-config -c my.conf -s $device -o Config_@d_@v +for device in tasmota1 tasmota2 tasmota3; do ./decode-config -c my.conf -s $device -o Config_@d_@v; done ``` under Windows @@ -921,6 +921,7 @@ These Tasmota commands are used for immediate action and do not change settings These Tasmota commands are unsupported and not implemented in **decode-config**
+ | Group | Supported | *Ad hoc* |`Unsupported`| |----------------|-----------------------------|------------------------|-------------| | **Control** | BlinkCount | *Backlog* | | @@ -1139,6 +1140,13 @@ These Tasmota commands are unsupported and not implemented in **decode-config** | | VoltageLow | | | | | VoltRes | | | | | WattRes | | | + | **Usf** | UsfFTP | | `UsfType` | + | | | | `UsfSize` | + | | | | `UsfFree` | + | | | | `UsfDelete` | + | | | | `UsfRename` | + | | | | `UsfRun` | + | | | | `UsfServe` | | **Light** | DimmerRange | *Channel* | `Color` | | | DimmerStep | *CT* | `Dimmer` | | | Fade | *CTRange* | | @@ -1239,6 +1247,7 @@ These Tasmota commands are unsupported and not implemented in **decode-config** ## Program return codes
+ **decode-config** returns the following codes: * **0** - successful: diff --git a/decode-config.py b/decode-config.py index 06c15d0..9792162 100755 --- a/decode-config.py +++ b/decode-config.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- from __future__ import print_function METADATA = { - 'VERSION': '13.3.0.0', + 'VERSION': '13.4.0.0', 'DESCRIPTION': 'Backup/restore and decode configuration tool for Tasmota', 'CLASSIFIER': 'Development Status :: 5 - Production/Stable', 'URL': 'https://github.com/tasmota/decode-config', @@ -13,7 +13,7 @@ """ decode-config.py - Backup/Restore Tasmota configuration data - Copyright (C) 2023 Norbert Richter + Copyright (C) 2024 Norbert Richter This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -679,7 +679,7 @@ def str(self, config_version): Create hardware string @param config_version: - config_version vvalue from Tasmota configuration + config_version value from Tasmota configuration @return: hardware string @@ -1938,6 +1938,11 @@ def match(self, setting_hardware, config_version): 'scripting_compressed': (HARDWARE.ESP, 'B', (0x4A0,1,6), (None, None, ('Rules', None)), (False, False)), 'script_enabled': (HARDWARE.ESP, 'B', (0x49F,1,0), (None, None, ('Rules', '"Script {}".format($)')), isscript), 'script': (HARDWARE.ESP, '1536s',0x800, (None, None, ('Rules', None)), (scriptread, scriptwrite)), + 'domoticz_update_timer': (HARDWARE.ESP, '