Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. E3DC Hauskraftwerk steuern

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E3DC Hauskraftwerk steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chilihead @ArnoD last edited by

      @arnod das stimmt, es sind alle Parameter als String drin. Weiß nicht ob das nach dem Script Update überschrieben/angelegt wurde oder vorher schon so war? Nutze ja dein tolles Script ja schon länger.

      Also wären alle Typen in Parameter numbers?

      A 1 Reply Last reply Reply Quote 0
      • C
        Chilihead @ArnoD last edited by Chilihead

        @arnod
        f7d25d71-09db-4ea9-adfe-81725bfa680a-image.png
        99fe02a7-fd63-463f-9fa6-e634a3413dca-image.png

        A 1 Reply Last reply Reply Quote 0
        • A
          ArnoD @Chilihead last edited by

          @chilihead sagte in E3DC Hauskraftwerk steuern:

          Also wären alle Typen in Parameter numbers?

          Nein es sind auch welche vom Typ String dabei.
          Wenn du es manuell korrigieren willst, dann im Script ab Zeile 261 funktuion CreateState() den Type im Script mit dem Type unter Objekte vergleichen.

          1 Reply Last reply Reply Quote 0
          • A
            ArnoD @Chilihead last edited by

            @chilihead

            Welche Script Version hast du ?
            Irgendwo ist bei dir ein Fehler drin. Den eigentlich sollte die, rote Linie genau auf der grünen Linie liegen bei der Einstellung Solcast.
            Hast du das original Script von mir verwendet? Da es bei mir einwandfrei funktioniert.

            C 1 Reply Last reply Reply Quote 0
            • C
              Chilihead @ArnoD last edited by

              @arnod das neueste von Github, heute frisch geholt. 0.4.2

              Grade mal alle userdata parameter neu anlegen lassen aber keine Veränderungen in den Warnungen

              2248dad7-44af-4e66-969f-501570612d5a-image.png

              2022-06-06 15:45:26.338	info	script.js.E3DC_Contr_Solcast_neu: -==== E3DC Config Datei eingelesen! ====-
              
              javascript.0
              2022-06-06 15:45:26.338	info	script.js.E3DC_Contr_Solcast_neu: LE = 14:24
              
              javascript.0
              2022-06-06 15:45:26.338	info	script.js.E3DC_Contr_Solcast_neu: RE = 13:7
              
              javascript.0
              2022-06-06 15:45:26.338	info	script.js.E3DC_Contr_Solcast_neu: RB = 7:49
              
              javascript.0
              2022-06-06 15:45:26.272	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Peakshave" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.268	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.267	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.267	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.267	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.267	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.267	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.265	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Peakshave" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.260	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.WBminLade" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.256	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.256	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.256	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.256	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.256	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.255	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.255	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.WBminLade" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.212	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.WBmode" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.209	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.209	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.209	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.209	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.209	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.208	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.208	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.WBmode" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.148	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.HToff" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.137	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.137	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.137	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.137	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.136	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.136	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.135	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.HToff" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.132	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.HTon" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.130	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.129	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.129	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.129	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.129	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.129	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.127	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.HTon" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.124	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.HTsockel" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.122	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.122	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.122	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.122	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.121	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.121	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.121	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.HTsockel" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.117	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.HTmin" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.115	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.114	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.HTmin" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.067	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Unload" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.064	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.063	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Unload" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.058	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Speichergroesse" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.055	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.054	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Speichergroesse" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:26.008	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Sommerladeende" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:26.005	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:26.004	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:26.004	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:26.004	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:26.004	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:26.004	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:26.003	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Sommerladeende" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.996	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Sommermaximum" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.992	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.992	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.992	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.992	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.992	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.991	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.991	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Sommermaximum" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.947	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Winterminimum" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.943	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.943	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.943	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.943	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.943	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.942	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.942	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Winterminimum" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.938	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Ladeende2" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.935	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.934	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Ladeende2" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.890	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Ladeende" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.887	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.886	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Ladeende" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.882	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Ladeschwelle" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.878	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.878	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.878	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.877	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.877	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.877	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.876	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Ladeschwelle" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.873	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Wrleistung" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.870	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.870	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.870	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.870	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.869	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.869	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.868	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Wrleistung" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.866	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.MaximumLadeleistung" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.863	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.862	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.MaximumLadeleistung" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.818	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.MinimumLadeleistung" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.772	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.772	warn	at processImmediate (internal/timers.js:437:9)
              
              javascript.0
              2022-06-06 15:45:25.772	warn	at runNextTicks (internal/process/task_queues.js:60:5)
              
              javascript.0
              2022-06-06 15:45:25.771	warn	at runMicrotasks (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.771	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.771	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.770	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.769	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.769	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.764	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.MinimumLadeleistung" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.729	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.ObererLadekorridor" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.724	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.723	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.ObererLadekorridor" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.718	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.UntererLadekorridor" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.715	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.714	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.UntererLadekorridor" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.668	info	State value to set for "0_userdata.0.E3DC-Control.Parameter.Einspeiselimit" has to be type "string" but received type "number"
              
              javascript.0
              2022-06-06 15:45:25.665	warn	at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13)
              
              javascript.0
              2022-06-06 15:45:25.665	warn	at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23)
              
              javascript.0
              2022-06-06 15:45:25.664	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16
              
              javascript.0
              2022-06-06 15:45:25.661	warn	at new Promise (<anonymous>)
              
              javascript.0
              2022-06-06 15:45:25.661	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16
              
              javascript.0
              2022-06-06 15:45:25.660	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
              
              javascript.0
              2022-06-06 15:45:25.659	warn	You are assigning a number to the state "0_userdata.0.E3DC-Control.Parameter.Einspeiselimit" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions.
              
              javascript.0
              2022-06-06 15:45:25.653	info	script.js.E3DC_Contr_Solcast_neu: -==== E3DC Config Datei gespeichert! ====-
              
              javascript.0
              2022-06-06 15:45:25.644	info	script.js.E3DC_Contr_Solcast_neu: Einstellung 1 aktiv
              
              javascript.0
              2022-06-06 15:45:25.643	info	script.js.E3DC_Contr_Solcast_neu: Berechneter Unload SoC ist = 78
              
              javascript.0
              2022-06-06 15:45:25.643	info	script.js.E3DC_Contr_Solcast_neu: Bewölkungsgrad 15 Uhr Proplanta 87.5
              
              javascript.0
              2022-06-06 15:45:25.643	info	script.js.E3DC_Contr_Solcast_neu: Bewölkungsgrad 12 Uhr Proplanta 25
              
              javascript.0
              2022-06-06 15:45:25.598	info	script.js.E3DC_Contr_Solcast_neu: Ueberschuss in Prozent = 18.72325345449604
              
              javascript.0
              2022-06-06 15:45:25.598	info	script.js.E3DC_Contr_Solcast_neu: Ueberschuss in kWh 2.0221113730855724 = (Prognose kWh 6.092111373085572 - Berechneter Eigenverbrauch 3.75) - FreieKapBatterie_kWh 0.32
              
              javascript.0
              2022-06-06 15:45:25.598	info	script.js.E3DC_Contr_Solcast_neu: AktSpeicherSoC in % = 97
              
              javascript.0
              2022-06-06 15:45:25.598	info	script.js.E3DC_Contr_Solcast_neu: Eigenverbrauch Tag = 15
              
              javascript.0
              2022-06-06 15:45:25.597	info	script.js.E3DC_Contr_Solcast_neu: BatterieProzent(wert)=2.0221113730855724
              
              javascript.0
              2022-06-06 15:45:25.516	info	script.js.E3DC_Contr_Solcast_neu: LE = 14:24
              
              javascript.0
              2022-06-06 15:45:25.516	info	script.js.E3DC_Contr_Solcast_neu: RE = 13:7
              
              javascript.0
              2022-06-06 15:45:25.516	info	script.js.E3DC_Contr_Solcast_neu: RB = 7:49
              
              javascript.0
              2022-06-06 15:45:25.461	info	script.js.E3DC_Contr_Solcast_neu: Prognose_kWh_heute für Berechnung = 6.092111373085572
              
              javascript.0
              2022-06-06 15:45:25.447	info	script.js.E3DC_Contr_Solcast_neu: Bereits produzierte PV-Leistung = 63.90788862691443
              
              javascript.0
              2022-06-06 15:45:25.446	info	script.js.E3DC_Contr_Solcast_neu: Prognose_kWh nach Abzug Korrekturfaktor = 70
              
              javascript.0
              2022-06-06 15:45:25.446	info	script.js.E3DC_Contr_Solcast_neu: Prognose Proplanta in kWh = 79.39967999999999
              
              javascript.0
              2022-06-06 15:45:25.446	info	script.js.E3DC_Contr_Solcast_neu: Prognose Solcast 90 Perzentil in kWh = 93.41
              
              javascript.0
              2022-06-06 15:45:25.446	info	script.js.E3DC_Contr_Solcast_neu: Prognose Solcast in kWh = 73.83
              
              javascript.0
              2022-06-06 15:45:25.420	info	script.js.E3DC_Contr_Solcast_neu: Näste Aktualisierung Wetterdaten =21:45 Uhr
              
              javascript.0
              2022-06-06 15:45:25.344	info	script.js.E3DC_Contr_Solcast_neu: Rueckmeldung InterrogateProplanta XHR.Status= 200
              
              javascript.0
              2022-06-06 15:45:24.930	info	script.js.E3DC_Contr_Solcast_neu: ******************* Es wird die Globalstrahlung von Proplanta abgerufen *******************
              
              javascript.0
              2022-06-06 15:45:24.800	info	script.js.E3DC_Contr_Solcast_neu: registered 13 subscriptions and 5 schedules
              
              javascript.0
              2022-06-06 15:45:24.797	info	script.js.E3DC_Contr_Solcast_neu: -==== Jetzt sind alle States abgearbeitet ====-
              
              javascript.0
              2022-06-06 15:45:24.661	info	Start javascript script.js.E3DC_Contr_Solcast_neu
              
              javascript.0
              2022-06-06 15:45:22.451	info	Stop script script.js.E3DC_Contr_Solcast_neu
              
              
              A 1 Reply Last reply Reply Quote 0
              • A
                ArnoD @Chilihead last edited by

                @chilihead sagte in E3DC Hauskraftwerk steuern:

                Grade mal alle userdata parameter neu anlegen lassen aber keine Veränderungen in den Warnungen

                Ist jetzt nach dem neu anlegen z.B 0_userdata.0.E3DC-Control.Parameter.Einspeiselimit vom Type "number" oder immer noch "string" ?

                C 1 Reply Last reply Reply Quote 0
                • C
                  Chilihead @ArnoD last edited by Chilihead

                  @arnod oben der Screenshot ist nach dem neu anlegen gemacht. Das ist aber dann nicht number sondern als value angelegt

                  history und proplanta ist auch alles "state" hab mal gelöscht, script neu gestartet aber auch nach dem neu anlegen ist alles in history und proplanta "State"

                  92f42923-30f8-4562-8a60-d8351c4d3c44-image.png

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ArnoD @Chilihead last edited by

                    @chilihead
                    Um den Type zu prüfen, musst du auf den Stift links klicken.
                    7babec24-ca4a-4946-9dc0-1de1c5089259-grafik.png

                    Unter den Objektdaten findest du dann den Type

                    2bba4a88-ec7c-43aa-a62d-bf352ae0efb9-grafik.png

                    Prüf mal, ob die States wo du eine Warnung im LOG hast den richtigen Type haben.

                    C 2 Replies Last reply Reply Quote 0
                    • C
                      Chilihead @ArnoD last edited by

                      @arnod hab jetzt alle userdaten gelöscht und neu anlegen lassen; bekomm keine Fehlermeldungen mehr.
                      Die Berechnung im Diagramm sieht aber immer noch komisch aus, für heute ok aber ab morgen Flatline.
                      Schauen wir mal was nach der Neuberechnung morgen früh los ist.

                      f6170377-f9ad-4920-b0f0-f1ede44c6487-image.png

                      Eine Frage hätte ich noch zur Berechnung der Watt Daten.
                      Der E3DC zeigt mir 1,9kW Hausverbrauch aber die Scheinleistungen zusammen keine 1,9kW.
                      Wobei ich sicher weiß das ich auf einer Phase ständig mindestens 1,1kW ziehe aber das größte über Modbus sind die 633W auf L3.

                      56ec3cc4-2aff-4373-ab79-36eca8667d34-image.png

                      1 Reply Last reply Reply Quote 0
                      • C
                        Chilihead @ArnoD last edited by

                        @arnod hat sich nicht viel verändert

                        868dc7e1-5296-4665-9f05-e003e39b8545-image.png

                        990bb03a-e9e3-4777-a486-485016845eab-image.png

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          ArnoD @Chilihead last edited by

                          @chilihead
                          Kann dir leider aus der Ferne nicht sagen, woran es liegt.
                          Lösche mal alle 0_userdata.0.E3DC-Control.History Daten und las diese vom Script neu anlegen.
                          Die HistoryJSON_01-12 kannst du dir ja sichern, sodass du diese wieder herstellen kannst.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Chilihead @ArnoD last edited by

                            @arnod hab ich schon gemacht 🙂 aber immer noch gerade Linie.

                            Gibt es eine Möglichkeit die Berechnung zu debuggen bzw. den Berechnungsschritten zu folgen?
                            Die Daten scheinen richtig zu kommen aber bei der Berechnung stimmt etwas nicht bzw. es werden halt 70kW angezeigt.
                            Stoppe ich das Script, setze die 70kW für heute auf 0 und starte das Script wieder werden 70kW wieder reingeschrieben.
                            Für heute:
                            9cee2796-eb95-4e0b-bd65-ad6496b9d775-image.png
                            cd02fc93-9717-4dc0-b59e-0cc0f5215d93-image.png
                            d40a7a19-e2fb-4c40-9b7e-2499525b1e53-image.png
                            c5f3c781-4fc9-4f5d-b19d-63f9be445a25-image.png
                            c23c937c-35a2-4716-9eb0-a8fcdc02acb6-image.png
                            45b55de5-1174-4ba5-8063-274b8cd0ef0a-image.png
                            966f975a-8974-4c2d-bf38-7e14d465c0bc-image.png

                            A 2 Replies Last reply Reply Quote 0
                            • A
                              ArnoD @Chilihead last edited by

                              @chilihead

                              ok, dann gehen wir mal schritt für schritt durch.
                              Die Funktion zum berechnen der Prognose ist die async function Prognosen_Berechnen()

                              Es ist bereits der erste Wert PrognoseAuto_kWh_17 bei der Einstellung Solcast bereits falsch, da müsste schon 86.41 kWh drinstehen.
                              Als erstes wähle in VIS zum Testen mal "Solcast" an und prüf mal folgende States ob diese richtig vom Script befüllt werden:
                              0_userdata.0.E3DC-Control.Allgemein.Automatik sollte true sein
                              0_userdata.0.E3DC-Control.Allgemein.Einstellungsollte bei Einstellung Solcast in VIS 2 sein.

                              1 Reply Last reply Reply Quote 0
                              • A
                                ArnoD @Chilihead last edited by ArnoD

                                @chilihead

                                Prüf mal bitte in VIS ob die Werte der Menüpunkte richtig eingetragen sind.
                                Sollte so aussehen:
                                66ebf8e0-d4f8-4cd9-ad58-642ec26e9158-grafik.png

                                Die Reihenfolge ist dabei nicht wichtig, nur der Wert muss zur Beschriftung passen.

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  Chilihead @ArnoD last edited by

                                  @arnod hab extra dein Script komplett nochmal von Github geholt und auch das Vis nochmal von Github eingepflegt um irgendwelche Bediener- oder Leichenfehler auszuschließen.

                                  Also Automatik ist True

                                  Prgonose Anwahl ändert sich richtig je nach Anwahl im vis
                                  allgemein.Automatik und allgemein.Einstellung ändern sich auch wenn ich auf manuell gehe und z.B. Einstellung "alles laden" mache

                                  2eaa72a0-1226-4ef6-96d7-3692db2a43f7-image.png

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    ArnoD @Chilihead last edited by ArnoD

                                    @chilihead

                                    ok, was stehen bei dir in den State PrognoseSolcast_kWh_17 bis 23 für Werte drin
                                    und in den State PrognoseAuto_kWh_17 bis 23 ?

                                    C A 2 Replies Last reply Reply Quote 0
                                    • C
                                      Chilihead @ArnoD last edited by

                                      @arnod SmartSelect_20220617-140628_Chrome.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        ArnoD @ArnoD last edited by

                                        und in PrognoseAuto_kWh_17 bis 23 ?

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          Chilihead @ArnoD last edited by

                                          @arnod SmartSelect_20220617-142254_Chrome.jpg

                                          A 2 Replies Last reply Reply Quote 0
                                          • A
                                            ArnoD @Chilihead last edited by

                                            @chilihead

                                            Komisch, die letzten Werte PrognoseAuto_kWh_22 und 23 Stimmen, die ersten Werte nicht.
                                            Hast du noch ein Script am Laufen, was auf diese Werte schreibend zugreift ??

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            857
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            3331
                                            1361342
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo