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 last edited by

      @thomas-braun

      growatt.0
      	2023-01-31 12:09:05.347	error	Growatt exception: Error: {"result":3}
      growatt.0
      	2023-01-31 12:09:04.051	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-01-31 12:09:00.030	info	Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
      growatt.0
      	2023-01-31 12:09:00.027	info	terminating
      growatt.0
      	2023-01-31 12:09:00.016	info	Scheduled restart.
      

      Oh, hatte ich übersehen. Die Version 4.0.24 müsste aber nun die aktuelle sein!?

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

        @nobbiman

        iob diag
        
        1 Reply Last reply Reply Quote 0
        • N
          nobbiman last edited by nobbiman

          @thomas-braun

          ======================= SUMMARY =======================
                               v.2023-01-02
          
          
          Operatingsystem:        Raspbian GNU/Linux 10 (buster)
          Installation:           Native
          Timezone:               Europe/Berlin
          User-ID:                1000
          X-Server:               true
          Boot Target:            multi-user.target
          
          Pending OS-Updates:     0
          
          Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                  /usr/bin/node           v16.19.0
                                  /usr/bin/npm            8.19.3
                                  /usr/bin/npx            8.19.3
          
          ioBroker Core:          js-controller           4.0.24
                                  admin                   6.3.5
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin:
          + system.adapter.admin.0                  : admin                 : iobroker-pi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          
          Pending iob updates:    0
          
          Active repo(s): stable
          
          Objects:                9126
          States:                 7780
          
          Size of iob-Database:
          
          13M     /opt/iobroker/iobroker-data/objects.jsonl
          2.8M    /opt/iobroker/iobroker-data/objects.json.migrated
          2.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
          3.0M    /opt/iobroker/iobroker-data/states.jsonl
          28K     /opt/iobroker/iobroker-data/states.json.migrated
          28K     /opt/iobroker/iobroker-data/states.json.bak.migrated
          
          
          =================== END OF SUMMARY ====================
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @nobbiman last edited by

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

            Operatingsystem: Raspbian GNU/Linux 10 (buster)

            Buster ist im September 2022 verstorben.
            Installier da den Nachfolger 'Bullseye' / Debian 11.

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

              @thomas-braun
              Komme leider nicht weiter. Ich habe das Upgrade nach der Anleitung https://schroederdennis.de/tutorial-howto/debian-10-buster-auf-debian-11-bullseye-linux-updaten-anleitung/) gemacht, das neue os will sich aber nicht einstellen.

              Meine Datei sources.list sieht so aus:

              #deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
              # Uncomment line below then 'apt-get update' to enable 'apt-get source'
              #deb-src http://raspbian.raspberrypi.org/raspbian/ buster 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
              

              Auch nach einem

              reboot
              

              erscheint nach

              apt update
              apt full-upgrade
              cat /etc/os-release
              

              die Buster-Version 10

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

                @nobbiman

                Ich weiß ja nicht was der Schröder Dennis da treibt, ich mache es immer so:
                https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

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

                  @thomas-braun
                  Als Einsteiger bin ich doch hiermit ziemlich gefordert. Deinem Tipp bin ich gerne gefolgt, hänge aber leider fest:

                  pi@iobroker-pi:~ $ sudo apt update
                  Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                  Hit:2 http://deb.debian.org/debian bullseye InRelease
                  Hit:3 http://ftp.debian.org/debian bullseye-backports InRelease
                  Hit:4 http://archive.raspberrypi.org/debian buster InRelease
                  Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
                  Hit:6 https://deb.nodesource.com/node_16.x buster InRelease
                  Hit:7 https://www.debmatic.de/debmatic stable InRelease
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  323 packages can be upgraded. Run 'apt list --upgradable' to see them.
                  
                  

                  Also zunächst ein

                  pi@iobroker-pi:~ $ sudo apt full-upgrade
                  E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
                  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
                  
                  

                  ... und da ist Ende! Ich denke ich muss die Pakete zuerst upgraden oder?

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

                    @nobbiman

                    Nein, irgendein anderer Prozess greift noch auf die dpkg-Datenbank zu.
                    Ist da eine Desktop-Oberfläche mit im Spiel? Deren Benachrichtigungen können z. B. dazu führen. Oder du stehst in einem anderen Terminal noch drauf.

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

                      @thomas-braun
                      Ja, an deiner Diagnose war was dran. Ich hatte noch ein putty-Fenster geöffnet, da ich ehrlich gesagt mit dem copy&paste beim nano für die Codes nicht hinkomme.
                      Nun ist alles upgedated, bullseye ist installiert, alle Paket sind up to date!

                      Alleine der Fehler ist nicht weg 😖 :

                      growatt.0
                      	2023-01-31 16:06:05.389	error	Growatt exception: Error: {"result":3}
                      growatt.0
                      	2023-01-31 16:06:04.190	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-01-31 16:06:00.030	info	Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                      growatt.0
                      	2023-01-31 16:06:00.027	info	terminating
                      growatt.0
                      	2023-01-31 16:06:00.016	info	Scheduled restart.
                      

                      Solltest du weiter helfen wollen, brauchst du noch neue Statusinformationen?
                      Bin aber heute Abend unterwegs!

                      Nachtrag: ich stelle gerade fest, dass bei Aktualisieren der logs, der Zeitstempel 45 Min. hinter meinem PC her hinkt. Aber das dürfte ja keine Relevanz haben, oder?

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

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

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

                        Kannst du jetzt wo alles aktuell ist die Instanz und den Adapter mal komplett loeschen, Server neu starten und dann Adapter wieder installieren.

                        Log von der Installation dann auch hier posten.

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

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

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

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

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

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

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

                                @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/a

                                Schalte den NTP service wieder ein, dann passt auch nach einem Reboot die Zeit.

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

                                  @thomas-braun

                                  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?

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

                                    @nobbiman

                                    Falscher Befehl?

                                    Gleich mehrfach falsch.

                                    Lies hier:

                                    https://blog.doenselmann.com/uhrzeit-ueber-systemd-timesyncd-synchronisieren/

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

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

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

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

                                          @thomas-braun Wenn ich das wüsste, muss mich aber für heute aus dem Forum ausklinken - morgen mehr! Danke bis hier hin!

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

                                            @nobbiman

                                            sudo apt update
                                            

                                            sagt?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            449
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            81
                                            3799
                                            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