NEWS
IOBroker Anbindung an einen Kostal Plenticore
-
Bei mir ist heute der Adapter 15:38 Uhr mit diesen Logzeilen auf rot gesprungen:
2020-03-25 15:38:04.274 - [31merror[39m: plenticore.0 (2788) uncaught exception: Converting circular structure to JSON 2020-03-25 15:38:04.278 - [31merror[39m: plenticore.0 (2788) TypeError: Converting circular structure to JSON at JSON.stringify (<anonymous>) at Request._callback (/opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js:619:85) at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:401:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) 2020-03-25 15:38:04.890 - [31merror[39m: host.BT3-PRO Caught by controller[0]: TypeError: Converting circular structure to JSON 2020-03-25 15:38:04.891 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at JSON.stringify (<anonymous>) 2020-03-25 15:38:04.891 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js:619:85) 2020-03-25 15:38:04.891 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) 2020-03-25 15:38:04.891 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at Request.emit (events.js:198:13) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at ClientRequest.emit (events.js:198:13) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:401:9) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at TLSSocket.emit (events.js:198:13) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at emitErrorNT (internal/streams/destroy.js:91:8) 2020-03-25 15:38:04.892 - [31merror[39m: host.BT3-PRO Caught by controller[0]: at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) 2020-03-25 15:38:38.388 - [31merror[39m: plenticore.0 (21887) uncaught exception: Converting circular structure to JSON 2020-03-25 15:38:38.390 - [31merror[39m: plenticore.0 (21887) TypeError: Converting circular structure to JSON at JSON.stringify (<anonymous>) at Request._callback (/opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js:619:85) at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:401:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) 2020-03-25 15:38:38.393 - [31merror[39m: plenticore.0 (21887) exception by stop: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
Die Instanz hat nur noch Loglevel "warn", daher habe ich leider nicht mehr zur Verfügung.
Er blieb bis zum manuellen Restart rot und hat somit auch keine Werte mehr erfasst. Meine Überwachung hat das zum Glück bemerkt, ich konnte aber erst 17 Uhr eingreifen. -
Bei mir auch. Ich habe gerade neu gestartet:
plenticore.0 2020-03-25 15:37:31.088 error (32366) exception by stop: The "path" argument must be one of type string, Buffer, or URL. Received type undefined plenticore.0 2020-03-25 15:37:31.085 error at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) plenticore.0 2020-03-25 15:37:31.085 error at emitErrorNT (internal/streams/destroy.js:91:8) plenticore.0 2020-03-25 15:37:31.085 error at TLSSocket.emit (events.js:198:13) plenticore.0 2020-03-25 15:37:31.085 error at TLSSocket.socketErrorListener (_http_client.js:401:9) plenticore.0 2020-03-25 15:37:31.085 error at ClientRequest.emit (events.js:198:13) plenticore.0 2020-03-25 15:37:31.085 error at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) plenticore.0 2020-03-25 15:37:31.085 error at Request.emit (events.js:198:13) plenticore.0 2020-03-25 15:37:31.085 error at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) plenticore.0 2020-03-25 15:37:31.085 error at Request._callback (/opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js:619:85) plenticore.0 2020-03-25 15:37:31.085 error at JSON.stringify (<anonymous>) plenticore.0 2020-03-25 15:37:31.085 error (32366) TypeError: Converting circular structure to JSON plenticore.0 2020-03-25 15:37:31.081 error (32366) uncaught exception: Converting circular structure to JSON plenticore.0 2020-03-25 15:36:57.848 error at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) plenticore.0 2020-03-25 15:36:57.848 error at emitErrorNT (internal/streams/destroy.js:91:8) plenticore.0 2020-03-25 15:36:57.848 error at TLSSocket.emit (events.js:198:13) plenticore.0 2020-03-25 15:36:57.848 error at TLSSocket.socketErrorListener (_http_client.js:401:9) plenticore.0 2020-03-25 15:36:57.848 error at ClientRequest.emit (events.js:198:13) plenticore.0 2020-03-25 15:36:57.848 error at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) plenticore.0 2020-03-25 15:36:57.848 error at Request.emit (events.js:198:13) plenticore.0 2020-03-25 15:36:57.848 error at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) plenticore.0 2020-03-25 15:36:57.848 error at Request._callback (/opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js:619:85) plenticore.0 2020-03-25 15:36:57.848 error at JSON.stringify (<anonymous>) plenticore.0 2020-03-25 15:36:57.848 error (14778) TypeError: Converting circular structure to JSON plenticore.0 2020-03-25 15:36:57.839 error (14778) uncaught exception: Converting circular structure to JSON
-
Danke für den Hinweis. Ich schau mal rein. Problem ist, dass das außerhalb meines Codes ist kotz. Muss ich wohl schauen, dass ich da noch irgendwo Exceptions zusätzlich abfange.
-
Okay, lag an was anderem. Habe einen Fix ins Git geladen.
-
@StrathCole sagte in IOBroker Anbindung an einen Kostal Plenticore:
Okay, lag an was anderem. Habe einen Fix ins Git geladen.
Geht nicht - Adapter startet alle 30 Sekunden neu
-
@tom57 Mit derselben Meldung?
-
@StrathCole sagte in IOBroker Anbindung an einen Kostal Plenticore:
Mit derselben Meldung?
Nein .....
host.iob 2020-03-25 17:51:40.192 info Restart adapter system.adapter.plenticore.0 because enabled host.iob 2020-03-25 17:51:40.191 error instance system.adapter.plenticore.0 terminated with code 156 (156) host.iob 2020-03-25 17:51:39.597 info instance system.adapter.plenticore.0 started with pid 1909 host.iob 2020-03-25 17:51:09.547 info Restart adapter system.adapter.plenticore.0 because enabled host.iob 2020-03-25 17:51:09.546 error instance system.adapter.plenticore.0 terminated with code 156 (156) host.iob 2020-03-25 17:51:08.971 info instance system.adapter.plenticore.0 started with pid 1862 host.iob 2020-03-25 17:50:38.923 info Restart adapter system.adapter.plenticore.0 because enabled host.iob 2020-03-25 17:50:38.922 error instance system.adapter.plenticore.0 terminated with code 156 (156) host.iob 2020-03-25 17:50:38.373 info instance system.adapter.plenticore.0 started with pid 1847 host.iob 2020-03-25 17:50:08.347 info Restart adapter system.adapter.plenticore.0 because enabled host.iob 2020-03-25 17:50:08.347 error instance system.adapter.plenticore.0 terminated with code 156 (156) host.iob 2020-03-25 17:50:07.797 info instance system.adapter.plenticore.0 started with pid 1831 host.iob 2020-03-25 17:49:37.773 info Restart adapter system.adapter.plenticore.0 because enabled host.iob 2020-03-25 17:49:37.773 error instance system.adapter.plenticore.0 terminated with code 156 (156)
-
@tom57 Hast du ihn mal manuell komplett angehalten und neu gestartet?
-
@StrathCole sagte in IOBroker Anbindung an einen Kostal Plenticore:
@tom57 Hast du ihn mal manuell komplett angehalten und neu gestartet?
Nein hatte nur neu gestartet ....
Jetzt habe ich Ihn angehalten ... etwas gewartet ... und neu gestartet.
Jetzt habe ich keine Neustarts mehr.Wo ist der Unterschied mit Anhalten zum Neustarten ?
-
@tom57 sagte in IOBroker Anbindung an einen Kostal Plenticore:
Wo ist der Unterschied mit Anhalten zum Neustarten ?
Das weiß ich nicht. Ich habe das aber auch manchmal bei Adaptern, die ich aktualisiere, dass ioBroker sie nicht korrekt neu startet und ich dann einmal manuell beenden muss.
-
@StrathCole sagte in IOBroker Anbindung an einen Kostal Plenticore:
Das weiß ich nicht. Ich habe das aber auch manchmal bei Adaptern, die ich aktualisiere, dass ioBroker sie nicht korrekt neu startet und ich dann einmal manuell beenden muss.
Ok, wieder was gelernt
-
@tom57 sagte in IOBroker Anbindung an einen Kostal Plenticore:
@StrathCole sagte in IOBroker Anbindung an einen Kostal Plenticore:
@tom57 Hast du ihn mal manuell komplett angehalten und neu gestartet?
Nein hatte nur neu gestartet ....
Jetzt habe ich Ihn angehalten ... etwas gewartet ... und neu gestartet.
Jetzt habe ich keine Neustarts mehr.Wo ist der Unterschied mit Anhalten zum Neustarten ?
In einem solchen Fall läuft dann noch ein Zombiprozess.
Wenn du den Adapter stoppst und in der Kommandozeile:ps auxww | grep plenticore
ausführst, siehst du ihn. Mit diesem Kommando kann man ihn killen:
sudo kill -9 $(pidof io.plenticore.0)
-
Ich habe jetzt die aktuelle Version 2.1.0 ins Git und ins NPM repository geladen. Damit sollte sie morgen auch im "latest" von ioBroker auftauchen. Einzige Neuerung seit dem letzten Git-Upload ist das einstellbare minimum MinSoC.
Zudem habe ich die README auf den neuesten Stand gebracht und auch die Vorhersage etwas erläutert.
Nun habe ich auch noch eine deutsche Übersetzung der README eingepflegt.
-
Jungs, ganz doof gefragt: Bekomme auch bald eine PV-Anlage mit einem Kostal Plenticore plus 8.5 - aber was wird noch benötigt, um die PV-Daten letztlich über iobroker auslesen zu lassen? Blicke hier noch nicht durch ....
Danke euch!
-
@Bostil Der Plenticore muss einfach im selben Netzwerk sein, sodass der ioBroker ihn erreichen kann. Sinnvoll wird es dann auch erst, wenn er mit einem SEM gekoppelt ist.
-
Danke @StrathCole - hieße, der Plenticore bringt fast alles mit, um ihn im iobroker zumindest sichtbar zu machen. Der Plenticore wird einfach per LAN am Router angeschlossen, und ab da an ist es Konfigurationsarbeit? Danke dir.
-
@Bostil Im Grunde ist das richtig, ja.
-
@StrathCole Habe heute erst die Logzeile entdeckt:
Invalid minimum MinSoC value set. Valid values are from 5 to 100 and lower than maximum MinSoC. Resetting to default (5).
Und darauf hin in der Instanz versucht 5% als minMinSOC zu speichern. Wird aber immer mit einem Fehlerdialog quittiert, dass der Wert zw. 5 und 100 und kleiner maxMinSOC sein soll. maxMinSOC ist 20.
Erst ab minmin 40 und daher maxmin >40 lässt sich der Dialog speichern.
-
@Diginix Komisch. Schau ich mir noch mal an.
-
@Diginix Danke für den Hinweis. Problem ist behoben.