tasmota / decode-config

Backup/restore and decode configuration tool for Tasmota
GNU Lesser General Public License v3.0
211 stars 32 forks source link

"--output-format cmnd" outputs DzIdx1 wrongly as DomoticzIdx1 etc... for all Domoticz related commands #80

Closed sammyke007 closed 9 months ago

sammyke007 commented 9 months ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Make an output with param. --output-format cmnd

Expected behavior

DomoticzIdx1 should be DzIdx1 etc...

Version Information

Please complete the following information
use decode-config.py -V --debug to retrieve the info


decode-config v13.3.0.0 [359e3df] by Norbert Richter nr@prsolution.eu

Script:   decode-config.py
Version:  13.3.0.0 [359e3df]
Python:   3.10.11
Platform: Windows-10-10.0.22631-SP0 - AMD64
OS:       Windows 10 10.0.22631
Time:     2023-12-13 20:59:48

System' information of your Tasmota data

Append -g System to your decode-config parameter, e. g. decode-config.py -s myconfig.dmp -g System


{"bootcount": 11, "bootcount_reset_time": 1694778238, "cfg_crc": "0x5d2b", "cfg_crc32": "0x151cc777", "cfg_holder": 4617, "cfg_size": 4096, "cfg_timestamp": 1702492575, "header": {"data": {"crc": "0x56d6", "crc32": "0x151cc777", "hardware": "ESP82", "size": 4096, "version": {"id": "0xd030000", "name": "13.3.0"}}, "env": {"platform": "Windows-10-10.0.22631-SP0", "python": "3.10.11", "script": "decode-config.py v13.3.0.0 [359e3df]", "system": "Windows AMD64 10 10.0.22631"}, "template": {"crc": "0x5d2b", "crc32": "0x151cc777", "size": 4096, "version": {"id": "0xd030000", "name": "13.3.0"}}, "timestamp": "2023-12-13 18:36:15"}, "version": "0xd030000"}

Additional context

image