NEWS
Test Adapter Solarlog v2.x.x latest
-
Ich habe regelmäßig diesen Syntax Error im Log:
solarlog.0
2023-02-20 07:25:00.178 warn Getforecastdata - Error: SyntaxError: Unexpected token T in JSON at position 0Zwecks Vorhersage habe ich folgende Parameter festgelegt:
Ist da ein Fehler bei meinen Einstellungen oder ist das ein bekannter "Fehler"?
-
@pepito82 Danke für den Hinweis, jetzt ist es ein bekannter Fehler. Es hat sich ein '/' zuviel eingeschlichen. Ich werde in den nächsten Tagen eine neue Version publizieren, die (hoffentlich) die Unsauberkeiten von 2.2.5 bereinigt.
Grüsse forelleblauEDIT: auf Github steht der korrigierte Code bereits zur Verfügung (noch nicht neu versioniert).
-
@forelleblau Super, vielen Dank!
-
Hallo,
in meinem ioBroker 6.3.5 habe ich den Solarlog-Adapter V2.2.6 installiert und möchte auf einen Solarlog 200 PM zugreifen.
Unter Instanzwn wird mir angezeigt, dass er mit dem Host verbunden ist und auch ein Lebenszeichen hat (alles grün).
Dennoch werden keine Werte geliefert.Im Log sehe ich immer wieder einen Fehler 404.
Kann mir bitte jemand mitteilen, worin das Problem liegt?
solarlog.0 2023-09-20 18:23:03.945 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2023-09-20 18:23:03.945 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2023-09-20 18:23:03.395 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2023-09-20 18:23:03.395 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2023-09-20 18:23:03.309 info Forecast - Datenabruf: true solarlog.0 2023-09-20 18:23:03.309 info Rufe historische Daten um 24:0 ab solarlog.0 2023-09-20 18:23:03.308 info Unterzähler - Import: true solarlog.0 2023-09-20 18:23:03.282 info [START] Starting solarlog adapter solarlog.0 2023-09-20 18:23:03.187 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24 solarlog.0 2023-09-20 18:23:00.053 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason solarlog.0 2023-09-20 18:23:00.051 info terminating solarlog.0 2023-09-20 18:23:00.038 info [END] Stopping solarlog adapter... solarlog.0 2023-09-20 18:23:00.034 info Scheduled restart. solarlog.0 2023-09-20 18:22:53.090 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2023-09-20 18:22:53.089 info Logcheck - axios - Error: AxiosError: Request failed with status code 404
-
@tomasog Hallo tomasog. Prüf doch mal, ob deine IP und deine Einstellungen zum Benutzerpasswort mit dem solarlog, den du erreichen willst, übereinstimmen. Am besten deaktivierst du mal das Benutzerpasswort im Solarlog und im Adapter.
Wenn das nicht hilft, stell mir bitte in debug-log zur verfügung.
Am Typ Solarlog sollte es nicht liegen, der Adapter läuft jedenfalls schon mit anderen 200 PM+.
Grüsse
forelleblau -
Hey @forelleblau,
vielen Dank für Deine Nachricht.
Das Benutzerpassword habe ich deaktiviert.
Anschließend nochmals alles gecheckt und neu gestartet, bekomme es aber trotzdem nicht hin.
Hier schicke ich Dir nochmals mein Protokoll:solarlog.0 2545 2023-09-27 15:20:04.479 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2545 2023-09-27 15:20:04.478 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2545 2023-09-27 15:20:04.429 debug Starte LogCheck solarlog.0 2545 2023-09-27 15:20:04.428 debug Options: {"method":"post","headers":{"Accept":"*/*","Accept-Encoding":"gzip, deflate","Connection":"keep-alive","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Referer":"http://192.168.178.90//","Accept-Origin":"http://192.168.178.90//","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36","X-Requested-With":"XMLHttpRequest","Cookie":"banner_hidden=false; SolarLog="}} solarlog.0 2545 2023-09-27 15:20:03.927 debug WR Importieren solarlog.0 2545 2023-09-27 15:20:03.927 debug uzimp: true solarlog.0 2545 2023-09-27 15:20:03.927 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2545 2023-09-27 15:20:03.926 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2545 2023-09-27 15:20:03.825 debug starte LOGIN solarlog.0 2545 2023-09-27 15:20:03.825 debug Options: {"method":"post","headers":{"Cookie":"banner_hidden=false"}} solarlog.0 2545 2023-09-27 15:20:03.824 debug [START] Started Adapter with: http://192.168.178.90/ solarlog.0 2545 2023-09-27 15:20:03.823 debug [INFO] Configured polling interval averages&other: 300000 solarlog.0 2545 2023-09-27 15:20:03.822 debug [INFO] Configured polling interval consumption/production: 30000 solarlog.0 2545 2023-09-27 15:20:03.822 info Forecast - Datenabruf: true solarlog.0 2545 2023-09-27 15:20:03.822 info Rufe historische Daten um 24:0 ab solarlog.0 2545 2023-09-27 15:20:03.822 debug uzimp: true solarlog.0 2545 2023-09-27 15:20:03.821 info Unterzähler - Import: true solarlog.0 2545 2023-09-27 15:20:03.821 debug LOVE - Ich liebe euch! solarlog.0 2545 2023-09-27 15:20:03.820 debug Host? true : http://192.168.178.90/ solarlog.0 2545 2023-09-27 15:20:03.786 info [START] Starting solarlog adapter solarlog.0 2545 2023-09-27 15:20:03.688 debug Schedule restart: * * * * * solarlog.0 2545 2023-09-27 15:20:03.650 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24 solarlog.0 2545 2023-09-27 15:20:03.204 debug States connected to redis: 127.0.0.1:9000 solarlog.0 2545 2023-09-27 15:20:03.183 debug States create User PubSub Client solarlog.0 2545 2023-09-27 15:20:03.181 debug States create System PubSub Client solarlog.0 2545 2023-09-27 15:20:03.172 debug Redis States: Use Redis connection: 127.0.0.1:9000 solarlog.0 2545 2023-09-27 15:20:03.154 debug Objects connected to redis: 127.0.0.1:9001 solarlog.0 2545 2023-09-27 15:20:03.147 debug Objects client initialize lua scripts solarlog.0 2545 2023-09-27 15:20:03.121 debug Objects create User PubSub Client solarlog.0 2545 2023-09-27 15:20:03.120 debug Objects create System PubSub Client solarlog.0 2545 2023-09-27 15:20:03.074 debug Objects client ready ... initialize now solarlog.0 2545 2023-09-27 15:20:03.032 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 solarlog.0 2474 2023-09-27 15:20:00.045 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason solarlog.0 2474 2023-09-27 15:20:00.044 info terminating solarlog.0 2474 2023-09-27 15:20:00.027 info [END] Stopping solarlog adapter... solarlog.0 2474 2023-09-27 15:20:00.019 info Scheduled restart. solarlog.0 2474 2023-09-27 15:19:15.089 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2474 2023-09-27 15:19:15.088 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2474 2023-09-27 15:19:15.041 debug Starte LogCheck solarlog.0 2474 2023-09-27 15:19:15.040 debug Options: {"method":"post","headers":{"Accept":"*/*","Accept-Encoding":"gzip, deflate","Connection":"keep-alive","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Referer":"http://192.168.178.90//","Accept-Origin":"http://192.168.178.90//","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36","X-Requested-With":"XMLHttpRequest","Cookie":"banner_hidden=false; SolarLog="}} solarlog.0 2474 2023-09-27 15:19:14.539 debug WR Importieren solarlog.0 2474 2023-09-27 15:19:14.539 debug uzimp: true solarlog.0 2474 2023-09-27 15:19:14.539 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2474 2023-09-27 15:19:14.538 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2474 2023-09-27 15:19:14.429 debug starte LOGIN solarlog.0 2474 2023-09-27 15:19:14.428 debug Options: {"method":"post","headers":{"Cookie":"banner_hidden=false"}} solarlog.0 2474 2023-09-27 15:19:14.428 debug [START] Started Adapter with: http://192.168.178.90/ solarlog.0 2474 2023-09-27 15:19:14.427 debug [INFO] Configured polling interval averages&other: 300000 solarlog.0 2474 2023-09-27 15:19:14.427 debug [INFO] Configured polling interval consumption/production: 30000 solarlog.0 2474 2023-09-27 15:19:14.426 info Forecast - Datenabruf: true solarlog.0 2474 2023-09-27 15:19:14.426 info Rufe historische Daten um 24:0 ab solarlog.0 2474 2023-09-27 15:19:14.426 debug uzimp: true solarlog.0 2474 2023-09-27 15:19:14.424 info Unterzähler - Import: true solarlog.0 2474 2023-09-27 15:19:14.424 debug LOVE - Ich liebe euch! solarlog.0 2474 2023-09-27 15:19:14.422 debug Host? true : http://192.168.178.90/ solarlog.0 2474 2023-09-27 15:19:14.381 info [START] Starting solarlog adapter solarlog.0 2474 2023-09-27 15:19:14.321 debug Schedule restart: * * * * * solarlog.0 2474 2023-09-27 15:19:14.286 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24 solarlog.0 2474 2023-09-27 15:19:13.907 debug States connected to redis: 127.0.0.1:9000 solarlog.0 2474 2023-09-27 15:19:13.889 debug States create User PubSub Client solarlog.0 2474 2023-09-27 15:19:13.888 debug States create System PubSub Client solarlog.0 2474 2023-09-27 15:19:13.879 debug Redis States: Use Redis connection: 127.0.0.1:9000 solarlog.0 2474 2023-09-27 15:19:13.859 debug Objects connected to redis: 127.0.0.1:9001 solarlog.0 2474 2023-09-27 15:19:13.850 debug Objects client initialize lua scripts solarlog.0 2474 2023-09-27 15:19:13.821 debug Objects create User PubSub Client solarlog.0 2474 2023-09-27 15:19:13.819 debug Objects create System PubSub Client solarlog.0 2474 2023-09-27 15:19:13.817 debug Objects client ready ... initialize now solarlog.0 2474 2023-09-27 15:19:13.775 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 solarlog.0 2450 2023-09-27 15:19:09.469 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason solarlog.0 2450 2023-09-27 15:19:09.468 info terminating solarlog.0 2450 2023-09-27 15:19:09.467 info [END] Stopping solarlog adapter... solarlog.0 2450 2023-09-27 15:19:09.465 info Got terminate signal TERMINATE_YOURSELF solarlog.0 2450 2023-09-27 15:19:04.653 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2450 2023-09-27 15:19:04.652 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2450 2023-09-27 15:19:04.103 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2450 2023-09-27 15:19:04.102 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2450 2023-09-27 15:19:03.976 info Forecast - Datenabruf: true solarlog.0 2450 2023-09-27 15:19:03.976 info Rufe historische Daten um 24:0 ab solarlog.0 2450 2023-09-27 15:19:03.974 info Unterzähler - Import: true solarlog.0 2450 2023-09-27 15:19:03.930 info [START] Starting solarlog adapter solarlog.0 2450 2023-09-27 15:19:03.795 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24 solarlog.0 2076 2023-09-27 15:19:00.043 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason solarlog.0 2076 2023-09-27 15:19:00.042 info terminating solarlog.0 2076 2023-09-27 15:19:00.030 info [END] Stopping solarlog adapter... solarlog.0 2076 2023-09-27 15:19:00.029 info Scheduled restart. solarlog.0 2076 2023-09-27 15:18:53.199 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2076 2023-09-27 15:18:53.198 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2076 2023-09-27 15:18:03.698 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2076 2023-09-27 15:18:03.697 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2076 2023-09-27 15:18:03.146 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2076 2023-09-27 15:18:03.145 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2076 2023-09-27 15:18:03.045 info Forecast - Datenabruf: true solarlog.0 2076 2023-09-27 15:18:03.044 info Rufe historische Daten um 24:0 ab solarlog.0 2076 2023-09-27 15:18:03.043 info Unterzähler - Import: true solarlog.0 2076 2023-09-27 15:18:03.021 info [START] Starting solarlog adapter solarlog.0 2076 2023-09-27 15:18:02.942 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24 solarlog.0 2020 2023-09-27 15:18:00.019 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason solarlog.0 2020 2023-09-27 15:18:00.018 info terminating solarlog.0 2020 2023-09-27 15:18:00.013 info [END] Stopping solarlog adapter... solarlog.0 2020 2023-09-27 15:18:00.011 info Scheduled restart. solarlog.0 2020 2023-09-27 15:17:46.746 info Fehler beim Logcheck: Statuscode:AxiosError: Request failed with status code 404. Führe Logcheck bei nächster Gelegenheit erneut aus. solarlog.0 2020 2023-09-27 15:17:46.745 info Logcheck - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2020 2023-09-27 15:17:46.199 info Fehler beim Login: Statuscode:AxiosError: Request failed with status code 404. Führe Login bei nächster Gelegenheit erneut aus. solarlog.0 2020 2023-09-27 15:17:46.198 info Login - axios - Error: AxiosError: Request failed with status code 404 solarlog.0 2020 2023-09-27 15:17:46.106 info Forecast - Datenabruf: true solarlog.0 2020 2023-09-27 15:17:46.106 info Rufe historische Daten um 24:0 ab solarlog.0 2020 2023-09-27 15:17:46.105 info Unterzähler - Import: true solarlog.0 2020 2023-09-27 15:17:46.022 info [START] Starting solarlog adapter solarlog.0 2020 2023-09-27 15:17:45.957 info starting. Version 2.2.6 in /opt/iobroker/node_modules/iobroker.solarlog, node: v18.16.1, js-controller: 4.0.24
-
Hallo @tomasog.
Kleines Detail: Wahrscheinlich hast du in den Adapter - Einstellungen die IP-Adresse mit einem / am Schluss eingegeben.Gib sie mal wie ein der Anleitung beschrieben ohne, alse nur 192.168.178.XX ein, vorne nicht und hinten nichts.
Dann sollte es eigenlich klappen (wenn die IP stimmt.....)
Grüsse Forelleblau
-
Hallo @forelleblau,
super, vielen Dank für die Unterstützung, es funktioniert tatsächlich! Ich freue mich sehr!
Grüße
Tomasog -
Gerne, @tomasog. Für die nächste Version habe ich eine entsprechende Prüfung und Korrektur eingebaut, dann sollte das nicht mehr passieren.
Grüsse forelleblau
-
seid dem letzten Update des Solar-Log Base 15 auf die Firmwareversion 6.1.0 Build 163 - 12.04.2024 ist keine saubere Verbindung mehr gegeben.
im Log stehen nur Meldungen mit "access denied" und es wird kein Objekt mehr aktualisiert.Gruß Thomas