NEWS
E3DC Hauskraftwerk steuern
-
@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?
-
-
@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. -
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. -
@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
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
-
@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" ? -
@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"
-
@chilihead
Um den Type zu prüfen, musst du auf den Stift links klicken.
Unter den Objektdaten findest du dann den Type
Prüf mal, ob die States wo du eine Warnung im LOG hast den richtigen Type haben.
-
@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.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. -
@arnod hat sich nicht viel verändert
-
@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. -
@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:
-
ok, dann gehen wir mal schritt für schritt durch.
Die Funktion zum berechnen der Prognose ist dieasync 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
solltetrue
sein
0_userdata.0.E3DC-Control.Allgemein.Einstellung
sollte bei Einstellung Solcast in VIS2
sein. -
Prüf mal bitte in VIS ob die Werte der Menüpunkte richtig eingetragen sind.
Sollte so aussehen:
Die Reihenfolge ist dabei nicht wichtig, nur der Wert muss zur Beschriftung passen.
-
@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 -
ok, was stehen bei dir in den State
PrognoseSolcast_kWh_17 bis 23
für Werte drin
und in den StatePrognoseAuto_kWh_17 bis 23
? -
-
und in
PrognoseAuto_kWh_17 bis 23
? -
-
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 ??