NEWS
[Linux Shell-Skript] WLAN-Wetterstation
-
@sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:
wo wir dann wieder bei PimpMyStation wären
jau, das ding ist schon länger inner warteschleife...
-
@sborg Ich hatte früher mal eine Netatmo und war ganz zufrieden. Da gibt es kein Display. Nun frage ich mich ob die Netatmo auch für iobroker geeignet wäre, da Sie hier bisher nicht erwähnt worden ist. Ich spiele mit dem Gedanken mir diese eventuell wieder zuzulegen. Oder gibt es gute Gründe von der Netatmo Abstand zu nehmen?
-
@damrak2022 Gründe dafür und da wieder gibt es eigentlich immer
Die Frage ist was du erreichen willst/musst.Zur Station und Adapter kann ich nix sagen, kenne ich beides nicht. Zumindest scheint die Einbindung in den ioB mittels Adapter recht einfach.
Ich habe seit rund 2 Jahren nun eine "Feld, Wald und Wiesen - Station" für rund 150,- € (wie die meisten hier auch) am Start. Als Angebot lag sie IMO so bei ~ 115,- €
Das reicht mir völlig und ich kann mit den Abweichungen leben. Ob es jetzt 17.2°C lt. meiner Station, oder 17.9°C "in echt" sind, macht bei mir keinen Unterschied. Ich kann die diversen Werte zur Steuerung des Smart Homes problemlos nutzen.
Den Funktionsumfang des Skriptes wirst du aber in keinem Adapter oder anderer Lösung finden, der ist IMHO einzigartig. Denn in den mittlerweile über zwei Jahren Entwicklungszeit sind so viele Ideen (auch etliche der User ) eingeflossen, dass das sonst keine andere Lösung anbietet (ich kenne zumindest keine)? -
@damrak2022 Ich habe noch beides im Gebrauch: meine Netatmo Station und eine WLAN-Station. Diese hatte ich auch erst mittels Weatherunderground ins System eingebaut. Der Nachteil bei dieser Variante ist, dass sowohl die Netatmo als auch die WLAN Station über Wunderground nur alle 5 Minuten die Daten aktualisieren. Das geht mittels des Skriptes jetzt bei mir im 30 Sekunden - Takt. Wenn auch der Regen bis dahin einiges bereits nass gemacht hat, konnte ich das Zufahren des Dachfensters mittels Helligkeitssensor des Station bereits bewerkstelligen und bin somit vom Aktualisierungsintervall dieses Skripts begeistert. Aber auch die Daten der Netatmo ziehe ich noch zu Rate, da diese im Schatten des Hauses installiert ist und als Referenzwert aller 5 min brav ihren Dienst tut.
-
-
Moin, habe vorhin Grafana auf v8.x upgedatet und jetzt zeigt er mir einige Sachen nicht mehr an.
Plugin ist bei allen das 1.24 Stat. Habe schon einiges ausprobiert aber er zeigt mir einfach nichts
an obwohl Daten vorhanden sind.
Könnt ihr mir mal auf die Sprünge helfen was da falsch ist, denn unter der alten Version lief alles.
.
.
Nachtrag: Hat sich erledigt, auf Plugin Blendstat geändert und schon wird alles angezeigt -
@boronsbruder ich weiß, aber zum Zusammenbauen bin ich zu blöd, und der Regensensor von Homematic ist mir zu teuer.
-
wie berechnest du den Regen_Jahr_kumuliert?
-
@negalein Das wird bei den "Mitternachtjobs" (= 1x pro Tag) erledigt.
Lese alten Wert aus dem DP; addiere den aktuellen Tageswert dazu; schreibe den (neuen falls Regen; sonst halt ohne Regen den alten) Wert wieder in den DP zurückbtw: dürfte bei dir ggf. nicht stimmen, da dein Skript etliche Tage nicht lief. Ich kann bei meinem Display händisch Wochen-, Monats- und den Jahreswert ablesen. So kann man notfalls den Wert ablesen und in den DP eintragen falls mal was geklemmt hat.
-
@sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:
btw: dürfte bei dir ggf. nicht stimmen, da dein Skript etliche Tage nicht lief. Ich kann bei meinem Display händisch Wochen-, Monats- und den Jahreswert ablesen. So kann man notfalls den Wert ablesen und in den DP eintragen falls mal was geklemmt hat.
Danke, dann lag ich richtig!
Ich hab mit "WeatherSmart for WiFi (Windows)" die Daten mit einer benachbarten Station abgeglichen.
Somit müssten wieder alle Werte aktuell sein.
-
@SBorg
Irgendwie hat die Statistik bei mir geklemmt...Daten sind da, aber er möchte halt lieber ein Object statt einen String
2022-05-01 01:03:00.016 - info: javascript.0 (27658) script.js.common.Wetterstation_Statistik: Auswertung durchgeführt... 2022-05-01 01:03:00.062 - info: javascript.0 (27658) script.js.common.Wetterstation_Statistik: Ausführung zum Monatsersten beendet... 2022-05-01 01:03:00.115 - warn: javascript.0 (27658) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.121 - warn: javascript.0 (27658) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1965:33) 2022-05-01 01:03:00.121 - warn: javascript.0 (27658) at processImmediate (internal/timers.js:466:21) 2022-05-01 01:03:00.123 - warn: javascript.0 (27658) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.124 - warn: javascript.0 (27658) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.124 - warn: javascript.0 (27658) at Object. (script.js.common.Wetterstation_Statistik:343:169) 2022-05-01 01:03:00.124 - warn: javascript.0 (27658) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:342:38) 2022-05-01 01:03:00.124 - warn: javascript.0 (27658) at processImmediate (internal/timers.js:466:21) 2022-05-01 01:03:00.125 - info: javascript.0 (27658) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input 2022-05-01 01:03:00.126 - info: javascript.0 (27658) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input
-
Moin @SBorg
da ging aber heute Morgen die Post ab bei der Statistik2022-05-01 01:02:06.613 - info: host.ioBroker instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2022-05-01 01:02:06.648 - info: javascript.0 (785519) script.js.Wetter.Statistik-md: Material Design Widgets: Wetter Skript triggered by 'system.adapter.daswetter.0.alive' 2022-05-01 01:03:00.095 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Tiefstwert" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:364:9) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.104 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Hoechstwert" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:365:9) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.105 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Temperatur_Durchschnitt" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:366:9) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.106 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Windboe" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:367:9) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Regenmenge" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:368:9) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.107 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Regenmenge_Monat" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:369:9) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.108 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.warme_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:370:9) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Sommertage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:371:9) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.109 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.110 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.110 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.110 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.110 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.110 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.heisse_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:372:9) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.113 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Frost_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:373:9) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.114 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.kalte_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:374:9) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Eistage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:375:9) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.115 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.sehr_kalte_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at VorJahr (script.js.Wetter.Statistik-Wetterstation:376:9) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at Object.main (script.js.Wetter.Statistik-Wetterstation:141:4) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1316:34) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:168:15) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.116 - warn: javascript.0 (785519) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.117 - info: javascript.0 (785519) script.js.Wetter.Statistik-Wetterstation: Auswertung durchgeführt... 2022-05-01 01:03:00.144 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Tiefstwert" has to be type "number" but received type "string" 2022-05-01 01:03:00.144 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Hoechstwert" has to be type "number" but received type "string" 2022-05-01 01:03:00.144 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Temperatur_Durchschnitt" has to be type "number" but received type "string" 2022-05-01 01:03:00.144 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Windboe" has to be type "number" but received type "string" 2022-05-01 01:03:00.145 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Regenmenge" has to be type "number" but received type "string" 2022-05-01 01:03:00.145 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Regenmenge_Monat" has to be type "number" but received type "string" 2022-05-01 01:03:00.145 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.warme_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.145 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Sommertage" has to be type "number" but received type "string" 2022-05-01 01:03:00.149 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.heisse_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.149 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Frost_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.149 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.kalte_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.150 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Eistage" has to be type "number" but received type "string" 2022-05-01 01:03:00.150 - info: javascript.0 (785519) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.sehr_kalte_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.190 - warn: javascript.0 (785519) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.190 - warn: javascript.0 (785519) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1965:33) 2022-05-01 01:03:00.190 - warn: javascript.0 (785519) at processImmediate (internal/timers.js:466:21) 2022-05-01 01:03:00.196 - info: javascript.0 (785519) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input 2022-05-01 01:03:00.196 - warn: javascript.0 (785519) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.196 - warn: javascript.0 (785519) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) 2022-05-01 01:03:00.196 - warn: javascript.0 (785519) at Object. (script.js.Wetter.Statistik-Wetterstation:339:169) 2022-05-01 01:03:00.196 - warn: javascript.0 (785519) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:342:38) 2022-05-01 01:03:00.196 - warn: javascript.0 (785519) at processImmediate (internal/timers.js:466:21) 2022-05-01 01:03:00.271 - info: javascript.0 (785519) script.js.Wetter.Statistik-Wetterstation: Ausführung zum Monatsersten beendet... 2022-05-01 01:03:00.273 - info: javascript.0 (785519) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input
Was möchte er denn jetzt, statt Number einen String.
-
hier auch.. die Daten stehen aber drin, leider hat er die vom VorjahresMonat nicht richtig gesetzt:
Hier der Log..endet mit unexpected Json end of Json input.. der Arme.. kam das erwartete nicht..
2022-05-01 01:03:00.040 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Tiefstwert" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.043 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:368:9) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.044 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.045 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Hoechstwert" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.045 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.045 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:369:9) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Temperatur_Durchschnitt" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.046 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:370:9) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Windboe" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:371:9) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.047 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Regenmenge" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:372:9) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.048 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Regenmenge_Monat" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:373:9) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.049 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.warme_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:374:9) 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.050 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.051 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.051 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.051 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Sommertage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:375:9) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.052 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.heisse_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.053 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.053 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:376:9) 2022-05-01 01:03:00.053 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.053 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.053 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.054 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.056 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.056 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.056 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.056 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Frost_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.057 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.057 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:377:9) 2022-05-01 01:03:00.057 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.058 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.kalte_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:378:9) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.059 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.060 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.060 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Eistage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.060 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:379:9) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.061 - warn: javascript.0 (1199068) You are assigning a object to the state "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.sehr_kalte_Tage" which expects a number. Please fix your code to use a number or change the state type to object. This warning might become an error in future versions. 2022-05-01 01:03:00.062 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.062 - warn: javascript.0 (1199068) at VorJahr (script.js.common.Klimatisierung.Wetterstation-Statistik:380:9) 2022-05-01 01:03:00.062 - warn: javascript.0 (1199068) at Object.main (script.js.common.Klimatisierung.Wetterstation-Statistik:145:4) 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1406:34) 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Job.js:171:15) 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:268:28 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/Invocation.js:228:7) 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at listOnTimeout (internal/timers.js:557:17) 2022-05-01 01:03:00.063 - warn: javascript.0 (1199068) at processTimers (internal/timers.js:500:7) 2022-05-01 01:03:00.063 - info: javascript.0 (1199068) script.js.common.Klimatisierung.Wetterstation-Statistik: Auswertung durchgeführt... 2022-05-01 01:03:00.084 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Tiefstwert" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Hoechstwert" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Temperatur_Durchschnitt" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Windboe" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Max_Regenmenge" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Regenmenge_Monat" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.warme_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Sommertage" has to be type "number" but received type "string" 2022-05-01 01:03:00.085 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.heisse_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.086 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Frost_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.086 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.kalte_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.086 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.Eistage" has to be type "number" but received type "string" 2022-05-01 01:03:00.086 - info: javascript.0 (1199068) State value to set for "0_userdata.0.Statistik.Wetter.Vorjahres_Monat.sehr_kalte_Tage" has to be type "number" but received type "string" 2022-05-01 01:03:00.119 - warn: javascript.0 (1199068) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.121 - warn: javascript.0 (1199068) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2083:33) 2022-05-01 01:03:00.121 - warn: javascript.0 (1199068) at processImmediate (internal/timers.js:466:21) 2022-05-01 01:03:00.149 - info: javascript.0 (1199068) script.js.common.Klimatisierung.Wetterstation-Statistik: Ausführung zum Monatsersten beendet... 2022-05-01 01:03:00.334 - warn: javascript.0 (1199068) You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions. 2022-05-01 01:03:00.335 - warn: javascript.0 (1199068) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1530:20) 2022-05-01 01:03:00.335 - warn: javascript.0 (1199068) at Object.<anonymous> (script.js.common.Klimatisierung.Wetterstation-Statistik:343:169) 2022-05-01 01:03:00.335 - warn: javascript.0 (1199068) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:436:42) 2022-05-01 01:03:00.335 - warn: javascript.0 (1199068) at processImmediate (internal/timers.js:464:21) 2022-05-01 01:03:00.335 - info: javascript.0 (1199068) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input 2022-05-01 01:03:00.343 - info: javascript.0 (1199068) Could not parse value for id 0_userdata.0.Statistik.Wetter.Data.2022.04 into object: Unexpected end of JSON input
-
@boronsbruder sagte in [Linux Shell-Skript] WLAN-Wetterstation:
You are assigning a string to the state "0_userdata.0.Statistik.Wetter.Data.2022.04" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions.
Ich war's nicht, da steht ja "...fix your code..."
Er hat es mal wieder nicht bei mir gespeichert... (ev. erinnert sich der ein oder andere an den Blocky/JS - speichert stellenweise nicht - Bug). Ich habe es nicht bemerkt und dann hochgeladen
Aber das laden/speichern von JSON hatte ich trotzdem falsch verstanden und jetzt (hoffentlich) korrigiert. Daraus dürften dann auch die unterschiedlichen Fehlermeldungen resultieren, denn an den Stellen habe ich nichts geändert. Das Positive: zumindest wieder paar Fehler beseitigtV1.1.1 steht auf GitHub bereit (reines BugFix-Release; Update empfohlen)
...und pünktlich zum WE ist mal wieder wetter.com Offline...
-
Hi,
habs gerade irgendwie verballert, als ich nochmal auf 2.13.0 geupdatet habe mit./ws_updater.sh
Auswahlmenü für WLAN-Wetterstation: _____________________________________ [1] im aktuellen Verzeichnis installieren [2] als Service einrichten [3] Konfigurationsdatei patchen [4] Update ausführen [E] Exit Ihre Auswahl: [1-4]: e pi@ioBroker:/home/iobroker/wetterstation $ sudo systemctl status wetterstation ● wetterstation.service - Service für ioBroker Wetterstation Loaded: loaded (/etc/systemd/system/wetterstation.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2022-05-02 16:48:42 CEST; 5min ago Process: 24479 ExecStart=/home/iobroker/wetterstation/wetterstation.sh (code=exited, status=203/EXEC) Main PID: 24479 (code=exited, status=203/EXEC) Mai 02 16:48:42 ioBroker systemd[1]: Started Service für ioBroker Wetterstation. Mai 02 16:48:42 ioBroker systemd[24479]: wetterstation.service: Failed to execute command: Permission denied Mai 02 16:48:42 ioBroker systemd[24479]: wetterstation.service: Failed at step EXEC spawning /home/iobroker/wetterstation/wetterstation.sh: Permission denied Mai 02 16:48:42 ioBroker systemd[1]: wetterstation.service: Main process exited, code=exited, status=203/EXEC Mai 02 16:48:42 ioBroker systemd[1]: wetterstation.service: Failed with result 'exit-code'. pi@ioBroker:/home/iobroker/wetterstation $
Irgendwie will der Service nicht mehr starten
Add: Das Verzeichnis (wegen der Rechte):
pi@ioBroker:/home/iobroker/wetterstation $ ls -al insgesamt 160 drwxrwxr-x 2 iobroker iobroker 4096 Mai 2 16:29 . drwxr-xr-x 6 iobroker iobroker 4096 Dez 16 20:53 .. -rwxr--r-- 1 pi iobroker 6267 Mai 2 16:13 wetterstation.conf -rwxr--r-- 1 pi pi 6251 Mai 2 16:13 wetterstation.conf.backup -rw-r--r-- 1 pi pi 20564 Apr 8 13:21 wetterstation.js -rw-r--r-- 1 pi pi 16566 Apr 8 13:21 wetterstation.sh -rw-r--r-- 1 pi pi 66937 Apr 8 13:21 wetterstation.sub -rwxrw-r-- 1 pi pi 21741 Mai 2 16:41 ws_updater.sh pi@ioBroker:/home/iobroker/wetterstation $
-
@qqolli sagte in [Linux Shell-Skript] WLAN-Wetterstation:
-rw-r--r-- 1 pi pi 16566 Apr 8 13:21 wetterstation.sh
Kleines Fehlerchen, da fehlt ein "x" (=ist nicht ausführbar).
Im Verzeichnis einfachsudo chmod +x wetterstation.sh
, danach solltest du den Service wieder per Hand starten können -
@sborg
Genau so war es Vielen Dank. -
@martybr sagte in [Linux Shell-Skript] WLAN-Wetterstation:
Vielleicht kannst du das prüfen, wenn du deine Influx auf Version 2 gebracht hast und Zeit dafür findest.
Ich hab mich auch am Statistik-Script mit Influx 2.0 versucht und erhalte nun Tageswerte, ich habe folgende Änderung bei den result.result[..]-Einträgen vornehmen müssen:
Aus z.B.result.result[0][i].value
habe ichresult.result[0][i]._value
, also der_
vorvalue
ist hinzugekommen.
Mal schauen, ob das so funktioniert. -
@latzi Hast du das in jeder Zeile im Statistik-Script eingesetzt?
Kannst du dein Script hier zeigen?
Ich habe die Version 1.1.1 laufen, aber wie schon im Readme beschrieben, gibt es weiterhin Fehler beim Einsatz von Influx 2.x -
@martybr ja, ist bei allen vorkommenden Stellen ersetzt (so viele sind´s ja nicht).
Hier die 1.1.1_mod: ( @SBorg verletze ich damit dein copyright?)Ich hab in der InfluxDB-Adapter-Beschreibung auf github die Funktion
getHistory
gefunden, damit werde ich mich bei Zeiten mal versuchen, scheint als ob damit die DB-Version unabhängig ist. @SBorg was hältst du davon (oder bin ich damit auf dem Holzweg)?