Comments (11)
Furthermore, if I try to restore the constructed json file by renaming it, I get the following error.
c:\Python\Python37>decode-config.py -d 10.0.1.176 --restore-file Config-Washing_Machine.json
WARNING 9: file '.\Config-Washing_Machine.json' - {'adc_param_type': 51} (valid range exceeding)
from decode-config.
When using
decode-config.py -f Config_washer_7021_8.1.0.dmp --backup-file Config-@f --backup-type json
, the created file is nameConfig-Washing_Machine.json
instead ofConfig_Washing_Machine.json
(replaces underscore with hyphen).
not a bug, as designed
if you want to have Config_Washing_Machine.json
the correct parameter is --backup-file Config_@f
(hyphen are not replaced)
from decode-config.
Furthermore, if I try to restore the constructed json file by renaming it, I get the following error.
c:\Python\Python37>decode-config.py -d 10.0.1.176 --restore-file Config-Washing_Machine.json WARNING 9: file '.\Config-Washing_Machine.json' - {'adc_param_type': 51} (valid range exceeding)
AdcParam is limited to 2-7.
Correct your JSON or ignore the warning during restore by using --ignore-warnings
Reason might be garbadge in your Tasmota device config after an upgrade
Suggestion: Backup config, use Tasmota Reset (e.g. param 5) and then restore config. Then it's clean.
from decode-config.
Thanks for the prompt reply and feedback. Much appreciated. I'm slowly getting my head around it.
from decode-config.
your are welcome - add. note regarding suggestion:
Suggestion: Backup config using JSON format...
(it does not work when you use one of the binary format)
from decode-config.
So if I'm upgrading from older versions to 8.1, always use your tool to create a JSON file first rather than downloading a .dmp file from the GUI?
from decode-config.
Sorry to be a pain, but before I used your suggested migration method (thank you for that), I saved a dmp file (6.6.0) and have now converted that to a JSON file using your tool. If I upload the dmp file directly to the freshly reset device now running 8.1.0, everything is restored. If however I use this tool to upload the JSON version, I always get WARNING 9: file '.\Config_Washing_Machine.json' - {'adc_param_type': 51} (valid range exceeding)
Am I missing something? Sorry, but want to make a help video for my tubers but struggling a bit.
from decode-config.
Are, here we go. A bit more context. Used --ignore-warnings
and got:
WARNING 9: Restore file '.\Config_Washing_Machine.json' contains obsolete name 'novasds_period', skipped
from decode-config.
Are, here we go. A bit more context. Used
--ignore-warnings
and got:
WARNING 9: Restore file '.\Config_Washing_Machine.json' contains obsolete name 'novasds_period', skipped
novasds_period does not exist anymore in 8.1, delete this line from json. I will change decode-config so obsolete names will not stop restore anymore.
anyway: the safest way ugrading from 6.x to 8.x is using the Tasmota migration path (decode-config ist just for fail this procedure having a json backup). I used this on 25+ device with OTA (6.x->7.2->8.1), only one failed
from decode-config.
sorry, ignore obsolete names is already in - it does what it says when using --ignore-warnings - skipped
in general: a WARNING will stop restore unless you use the command line parameter --ignore-warnings
. In that case, warnings are still displayed but restore will be done.
use the -v
parameter to get more verbose info, you will see what the program does and what not using -v
from decode-config.
Thanks! All very helpful.
from decode-config.
Related Issues (20)
- Allow to source non-dmp files for format conversions in one fell swoop HOT 2
- decode-config behind a proxy ERROR 10 (@3892): Device did not respond properly HOT 3
- Managing multiple devices
- Release action for packaging and publishing reference outdated version on release update HOT 1
- Github Release Action for adding binary executables to Release Assets HOT 13
- Syntax Error for use of 'nonlocal' HOT 5
- Command option - TimeZone command is not proper
- intermittent struct.error HOT 3
- convert json to dmp doesn't find json file HOT 3
- dmp-file size tasmota13.1.0 seems to mismatch decode-config file size requirement
- Invalid continuation character with UTF-8 encoding HOT 4
- Ignore minor version changes automatically HOT 4
- returncode to bash is always 0
- Example of how to extract say the 'Template' from the dump file?
- utcfromtimestamp() deprecated HOT 1
- "--output-format cmnd" outputs DzIdx1 wrongly as DomoticzIdx1 etc... for all Domoticz related commands
- Missing module setting in the JSON file for ESP32-C3 ("config_version": 4) HOT 6
- array 'ds3502_state' couldn't restore, format has changed HOT 3
- Error restore script json into rules based config
- fallback_module bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decode-config.