NEWS
[Major Update] SourceAnalytix v0.4.7-beta.0 released !
-
@gerald123 Warum???
wenn dein Zählerstand 11,301 ist, dann trag das auch so ein -
@gerald123 Warum???
wenn dein Zählerstand 11,301 ist, dann trag das auch so ein -
@gerald123 lass mal die Badewanne voll laufen, dann sollte sich auch was ändern:relaxed:
-
@gerald123 lass mal die Badewanne voll laufen, dann sollte sich auch was ändern:relaxed:
-
Hallo,
Leider will bei mir SourceAnalytix die Werte nicht Berechnen. Installiert ist bei mir die Version 0.4.5
Ich lese bei mir den Wasserzähler aus und schreibe den aktuellen wert in ein Objekt und SourceAnalytix aktiviert.


Die SourceAnalytix Objekte wurden auch alle automatisch angelegt, sie bleiben aber alle leer.

Kann mir jemand sagen woran das liegen kann?
@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Leider will bei mir SourceAnalytix die Werte nicht Berechnen. Installiert ist bei mir die Version 0.4.5
Kommt etwas im log ?
-
@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Leider will bei mir SourceAnalytix die Werte nicht Berechnen. Installiert ist bei mir die Version 0.4.5
Kommt etwas im log ?
@Dutchman Guten Morgen,
Ja, da kommen sehr viele Meldungen, ich kann leider damit nichts anfangen:

