NEWS
Growatt exception: Error: {"result":3}
-
@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
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
2.0.0
Kannst du das loggen mal auf Debug stellen und den kompletten output vom Adapterstart hier posten.
-
@wendy2702
Da ist leider nicht viel zu sehen!growatt.0 2023-02-02 11:37:01.734 info not connected growatt.0 2023-02-02 11:37:01.733 warn Login:{} growatt.0 2023-02-02 11:35:01.681 info not connected growatt.0 2023-02-02 11:35:01.680 warn Login:{} growatt.0 2023-02-02 11:33:01.539 info not connected growatt.0 2023-02-02 11:33:01.538 warn Login:{} growatt.0 2023-02-02 11:31:01.477 info not connected growatt.0 2023-02-02 11:31:01.476 warn Login:{} growatt.0 2023-02-02 11:29:01.148 info not connected growatt.0 2023-02-02 11:29:01.147 warn Login:{} growatt.0 2023-02-02 11:27:01.074 info not connected growatt.0 2023-02-02 11:27:01.073 warn Login:{} growatt.0 2023-02-02 11:25:01.007 info not connecte
-
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
Puuhhh, das war jetzt schon mal erfolgreich!
Das heißt die Zeit tickt jetzt richtig?
-
@thomas-braun
Ja, Danke noch einmal, du hast mich gut durch das Problem geführt - ich merke immer mehr, dass ich tiefer einsteigen müsste. -
@wendy2702
Sorry, ich war an der falschen Stelle - hier nun sicher korrektgrowatt.0 2023-02-02 11:41:30.658 debug Leave growattData :170ms growatt.0 2023-02-02 11:41:30.656 info not connected growatt.0 2023-02-02 11:41:30.655 debug Growatt time for login : 167ms growatt.0 2023-02-02 11:41:30.654 debug Growatt isConnected() : false growatt.0 2023-02-02 11:41:30.653 warn Login:{} growatt.0 2023-02-02 11:41:30.495 debug Enter lifeSignCallback 600000ms growatt.0 2023-02-02 11:41:30.494 debug Growatt login with user and password growatt.0 2023-02-02 11:41:30.493 debug Growatt isConnected() : false growatt.0 2023-02-02 11:41:30.490 debug Growatt new API growatt.0 2023-02-02 11:41:30.488 debug Enter lifeSignCallback 600000ms growatt.0 2023-02-02 11:41:30.487 debug Enter growattData, Param: sessionHold:true growatt.0 2023-02-02 11:41:30.416 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-02 11:41:29.995 debug Plugin sentry Initialize Plugin (enabled=true) growatt.0 2023-02-02 11:41:29.893 debug States connected to redis: 127.0.0.1:9000 growatt.0 2023-02-02 11:41:29.801 debug States create User PubSub Client growatt.0 2023-02-02 11:41:29.799 debug States create System PubSub Client growatt.0 2023-02-02 11:41:29.774 debug Redis States: Use Redis connection: 127.0.0.1:9000 growatt.0 2023-02-02 11:41:29.725 debug Objects connected to redis: 127.0.0.1:9001 growatt.0 2023-02-02 11:41:29.717 debug Objects client initialize lua scripts growatt.0 2023-02-02 11:41:29.633 debug Objects create User PubSub Client growatt.0 2023-02-02 11:41:29.631 debug Objects create System PubSub Client growatt.0 2023-02-02 11:41:29.628 debug Objects client ready ... initialize now growatt.0 2023-02-02 11:41:29.568 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 growatt.0 2023-02-02 11:41:24.945 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason growatt.0 2023-02-02 11:41:24.944 info terminating growatt.0 2023-02-02 11:41:24.941 info Got terminate signal TERMINATE_YOURSELF growatt.0 2023-02-02 11:41:02.146 info not connected growatt.0 2023-02-02 11:41:02.145 warn Login:{}
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
not connected
Der verbindet sich nicht mit dem China Server.
Was für eine Adresse steht denn in der Config?
-
https://server.growatt.com
-
@nobbiman und die Seite ist von iobroker erreichbar und du bist dort registriert und kannst dich anmelden?
-
@wendy2702 said in Growatt exception: Error: {"result":3}:
iobroker erreichbar und du bist dort registriert
Was heißt "von iobroker erreichbar"?
Bei Growatt bin ich natürlich registriert und empfange meine Infos auch über meinen Browser. Bis von ein paar Tagen war das Auslesen der Daten und die Verbindung auch gar kein Problem. Frag mich aber bitte nicht, ob ich etwas geändert hatte - ich meine nicht!
-
@nobbiman sagte in Growatt exception: Error: {"result":3}:
Was heißt "von iobroker erreichbar"?
Na von dem Rechner auf dem iobroker läuft. Kannst du da die Seite erreichen?
nslookup server.growatt.com Server: 192.168.178.1 Address: 192.168.178.1#53 Non-authoritative answer: Name: server.growatt.com Address: 47.91.67.66
ping 47.91.67.66 PING 47.91.67.66 (47.91.67.66) 56(84) bytes of data. 64 bytes from 47.91.67.66: icmp_seq=1 ttl=87 time=17.0 ms 64 bytes from 47.91.67.66: icmp_seq=2 ttl=87 time=15.8 ms
-
Sonderzeichen im Passwort? Stell das mal auf was einfacheres nur aus Buchstaben und Ziffern um.
-
@thomas-braun
Nein, keine Sonderzeichen, nur Klein- und Großbuchstaben und Zahlenpi@iobroker-pi:~ $ nslookup server.growatt.com -bash: nslookup: command not found
-
@thomas-braun
Nach Installation von nslookup:pi@iobroker-pi:~ $ nslookup server.growatt.com Server: 192.168.2.1 Address: 192.168.2.1#53 Non-authoritative answer: Name: server.growatt.com Address: 47.91.67.66
pi@iobroker-pi:~ $ ping 47.91.67.66 PING 47.91.67.66 (47.91.67.66) 56(84) bytes of data. 64 bytes from 47.91.67.66: icmp_seq=1 ttl=95 time=12.9 ms 64 bytes from 47.91.67.66: icmp_seq=2 ttl=95 time=11.4 ms 64 bytes from 47.91.67.66: icmp_seq=3 ttl=95 time=12.4 ms 64 bytes from 47.91.67.66: icmp_seq=4 ttl=95 time=11.3 ms
Fehler aber auch noch Host-Neustart immer noch da! Auch nach Deinstallation des Adapters und Instanz , Neustart und Neuinstallation nicht!
$ iobroker add growatt auto --host iobroker-pi --debug NPM version: 8.19.3Installing 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. added 9 packages in 14s88 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.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
-
@nobbiman Dann muss ich ehrlich sagen gehen mir die Ideen aus warum der Adapter sich nicht verbindet.
Mach dazu am besten ein Issue auf Github auf, dann bekommt der Entwickler das mit und kann vielleicht helfen.