NEWS
Growatt exception: Error: {"result":3}
-
@wendy2702
So, alles wie beschrieben erledigt:$ iobroker add growatt auto --host iobroker-pi --debug NPM version: 8.19.3 Installing iobroker.growatt@2.0.0... (System call) npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 88 packages are looking for funding run `npm fund` for details host.iobroker-pi install adapter growatt upload [4] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/glogo.png glogo.png image/png upload [3] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/growatt.png growatt.png image/png upload [2] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/index_m.html index_m.html text/html upload [1] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/style.css style.css text/css upload [0] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/words.js words.js application/javascript host.iobroker-pi object system.adapter.growatt created/updated host.iobroker-pi create instance growatt host.iobroker-pi object system.adapter.growatt.0.alive created host.iobroker-pi object system.adapter.growatt.0.connected created host.iobroker-pi object system.adapter.growatt.0.compactMode created host.iobroker-pi object system.adapter.growatt.0.cpu created host.iobroker-pi object system.adapter.growatt.0.cputime created host.iobroker-pi object system.adapter.growatt.0.memHeapUsed created host.iobroker-pi object system.adapter.growatt.0.memHeapTotal created host.iobroker-pi object system.adapter.growatt.0.memRss created host.iobroker-pi object system.adapter.growatt.0.uptime created host.iobroker-pi object system.adapter.growatt.0.inputCount created host.iobroker-pi object system.adapter.growatt.0.outputCount created host.iobroker-pi object system.adapter.growatt.0.eventLoopLag created host.iobroker-pi object system.adapter.growatt.0.sigKill created host.iobroker-pi object system.adapter.growatt.0.logLevel created host.iobroker-pi object growatt.0.info created host.iobroker-pi object growatt.0.info.connection created host.iobroker-pi Set default value of growatt.0.info.connection: false host.iobroker-pi object system.adapter.growatt.0 created Process exited with code 0
Die Warnmeldung sehe ich, weiß aber nicht, wie ich damit umgehen soll?
Die installierte npm-Version ist die 8.19.3. Wie installiere ich die 88 Paket nach?
Im Log erscheintgrowatt.0 2023-02-01 13:42:05.660 error Growatt exception: Error: {"result":3} growatt.0 2023-02-01 13:40:04.972 error Growatt exception: Error: {"result":3} growatt.0 2023-02-01 13:38:03.714 error Growatt exception: Error: {"result":3} growatt.0 2023-02-01 13:38:02.753 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.growatt, node: v16.19.0, js-controller: 4.0.24 growatt.0 2023-02-01 13:37:57.299 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason growatt.0 2023-02-01 13:37:57.297 info terminating growatt.0 2023-02-01 13:37:57.293 info Got terminate signal TERMINATE_YOURSELF growatt.0 2023-02-01 13:37:25.968 info not connected growatt.0 2023-02-01 13:37:25.965 warn Login:{}
Mich irritiert auch immer noch der Zeitunterschied der Fehlermeldungen mit der Systemzeit des RasPi und meinem PC (richtige Zeit), obwohl am RasPi die korrekte Zeitzone eingestellt ist
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
Die Warnmeldung sehe ich, weiß aber nicht, wie ich damit umgehen soll?
Gar nicht.
Die installierte npm-Version ist die 8.19.3. Wie installiere ich die 88 Paket nach?
Auch gar nicht. Das sind 88 Pakete, die gerne finanziell unterstützt werden wollen, keine fehlenden Module auf deiner Installation.
obwohl am RasPi die korrekte Zeitzone eingestellt ist
date && date -u && cat /etc/timezone && timedatectl
prüfen.
-
@thomas-braun said in Growatt exception: Error: {"result":3}:
date && date -u && cat /etc/timezone && timedatectl
pi@iobroker-pi:~ $ date && date -u && cat /etc/timezone && timedatectl Wed 1 Feb 14:42:09 CET 2023 Wed 1 Feb 13:42:09 UTC 2023 Europe/Berlin Local time: Wed 2023-02-01 14:42:09 CET Universal time: Wed 2023-02-01 13:42:09 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: no NTP service: n/a RTC in local TZ: no
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
Universal time: Wed 2023-02-01 13:42:09 UTC
Die ist falsch. Müsste 14:42:09 UTC sein.
Das ist auch falsch:
System clock synchronized: no
NTP service: n/aSchalte den NTP service wieder ein, dann passt auch nach einem Reboot die Zeit.
-
service npt start ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to start 'npt.service'. Authenticating as: ,,, (pi) Password: ==== AUTHENTICATION COMPLETE === Failed to start npt.service: Unit npt.service not found.
Falscher Befehl?
-
Falscher Befehl?
Gleich mehrfach falsch.
Lies hier:
https://blog.doenselmann.com/uhrzeit-ueber-systemd-timesyncd-synchronisieren/
-
@thomas-braun
Damit komme ich nicht klar:pi@iobroker-pi:~ $ sudo nano /etc/systemd/timesyncd.conf pi@iobroker-pi:~ $ sudo timedatectl set-ntp true Failed to set ntp: NTP not supported pi@iobroker-pi:~ $ systemctl status systemd-timesyncd Unit systemd-timesyncd.service could not be found. pi@iobroker-pi:~ $
In die Datei timesyncd.conf werden, wenn ich es richtig verstehe, einfach die Zeitserver gem. Beispiel hineinkopiert, oder?
-
@nobbiman
Ja, bei mir ist die allerdings leer.
Warum läuft denn bei dir der Service nicht?
Sollte eigentlich so aussehen:Last login: Wed Feb 1 15:51:10 2023 from 100.75.198.95 echad@chet:~ $ systemctl status systemd-timesyncd.service ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.ser> Active: active (running) since Thu 2023-01-26 19:00:34 CE> Docs: man:systemd-timesyncd.service(8) Main PID: 362 (systemd-timesyn) Status: "Initial synchronization to time server [2a03:400> Tasks: 2 (limit: 9037) CPU: 1.605s CGroup: /system.slice/systemd-timesyncd.service └─362 /lib/systemd/systemd-timesyncd Jan 26 19:00:34 chet systemd[1]: Starting Network Time Synchro>Jan 26 19:00:34 chet systemd[1]: Started Network Time Synchron>Jan 26 19:01:19 chet systemd-timesyncd[362]: Initial synchroni>lines 1-14/14 (END)
-
@thomas-braun Wenn ich das wüsste, muss mich aber für heute aus dem Forum ausklinken - morgen mehr! Danke bis hier hin!
-
-
sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:4 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB] Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:7 https://www.debmatic.de/debmatic stable InRelease Reading package lists... Done E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 2min 50s). Updates for this repository will not be applied. E: Release file for http://ftp.debian.org/debian/dists/bullseye-backports/InRelease is not valid yet (invalid for another 2min 50s). Updates for this repository will not be applied.
-
pi@iobroker-pi:~ $ sudo systemctl enable systemd-timesyncd.service Failed to enable unit: Unit file systemd-timesyncd.service does not exist.
Könnte diese Meldung auf die Spur führen? In welches Verzeichnis gehört die Datei und welchen Inhalt hat sie, bzw kann sie automatisch installiert werden?
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
Ist das entsprechende Paket nicht installiert?
Das ist eigentlich immer vorinstalliert.sudo apt update apt policy systemd-timesyncd
-
@thomas-braun said in Growatt exception: Error: {"result":3}:
apt policy systemd-timesyncd
pi@iobroker-pi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48 .4 kB] Get:4 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB] Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:6 http://archive.raspberrypi.org/debian bullseye InRelease Hit:7 https://www.debmatic.de/debmatic stable InRelease Get:8 http://security.debian.org/debian-security bullseye-security/main Sources [183 kB] Get:9 http://security.debian.org/debian-security bullseye-security/main armhf Pa ckages [217 kB] Get:10 http://security.debian.org/debian-security bullseye-security/main Transla tion-en [145 kB] Get:11 http://ftp.debian.org/debian bullseye-backports/main armhf Packages [379 kB] Get:12 http://ftp.debian.org/debian bullseye-backports/main Translation-en [322 kB] Fetched 1,388 kB in 2s (601 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@iobroker-pi:~ $ apt policy systemd-timesyncd systemd-timesyncd: Installed: (none) Candidate: 247.3-7+deb11u1 Version table: 252.4-1~bpo11+1 100 100 http://ftp.debian.org/debian bullseye-backports/main armhf Packages 247.3-7+deb11u1 500 500 http://deb.debian.org/debian bullseye/main armhf Packages
-
Nicht installiert...
sudo apt install systemd-timesyncd
Und wo kommen die backports her? Schmeiß das Repository dazu raus.
-
@thomas-braun
kein Ahnung wo die herkommen wenn nicht von der Version buster.
Keine Ahnung aber auch, wie ich sie deinstallieren kann. -
Vermutlich steht die Quelle in der
/etc/apt/sources.list
drin.
Meine schaut z. B. so aus:deb http://deb.debian.org/debian bullseye main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free # deb http://deb.debian.org/debian bullseye-backports main contrib non-free # Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source' #deb-src http://deb.debian.org/debian bullseye main contrib non-free #deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free #deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free #deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
Man beachte Zeile 4.
-
#deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi deb http://deb.debian.org/debian/ bullseye main contrib non-free deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main deb-src http://security.debian.org/debian-security bullseye-security main deb http://ftp.debian.org/debian bullseye-backports main contrib non-free
Und welche müssen raus?
-
Übernimm einfach die Datei so wie die bei mir aussieht.
-
@thomas-braun
Puuhhh, das war jetzt schon mal erfolgreich!
Leider will aber der Growatt-Adaper auch nach einem Neustart des ioBrokers immer noch nicht!
Auch nach Deinstallieren des Growatt-Adapters/-Instanz, Reboot des Hosts, und Neuinstallation Adapter/Instanz !!growatt.0 2023-02-02 10:35:14.614 error Growatt exception: Error: {"result":3} growatt.0 2023-02-02 10:35:12.908 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.growatt, node: v16.19.0, js-controller: 4.0.24