Commit Graph

15 Commits

Author SHA1 Message Date
Norbert Richter 0ff2f9072d decode-config.py: add/fix Tasmota cmnd output and filename macros
- add Tasmota SetOption51/53/54
- add filename network hostname macro @H
- fix filename @* macros (removed if data source is unavailable)
- fix Tasmota SetOption3x
- fix http body garbadge output on screen
- revise desc md/html files
2018-11-14 08:03:55 +01:00
Norbert Richter dd00af3fe0 decode-config.py: add features Tasmota cmnds, grouping and filters
- add restore value validation
- add '--force-restore'
- add output filter by Tasmota groups '--filter <group> [<group>...]'
- add '--output' and '--output-format cmnd' (adds - most of all - Tasomta command output)
- add Tasomta command output control:
  '--cmnd-indent', '--cmnd-groups', '--cmnd-nogroups', '--cmnd-sort', '--cmnd-unsort'
- removed 'raw' data handling (obsolete)
2018-11-12 16:08:09 +01:00
Norbert Richter 13c6057108
update settings to last commit for v6.3.0.4 2018-11-07 14:05:03 +01:00
Norbert Richter 9380312e7f add v6.3.0.4 config changes
- pack setting templates using diffs
- add more '--verbose' outputs
- fix wrong templates selection
- fix wrong filename handling
- fix --verbose filename output
2018-11-07 13:42:13 +01:00
Norbert Richter cf66923e52 add/fix v6.3.0.2 config changes
- upset settings: reduce to diffs
2018-11-05 09:09:53 +01:00
Norbert Richter ba874b39df add v6.3.0.2 config changes 2018-11-01 14:48:41 +01:00
Norbert Richter c3f303876f decode-config.py v2.0.0002: add release v6.3.0 config changes 2018-10-31 07:45:19 +01:00
Norbert Richter 51a86d3ff5 decode-config.py v2.0.0001: add v6.2.1.20 config changes
- change pw defaults to unhide [Norbert Richter]
- fix handling 'raw' keys and GetTemplateSetting() error
2018-10-29 16:26:45 +01:00
Norbert Richter 47a39a61ed decode-config.py v2.0.0000: add full backup/restore capability
- add full backup/restore capability
- add Tasmota .dmp format to be able to upload previously save Tasmota files
- add help files decode-config.md
- add Tasmota *.dmp format for backup
- new args:
    --restore-file, --extension, --no-extension,
    --full-help, --verbose
- changed args:
    --exit-on-error-only to --ignore-warnings
    --output-file        to --backup-file
    --output-file-format to --backup-type
    --hide-pw            to --json-hide-pw
    --unhide-pw          to --json-unhide-pw
- removed (hidden) args:
    --sort, --unsort, --raw-values, --no-raw-values
    -raw-keys, -no-raw-keys
    defaults are no raw keys/values and sort
2018-10-27 10:37:33 +02:00
Theo Arends f8ab8ef552 Clean settings.h
Removed custom fields from settings.h
2018-10-17 15:29:43 +02:00
Norbert Richter a6dae02e33 decode-config.py v1.5.0013: add dev settings 6.2.1.14 & 6.2.1.15
- clean-up settings using diffs
2018-10-14 13:18:16 +02:00
Norbert Richter 7dcb10a911 v1.5.0012: 'decode-config.py' add args, add 6.2.1.x settings, fix filename with @
- add: developer version settings 6.2.1.2, 6.2.1.3, 6.2.1.6, 6.2.1.10
- add: args '--raw-keys', '--no-raw-keys', '--raw-values', '--no-raw-values', '--hide-pw'
- add: value -1 for arg '--json-indent' to disable indent if default is enabled
- changed: json output to file use always raw values
- fix: add again removed return code desc
- fix: needless dot . in filename for @v
- fix: rule(123) none-raw outputs
2018-10-02 13:42:21 +02:00
Norbert Richter 3997792429 v1.5.0011: 'decode-config.py' fixes & enhancements
- add configuration data header to json and binary outputs
--add template @v and @f for output filename
- add output of crc values on crc error
- add '--exit-on-error-only' arg make it possible to process partly valid data
- replaced '--sort <word>' by '--unsort'
- changed data size and data crc error into warnings
- changed output always in json format
- removed arg '--format' (obsolete)
- removed collections module (obsolete)

v1.5.0010: 'decode-config.py' add more detailed outputs

- add bit structure for struct TimeRule, Timer, Mcp230xxCfg
- add program return code desc
- add error handling for additonal python modules
- changed 'Settings' definition to handle array of struct
- changed field conversion string to formular evaluation for values
- fix and enhance output values
2018-09-29 13:56:02 +02:00
Norbert Richter 76d203d5aa 'decode-config.py' version bugfixes & json output enhancements
- add new arguments '--json-indent' and '--json-compact'
- fix poblem with invalid string chars when having garbadge in flash
- fix errors using configs for Tasmota < v6.2.1
- fix setting definition for v5.13.1/v5.14.0
2018-09-26 15:18:01 +02:00
Theo Arends ec421e6144 Released decode-config.py
Released tools/decode-config.py by Norbert Richter to decode configuration data.
2018-09-25 14:08:36 +02:00