sourceanalytix.0 2020-08-28 06:38:17.431 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.349 ignoring sourceanalytix.0 2020-08-28 06:38:17.430 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.349,"ack":true,"ts":1598589497422,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 06:38:09.812 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cath sourceanalytix.0 2020-08-28 06:38:09.810 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma changed : {"val":"11,349","ack":true,"ts":1598589489785,"q":0,"from":"system.adapter.javascript.0","user":"system. sourceanalytix.0 2020-08-28 06:38:09.805 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 06:38:09.792 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.349,"ack":true,"ts":1598589489785,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 06:38:06.942 info (9868) SourceAnalytix initialisation finalized, will handle calculations ... for : {"javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch":{"stateDetails":{"alias":"Wasserverbrauch ","co
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@gerald123 änder mal die rolle von "state" auf "value"
-
@Dutchman Guten Morgen,
Ja, da kommen sehr viele Meldungen, ich kann leider damit nichts anfangen:

sourceanalytix.0 2020-08-28 06:38:17.431 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.349 ignoring sourceanalytix.0 2020-08-28 06:38:17.430 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.349,"ack":true,"ts":1598589497422,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 06:38:09.812 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cath sourceanalytix.0 2020-08-28 06:38:09.810 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma changed : {"val":"11,349","ack":true,"ts":1598589489785,"q":0,"from":"system.adapter.javascript.0","user":"system. sourceanalytix.0 2020-08-28 06:38:09.805 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 06:38:09.792 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.349,"ack":true,"ts":1598589489785,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 06:38:06.942 info (9868) SourceAnalytix initialisation finalized, will handle calculations ... for : {"javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch":{"stateDetails":{"alias":"Wasserverbrauch ","co
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe.@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Cannot read property 'cathegorie' of undefined
Keine kathegorie/Unit ausgewählt?
-
@gerald123 änder mal die rolle von "state" auf "value"
-
@gerald123 dann zeig nochmal die Einstellung in source analytics und die raw deines Datenpunktes
-
@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Cannot read property 'cathegorie' of undefined
Keine kathegorie/Unit ausgewählt?
-
@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
@Dutchman Bei Unit habe ich m3 und auch m³ probiert. Kathegorie ist nicht dabei
zeig mal bitte screenshot der Einstellungen
Und kannste mal bitte auf "Raw-Nur experten" gehen beim Datenpunkt (Bleistift) und mal den kompletten Inhalt hier posten ? -
@gerald123 dann zeig nochmal die Einstellung in source analytics und die raw deines Datenpunktes
@crunchip Das sind meine RAW Daten vom Objekt:
{ "_id": "javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch", "type": "state", "common": { "name": "Wasserverbrauch", "role": "value", "type": "number", "desc": "Manuell erzeugt", "unit": "m³", "read": true, "write": true, "def": false, "custom": { "history.0": { "enabled": true, "changesOnly": true, "debounce": "1000", "maxLength": "960", "retention": "31536000", "changesRelogInterval": 0, "changesMinDelta": 0, "aliasId": "" }, "sourceanalytix.0": { "enabled": true, "alias": "Wasserverbrauch ", "selectedPrice": "Water", "selectedUnit": "m³", "costs": true, "consumption": true, "meter_values": true, "start_day": 0, "start_week": 11.303, "start_month": 11.303, "start_quarter": 11.303, "start_year": 11.303 } } }, "native": {}, "from": "system.adapter.sourceanalytix.0", "user": "system.user.admin", "ts": 1598565600069, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 } }
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@crunchip Das sind meine RAW Daten vom Objekt:
{ "_id": "javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch", "type": "state", "common": { "name": "Wasserverbrauch", "role": "value", "type": "number", "desc": "Manuell erzeugt", "unit": "m³", "read": true, "write": true, "def": false, "custom": { "history.0": { "enabled": true, "changesOnly": true, "debounce": "1000", "maxLength": "960", "retention": "31536000", "changesRelogInterval": 0, "changesMinDelta": 0, "aliasId": "" }, "sourceanalytix.0": { "enabled": true, "alias": "Wasserverbrauch ", "selectedPrice": "Water", "selectedUnit": "m³", "costs": true, "consumption": true, "meter_values": true, "start_day": 0, "start_week": 11.303, "start_month": 11.303, "start_quarter": 11.303, "start_year": 11.303 } } }, "native": {}, "from": "system.adapter.sourceanalytix.0", "user": "system.user.admin", "ts": 1598565600069, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 } }
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe.@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
@crunchip Das sind meine RAW Daten vom Objekt:
danke, ich kan leider nicht mit dem log anfangen da dieses abgebrochen ist.
Ich benötige diese Zeile hier2020-08-28 06:38:09.812 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathMal bitte komplett, gehe dazu bitte auf den button Downloaden und suche nach der Meldung
"2020-08-28 06:38:09.812 error (9868)"
und kopiere bitte alles bis zum niesten datum/zeit Eintrag.Ich sehe im code was passiert und diese Meldung ist bewusst eingebaut wen eine bestimmte Einstellung fehlt :)
-
@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
@crunchip Das sind meine RAW Daten vom Objekt:
danke, ich kan leider nicht mit dem log anfangen da dieses abgebrochen ist.
Ich benötige diese Zeile hier2020-08-28 06:38:09.812 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch_komma] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathMal bitte komplett, gehe dazu bitte auf den button Downloaden und suche nach der Meldung
"2020-08-28 06:38:09.812 error (9868)"
und kopiere bitte alles bis zum niesten datum/zeit Eintrag.Ich sehe im code was passiert und diese Meldung ist bewusst eingebaut wen eine bestimmte Einstellung fehlt :)
-
@Dutchman der Fehler hier ist in 0.4.5 noch nicht behoben, korrekt?
sourceanalytix.0 2020-04-30 13:00:18.749 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.749 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined sourceanalytix.0 2020-04-30 13:00:18.061 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.061 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined@Dutchman schön wieder von dir zu hören:+1:
Schau Mal, ich denke @gerald123 hat das gleiche Problem wie ich. Ich hatte mein Log schon vor Monaten und das sah so aus:
@coyote sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
sourceanalytix.0 2020-04-30 13:00:18.749 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.749 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined sourceanalytix.0 2020-04-30 13:00:18.061 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.061 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined -
@Dutchman schön wieder von dir zu hören:+1:
Schau Mal, ich denke @gerald123 hat das gleiche Problem wie ich. Ich hatte mein Log schon vor Monaten und das sah so aus:
@coyote sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
sourceanalytix.0 2020-04-30 13:00:18.749 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.749 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.749 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined sourceanalytix.0 2020-04-30 13:00:18.061 error at process._tickCallback (internal/process/next_tick.js:68:7) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.initialize (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:394:16) sourceanalytix.0 2020-04-30 13:00:18.061 error at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:736:78) sourceanalytix.0 2020-04-30 13:00:18.061 error (8519) [calculationHandler javascript.0.Gaszaehler.Stand] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie' of undefined@coyote sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Schau Mal, ich denke @gerald123 hat das gleiche Problem wie ich. Ich hatte mein Log schon vor Monaten und das sah so aus:
hmm danke ! da ist aber was ziemlich faul der er fliegt raus bei der routine cathegorie ... ich muss mir das mal in ruhe anschauen am WE was da passiert
-
@coyote sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
Schau Mal, ich denke @gerald123 hat das gleiche Problem wie ich. Ich hatte mein Log schon vor Monaten und das sah so aus:
hmm danke ! da ist aber was ziemlich faul der er fliegt raus bei der routine cathegorie ... ich muss mir das mal in ruhe anschauen am WE was da passiert
@Dutchman Hier ist noch das Log:
sourceanalytix.0 2020-08-28 14:01:55.361 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:55.360 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616115355,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:46.838 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:46.837 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616106832,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:38.182 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:38.182 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616098178,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:30.137 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:30.137 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616090134,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:04.659 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 14:01:04.656 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616064654,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:56.346 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.422 ignoring sourceanalytix.0 2020-08-28 14:00:56.345 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.422,"ack":true,"ts":1598616056340,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:46.956 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 14:00:46.955 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.422,"ack":true,"ts":1598616046952,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:40.041 debug (9868) system.adapter.admin.0: logging true -
@Dutchman Hier ist noch das Log:
sourceanalytix.0 2020-08-28 14:01:55.361 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:55.360 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616115355,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:46.838 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:46.837 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616106832,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:38.182 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:38.182 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616098178,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:30.137 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.423 ignoring sourceanalytix.0 2020-08-28 14:01:30.137 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616090134,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:01:04.659 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 14:01:04.656 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.423,"ack":true,"ts":1598616064654,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:56.346 debug (9868) Update osf state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch received with equal value 11.422 ignoring sourceanalytix.0 2020-08-28 14:00:56.345 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.422,"ack":true,"ts":1598616056340,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:46.956 error (9868) [calculationHandler javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch] error: Cannot read property 'cathegorie' of undefined, stack: TypeError: Cannot read property 'cathegorie sourceanalytix.0 2020-08-28 14:00:46.955 debug (9868) state javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch changed : {"val":11.422,"ack":true,"ts":1598616046952,"q":0,"from":"system.adapter.javascript.0","user":"system.user.adm sourceanalytix.0 2020-08-28 14:00:40.041 debug (9868) system.adapter.admin.0: logging true@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
@Dutchman Hier ist noch das Log:
ich danke dir ! Leider kan ich den Fehler nicht so schnell eingrenzen den ich hätte in diesem log-eintrat mehr erwartet.
Das er lehr (bzw nicht zeigt was ich erwarte) deutet auf einem code fehler.Kannste zum spass mal probieren :
- SourceAnalytix ausmachen
- SA fuer den datenpunkt deaktivieren
- Dan bite ins object (Bleistift) und raw (nur experten)
- alle unter "custom" bezueglich SA löschen, z.b.
"sourceanalytix.0": { "enabled": true, "alias": "Dishwasher", "state_type": "kWh_consumption", "state_unit": "automatically", "costs": true, "consumption": true, "meter_values": false, "start_day": null, "start_week": 0.021797145722222227, "start_month": 1.3136546173888903, "start_quarter": 0, "start_year": 0, "previousReadingWatt": null, "previousReadingWattTs": null, "selectedPrice": "ElectricityDay", "selectedUnit": "automatically", "currentValue": null }also ab "source bis zur }
mache bitte vorher ein copy/paste von allem da drin in eine text Datei als backup !
- dan SA starten
- Datenpunkt wieder aktivieren
- was passiert ?
-
@crunchip Das sind meine RAW Daten vom Objekt:
{ "_id": "javascript.0.scriptDatenPunkte.Hilfsobjekte.Wasser.Wasserverbrauch", "type": "state", "common": { "name": "Wasserverbrauch", "role": "value", "type": "number", "desc": "Manuell erzeugt", "unit": "m³", "read": true, "write": true, "def": false, "custom": { "history.0": { "enabled": true, "changesOnly": true, "debounce": "1000", "maxLength": "960", "retention": "31536000", "changesRelogInterval": 0, "changesMinDelta": 0, "aliasId": "" }, "sourceanalytix.0": { "enabled": true, "alias": "Wasserverbrauch ", "selectedPrice": "Water", "selectedUnit": "m³", "costs": true, "consumption": true, "meter_values": true, "start_day": 0, "start_week": 11.303, "start_month": 11.303, "start_quarter": 11.303, "start_year": 11.303 } } }, "native": {}, "from": "system.adapter.sourceanalytix.0", "user": "system.user.admin", "ts": 1598565600069, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 } }
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe.@gerald123 sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:
"sourceanalytix.0": { "enabled": true, "alias": "Wasserverbrauch ",
da hat sich ein Leerzeichen eingeschlichen
