NEWS
E3DC Hauskraftwerk steuern
-
@chilihead
Es ist immer schwierig, aus der Ferne einen Fehler zu analysieren, wenn man nicht weiß, was alles geändert wurde.
Verwendest du das original Script oder wurde was angepasst ??Du kannst mal versuchen, alle States 0_userdata.0.E3DC-Control zu löschen und vom Script neu anlegen zu lassen.
Dann ist es immer gut beim ersten Start die ganzen Parameter E3DC-Control, in die config.txt vom Script schreiben zu lassen und das zu überprüfen, ob es funktioniert. -
@arnod Sorry für die späte Antwort ich hatt das neue Script mit alten Daten gefüllt was kein Problem sein sollte wenn die Userdatenstruktur nicht verändert ist.
Egal, hab jetzt dein neues Script jetzt wirklich händisch Zeile für Zeile mit meine Userdaten gefüllt aber von den Meldungen hat sich nicht viel verändert.
Bis auf die Warnungen läuft das Script und es werden Daten von Solcast abgerufen aber ob das so stimmt?Ist schon etwas zu gerade die Berechnungslinie für meine Geschmack oder?
javascript.0 2022-06-06 10:30:46.953 info script.js.E3DC_Contr_Solcast_neu: -==== E3DC Config Datei eingelesen! ====- javascript.0 2022-06-06 10:30:46.952 info script.js.E3DC_Contr_Solcast_neu: LE = 14:23 javascript.0 2022-06-06 10:30:46.952 info script.js.E3DC_Contr_Solcast_neu: RE = 13:6 javascript.0 2022-06-06 10:30:46.952 info script.js.E3DC_Contr_Solcast_neu: RB = 7:50 javascript.0 2022-06-06 10:30:46.869 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 10:30:46.867 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.867 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.866 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.866 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.866 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.866 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.865 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 10:30:46.857 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 10:30:46.853 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.853 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.853 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.853 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.853 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.852 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.852 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 10:30:46.807 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 10:30:46.801 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.800 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.800 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.799 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.799 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.799 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.798 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 10:30:46.742 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 10:30:46.739 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.738 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.738 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.738 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.738 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.738 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.737 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 10:30:46.732 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 10:30:46.728 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.728 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.728 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.728 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.728 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.728 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.727 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 10:30:46.680 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 10:30:46.677 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.676 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.676 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.676 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.676 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.676 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.675 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 10:30:46.670 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 10:30:46.667 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.667 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.667 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.666 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.666 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.666 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.665 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 10:30:46.661 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 10:30:46.658 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.657 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.657 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.657 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.657 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.657 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.656 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 10:30:46.653 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 10:30:46.650 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.650 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.650 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.650 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.650 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.649 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.649 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 10:30:46.646 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 10:30:46.644 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.643 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.643 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.643 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.643 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.643 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.642 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 10:30:46.599 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 10:30:46.596 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.596 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.596 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.595 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.595 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.595 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.595 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 10:30:46.592 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 10:30:46.584 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.584 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.583 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.583 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.583 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.583 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.582 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 10:30:46.534 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 10:30:46.532 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.532 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.531 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.531 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.531 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.531 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.530 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 10:30:46.521 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 10:30:46.514 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.514 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.514 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.513 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.513 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.513 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.511 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 10:30:46.464 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 10:30:46.460 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.460 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.460 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.460 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.459 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.459 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.458 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 10:30:46.452 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 10:30:46.449 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.449 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.449 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.448 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.448 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.448 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.447 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 10:30:46.445 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 10:30:46.442 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.442 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.442 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.442 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.441 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.438 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.437 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 10:30:46.433 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 10:30:46.425 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.425 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.424 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.424 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.424 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.423 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.422 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 10:30:46.376 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 10:30:46.369 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.368 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.368 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.368 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.368 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.367 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.367 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 10:30:46.352 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 10:30:46.336 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.336 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.336 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.336 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.336 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.335 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.335 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 10:30:46.279 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 10:30:46.274 warn at Einstellung (script.js.E3DC_Contr_Solcast_neu:381:13) javascript.0 2022-06-06 10:30:46.274 warn at e3dcConfigRead (script.js.E3DC_Contr_Solcast_neu:806:23) javascript.0 2022-06-06 10:30:46.273 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:79:16 javascript.0 2022-06-06 10:30:46.273 warn at new Promise (<anonymous>) javascript.0 2022-06-06 10:30:46.273 warn at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:80:16 javascript.0 2022-06-06 10:30:46.272 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20) javascript.0 2022-06-06 10:30:46.269 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 10:30:46.264 info script.js.E3DC_Contr_Solcast_neu: -==== E3DC Config Datei gespeichert! ====- javascript.0 2022-06-06 10:30:46.256 info script.js.E3DC_Contr_Solcast_neu: Einstellung 1 aktiv javascript.0 2022-06-06 10:30:46.256 info script.js.E3DC_Contr_Solcast_neu: Berechneter Unload SoC ist = -18 javascript.0 2022-06-06 10:30:46.255 info script.js.E3DC_Contr_Solcast_neu: Bewölkungsgrad 15 Uhr Proplanta 87.5 javascript.0 2022-06-06 10:30:46.255 info script.js.E3DC_Contr_Solcast_neu: Bewölkungsgrad 12 Uhr Proplanta 87.5 javascript.0 2022-06-06 10:30:46.209 info script.js.E3DC_Contr_Solcast_neu: Ueberschuss in Prozent = 100 javascript.0 2022-06-06 10:30:46.209 info script.js.E3DC_Contr_Solcast_neu: Ueberschuss in kWh 39.36895290738829 = (Prognose kWh 51.116645215080595 - Berechneter Eigenverbrauch 9.807692307692307) - FreieKapBatterie_kWh 1.94 javascript.0 2022-06-06 10:30:46.209 info script.js.E3DC_Contr_Solcast_neu: AktSpeicherSoC in % = 82 javascript.0 2022-06-06 10:30:46.209 info script.js.E3DC_Contr_Solcast_neu: Eigenverbrauch Tag = 15 javascript.0 2022-06-06 10:30:46.209 info script.js.E3DC_Contr_Solcast_neu: BatterieProzent(wert)=39.36895290738829 javascript.0 2022-06-06 10:30:46.159 info script.js.E3DC_Contr_Solcast_neu: LE = 14:23 javascript.0 2022-06-06 10:30:46.159 info script.js.E3DC_Contr_Solcast_neu: RE = 13:6 javascript.0 2022-06-06 10:30:46.159 info script.js.E3DC_Contr_Solcast_neu: RB = 7:50 javascript.0 2022-06-06 10:30:46.088 info script.js.E3DC_Contr_Solcast_neu: Prognose_kWh_heute für Berechnung = 51.116645215080595 javascript.0 2022-06-06 10:30:46.037 info script.js.E3DC_Contr_Solcast_neu: Bereits produzierte PV-Leistung = 18.88335478491941 javascript.0 2022-06-06 10:30:46.037 info script.js.E3DC_Contr_Solcast_neu: Prognose_kWh nach Abzug Korrekturfaktor = 70 javascript.0 2022-06-06 10:30:46.036 info script.js.E3DC_Contr_Solcast_neu: Prognose Proplanta in kWh = 76.66175999999999 javascript.0 2022-06-06 10:30:46.036 info script.js.E3DC_Contr_Solcast_neu: Prognose Solcast 90 Perzentil in kWh = 93.41 javascript.0 2022-06-06 10:30:46.034 info script.js.E3DC_Contr_Solcast_neu: Prognose Solcast in kWh = 73.83 javascript.0 2022-06-06 10:30:46.007 info script.js.E3DC_Contr_Solcast_neu: Näste Aktualisierung Wetterdaten =15:20 Uhr javascript.0 2022-06-06 10:30:45.934 info script.js.E3DC_Contr_Solcast_neu: Rueckmeldung InterrogateProplanta XHR.Status= 200 javascript.0 2022-06-06 10:30:45.534 info script.js.E3DC_Contr_Solcast_neu: ******************* Es wird die Globalstrahlung von Proplanta abgerufen ******************* javascript.0 2022-06-06 10:30:45.391 info script.js.E3DC_Contr_Solcast_neu: registered 13 subscriptions and 5 schedules javascript.0 2022-06-06 10:30:45.371 info script.js.E3DC_Contr_Solcast_neu: -==== Jetzt sind alle States abgearbeitet ====- javascript.0 2022-06-06 10:30:45.105 info Start javascript script.js.E3DC_Contr_Solcast_neu
-
Die Userdaten im Script sind nicht das Problem. Die Fehlermeldung sagt eher aus, dass der Datentyp von den States nicht stimmt.
Du kannst ja mal prüfen unter Objekte0_userdata.0.E3DC-Control.Parameter
ob der Typ richtig eingestellt ist.
0_userdata.0.E3DC-Control.Parameter.Peakshave müsste z.B. vom Typ "number" sein
0_userdata.0.E3DC-Control.Parameter.WBminLade müsste auch vom Typ "number" sein usw.Nach der Fehlermeldung sind diese bei dir als "string" angelegt worden.
Deswegen mein Vorschlag, diese zu löschen und vom Script neu anlegen zu lassen. -
@chilihead sagte in E3DC Hauskraftwerk steuern:
Ist schon etwas zu gerade die Berechnungslinie für meine Geschmack oder?
Da stimmt noch was nicht bei dir.
Welche Script Version hast du ? die 0.4.2 ??
Ändere mal die Auswahl auf "Solcast" und mach einen Screenshot und danach wieder auf "Solc/Solc90 nach Ø Wert" und mach noch eine Sreenshot und poste sie hier noch mal."Solc/Solc90 nach Ø Wert" sollte eigentlich so aussehen:
-
@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
?