Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Growatt exception: Error: {"result":3}

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Growatt exception: Error: {"result":3}

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nobbiman @Thomas Braun last edited by

      @thomas-braun

      #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?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @nobbiman last edited by

        @nobbiman

        Übernimm einfach die Datei so wie die bei mir aussieht.

        N 1 Reply Last reply Reply Quote 0
        • N
          nobbiman @Thomas Braun last edited by nobbiman

          @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
          
          1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 last edited by

            @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.

            N 1 Reply Last reply Reply Quote 0
            • N
              nobbiman @wendy2702 last edited by

              @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
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @nobbiman last edited by

                @nobbiman Steht auch nicht auf Debug.

                Beispiel:

                e301d189-450f-4c50-9558-24908ea8791d-grafik.png

                N 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active last edited by

                  @nobbiman sagte in Growatt exception: Error: {"result":3}:

                  Puuhhh, das war jetzt schon mal erfolgreich!

                  Das heißt die Zeit tickt jetzt richtig?

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    nobbiman @Thomas Braun last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nobbiman @wendy2702 last edited by

                      @wendy2702
                      Sorry, ich war an der falschen Stelle - hier nun sicher korrekt

                      growatt.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:{}
                      
                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @nobbiman last edited by

                        @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?

                        N 1 Reply Last reply Reply Quote 1
                        • N
                          nobbiman @wendy2702 last edited by

                          @wendy2702

                          https://server.growatt.com
                          
                          wendy2702 Thomas Braun 2 Replies Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @nobbiman last edited by

                            @nobbiman und die Seite ist von iobroker erreichbar und du bist dort registriert und kannst dich anmelden?

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              nobbiman @wendy2702 last edited by

                              @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!
                              Growatt-Instanz.JPG

                              wendy2702 1 Reply Last reply Reply Quote 0
                              • wendy2702
                                wendy2702 @nobbiman last edited by

                                @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
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @nobbiman last edited by

                                  @nobbiman

                                  Sonderzeichen im Passwort? Stell das mal auf was einfacheres nur aus Buchstaben und Ziffern um.

                                  N 2 Replies Last reply Reply Quote 0
                                  • N
                                    nobbiman @Thomas Braun last edited by

                                    @thomas-braun
                                    Nein, keine Sonderzeichen, nur Klein- und Großbuchstaben und Zahlen

                                    pi@iobroker-pi:~ $ nslookup server.growatt.com
                                    -bash: nslookup: command not found
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      nobbiman @Thomas Braun last edited by nobbiman

                                      @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
                                      
                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @nobbiman last edited by

                                        @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.

                                        N 1 Reply Last reply Reply Quote 0
                                        • N
                                          nobbiman @wendy2702 last edited by

                                          @wendy2702
                                          Ja, das ist vielleicht der richtige Weg. Danke bis hier hin, ich werde danach hoffentlich hier in diesem Thread Positives berichten können.

                                          wendy2702 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @nobbiman last edited by

                                            @nobbiman Gibt noch eines was man machen kann. Ein TCP dump auf dem Netzwerk IF und dann mal mit Wireshark schauen.

                                            Zuerst rausfinden wie das IF heisst:

                                            ip a
                                            

                                            Dann kommt z.B. so was:

                                            2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
                                                link/ether b8:27:eb:b9:82:51 brd ff:ff:ff:ff:ff:ff
                                                inet 192.168.178.17/24 brd 192.168.178.255 scope global dynamic noprefixroute eth0
                                            
                                            

                                            Das Interface heisst dann "eth0"

                                            Tcpdump dann so:

                                            sudo tcpdump -i eth0 -s 65535 -w growatt.pcapng
                                            

                                            File wird in dem Ordner gespeichert in dem man den Befehl ausführt.

                                            Vom Pi runterladen und mit Wireshark anschauen.

                                            Wenn du für den Zeitraum des Tests alle anderen Adapter stoppst ist das Ergebnis übersichtlicher.

                                            N 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            953
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            81
                                            3803
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo