Giter Site home page Giter Site logo

Comments (3)

curzon01 avatar curzon01 commented on May 31, 2024

might be compresses scripts causes issue 'cause the Tasmota setting C++ struct does not realy have a definition for scripts - scripts consider the rule array with 3x512 bytes as a continuous storage structure. that can lead to this issue as the script stream is not consider as one - may be there's an excpetion needed for scripts. I'll take a look at it...

pls provide your uncompressed script

from decode-config.

curzon01 avatar curzon01 commented on May 31, 2024

pls can you also complete the issue template:

To Reproduce
Steps to reproduce the behavior:
1. Program parameter:
2. Result:

Version Information (please complete the following information):

  • decode-config: [e.g. use decode-config -VV to retrieve the info]:

>>> paste decode-config.py output here <<<

  • 'system' information of your Tasmota data (append -g System to your decode-config parameter, e. g. decode-config -f myconfig.dmp -g System):

>>> paste decode-config.py output here <<<

from decode-config.

littlebilly avatar littlebilly commented on May 31, 2024

decode-config is running with compressed scripting too!
Sorry this was my fault!
I created a decode-config.bat script to make things easier for me.
Part of this script was
:: Batch Datei zur automatischen Config Ermittlung von Tasmota Devices :: Zur Eingabe ist nur der Letzte Teil der IP notwendig! :: ---------------------------------------------------------------------------- @ECHO OFF ECHO Geben Sie die den letzten Teil der IP des Tasmota Device ein! SET /P IPL= ECHO Sie haben "%IPL%" eingegeben! SET IP1=192.168.148. ::ECHO Teil 1 der IP = "%IP1%"! ::PAUSE :: IP wird zusammengesetzt! SET IP=%IP1%%IPL% ECHO IP zur Statusabfrage = "%IP%"! PAUSE :: Aufruf der decode-status.py und speichern des Ergebnis in der Datei "Config%IP%".json decode-config.py -d %IP% --json-indent 2 --backup-file Config_@d_@v ::decode-config.py -d %IP% --json-indent 2 > Config%IP%.json ECHO Fertig das Ergebnis steht in der Datei "Config%IP%".json PAUSE
After changing
decode-config.py -d %IP% --json-indent 2 > Config%IP%.json
to
decode-config.py -d %IP% --json-indent 2 --backup-file Config_@d_@v
everything is working now!
The point was, that with tasmota 8.3.1 I got no error whith the first code.
Again sorry for that.

from decode-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.