Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. GoodWe Wechselrichter und ioBroker

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    GoodWe Wechselrichter und ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • JB1985
      JB1985 @xReactz last edited by

      @xreactz ich habe von Anfang an das LAN Dongle.

      Als Tipp vorab! Trage eine statische IP ein. Bei DHCP verliert das LAN Dongle die Verbindung.

      Mir ist nicht bekannt, dass GoodWe und Modbus TCP funktionieren. Wenn du da weiter kommst, dann berichte gerne mal hier.

      X 1 Reply Last reply Reply Quote 0
      • X
        xReactz @JB1985 last edited by

        @jb1985

        Kurze Rückmeldung betreffend meiner Anfrage "Anbindung mittel Modbus", hab nun einen Stabile Verbindung mittels Modbus zum Wechselrichter👍

        Anbindung mittels Modbus TCP am Goodwe Wechselrichter ist mit der Lan Box also möglich. Wichtig ist das keine Aliases benutzt werden dürfen!

        08026fae-9cc0-44f6-b54b-bf07cd608571-grafik.png

        Gruß

        JB1985 1 Reply Last reply Reply Quote 0
        • JB1985
          JB1985 @xReactz last edited by

          @xreactz können wir uns da irgendwie austauschen? Vielleicht machst du ein neues Thema im ioBroker Forum auf?

          Ich habe es mit modbus v5.0.5 probiert.

          eccaa1ca-c3ce-4e35-9c9b-1708b3b4c625-image.png

          1 Reply Last reply Reply Quote 0
          • X
            xReactz last edited by

            @jb1985

            Hab ein eigenes Topic erstellt: https://forum.iobroker.net/topic/59207/goodwe-wechselrichter-und-modbus-tcp

            Hoffe es hilft, ich bin schon auf eure Rückmeldungen gespannt ! 🤝

            Gruß

            1 Reply Last reply Reply Quote 0
            • K
              Kasalevi @JB1985 last edited by

              @jb1985 Vielen Dank für Deine Beschreibung. Top. Ich war tagelang happy. Nun bekomme ich plötzlich immer folgende Meldung. Kannst Du mir helfen?

              ERROR:root:RequestException: 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
              ERROR:root:RequestException: 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
              ERROR:root:Failed to call GoodWe API url='https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId'
              ERROR:root:no inverter data, try True, trying again in 30 seconds
              ERROR:root:RequestException: 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
              ERROR:root:RequestException: 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
              ERROR:root:Failed to call GoodWe API url='https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId'
              Traceback (most recent call last):
              File "/home/pi/pygoodwe-master/allinone.py", line 8, in <module>
              gw = SingleInverter(
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 446, in init
              super().init(system_id, account, password, **kwargs)
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 60, in init
              self.getCurrentReadings(raw=True)
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 456, in getCurrentReadings
              super().getCurrentReadings(self, raw)
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 98, in getCurrentReadings
              retval = self.getCurrentReadings(
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 456, in getCurrentReadings
              super().getCurrentReadings(self, raw)
              File "/home/pi/pygoodwe-master/pygoodwe/init.py", line 93, in getCurrentReadings
              if retry < maxretries:
              TypeError: '<' not supported between instances of 'SingleInverter' and 'int'

              JB1985 1 Reply Last reply Reply Quote 0
              • JB1985
                JB1985 @Kasalevi last edited by

                @kasalevi

                Hi,

                scheinbar scheint sich die API URL geändert zu haben, siehe hier -> https://github.com/yaleman/pygoodwe/issues/175

                Du musst in der pygoodwe/init.py die URL von v1 in v2 ändern. Danach sollte es funktionieren.

                Henkeh created this issue in yaleman/pygoodwe

                closed It seems that the used URL no longer seems to be available from the command line #175

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kasalevi @JB1985 last edited by Kasalevi

                  @jb1985 das wars. großartiger support. danke

                  1 Reply Last reply Reply Quote 0
                  • U
                    Unbeliveable89 last edited by

                    Hallo, erstmal Dank für das tolle Script! Nach anfänglichen Schwierigkeiten hat es eine Weile ganz gut funktioniert. Die Umstellung auf die v2-API klappte auch reibungslos.

                    Jetzt verursacht nur der Wert der "Last" ein Problem, welches ist nach stundenlanger Recherche immer noch nicht beheben konnte. Evtl. hat hier einen einen Tipp?

                    script.js.common.goodwe: Fehler Python: Traceback (most recent call last): File "/opt/iobroker/pygoodwe/allinone.py", line 33, in <module> print(f"{gw.getLoadFlow()}") File "/opt/iobroker/pygoodwe/pygoodwe/__init__.py", line 353, in getLoadFlow if self.data['powerflow']['bettery'].endswith('(W)'):TypeError: 'NoneType' object is not subscriptable
                    

                    Wenn ich in der allinone.py den zugehörigen Befehl auskommentiere funktioniert der Rest fehlerfrei:

                    print(f"{gw.getLoadFlow()}")
                    
                    

                    LG Alex

                    JB1985 1 Reply Last reply Reply Quote 0
                    • JB1985
                      JB1985 @Unbeliveable89 last edited by

                      @unbeliveable89 komisch, da es bei mir weiterhin funktioniert. Ich denke, würde es bei den anderen auch nicht funktionieren, hätten die sich sicherlich schon gemeldet.

                      1 Reply Last reply Reply Quote 0
                      • U
                        Unbeliveable89 last edited by

                        Hmm, wirklich verrückt. Ich habe auch schon die neue init.py (0.0.17) übernommen, keine Auswirkungen. Alles funktioniert, nur der PowerFlow/die Last nicht.

                        Dann kann ich mir nur noch vorstellen, dass im WR selbst etwas verstellt wurde. GoodWe hat hier nämlich vor Wochen Updates eingespielt, da die Werte teilweise etwas inkonsequent waren.

                        Ansonsten bin ich wirklich Ratlos. Falls jemand noch etwas weiß, gerne mitteilen. 🙂

                        Guten Rutsch allen!

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nr5lebt last edited by

                          @JB1985 Hallo JB
                          Jetzt hat dein Script so lange gearbeitet und jetzt will es nicht mehr. Kannst du mir mal wieder helfen?
                          Danke im vorraus
                          1.PNG

                          JB1985 1 Reply Last reply Reply Quote 0
                          • JB1985
                            JB1985 @Nr5lebt last edited by JB1985

                            @nr5lebt die Lösung steht weiter oben. Du musst die API URL von v1 nach v2 ändern.

                            https://forum.iobroker.net/topic/34626/goodwe-wechselrichter-und-iobroker/51?_=1672938480858

                            N 1 Reply Last reply Reply Quote 0
                            • silviu-vinicius lungu
                              silviu-vinicius lungu last edited by silviu-vinicius lungu

                              i kann die ./allinone.py nicht finden....

                              pi@raspberrypi:~/pygoodwe-master $ ./allinone.py
                              -bash: ./allinone.py: Datei oder Verzeichnis nicht gefunden

                              1 Reply Last reply Reply Quote 0
                              • N
                                Nr5lebt @JB1985 last edited by

                                @jb1985 hallo jb,
                                hab das ganze wieder zum laufen bekommen. zumindest bis zum 19.1.. danach kam diese meldung:
                                Screenshot 2023-01-29 at 00-36-21 logs - nas.png
                                ich komm auch nicht mehr auf die seite semsportal, die bricht mit einem timeout ab. auch mit der handyapp bekomm ich einen netzwerkfehler. bin mit meinem bischen latein am ende.
                                danke für die hilfe im vorraus

                                wendy2702 JB1985 2 Replies Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 @Nr5lebt last edited by

                                  @nr5lebt LOgfiles bitte als Text in Code Tags </> hier hin kopieren.

                                  Den screenshot kann man mobil nur schwer entziffern und nicht zitieren.

                                  1 Reply Last reply Reply Quote 0
                                  • JB1985
                                    JB1985 @Nr5lebt last edited by

                                    @nr5lebt du bist an einem Limit von Seemsportal gekommen.

                                    Du fragst zu oft ab. Am Besten alle 15 Minuten. Früher gibt es eh keine Aktualisierung.

                                    Damit du wieder rein kommst, DSL Verbindung trennen damit du eine neue IP bekommst.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      Nr5lebt @JB1985 last edited by

                                      @jb1985 Danke zusammen, mit der neuen IP hatte ich gestern schon versucht aber immer noch nichts neues bekommen. Jetzt noch mal versucht und es klappt. Hatte die Zeiten auf 3 Minuten eingestellt. Jetzt auf 15 Minuten geändert. Danke zusammen noch mal

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        SushiQuatro last edited by SushiQuatro

                                        @silviu-vinicius-lungu said in GoodWe Wechselrichter und ioBroker:

                                        i kann die ./allinone.py nicht finden....

                                        pi@raspberrypi:~/pygoodwe-master $ ./allinone.py
                                        -bash: ./allinone.py: Datei oder Verzeichnis nicht gefunden

                                        Das Problem hatte ich auch, habe eine neue Datei mit der Endung .py erstellt und mit den o.g. Daten gefüllt.

                                        @jb1985 said in GoodWe Wechselrichter und ioBroker:

                                        @kasalevi

                                        Hi,

                                        scheinbar scheint sich die API URL geändert zu haben, siehe hier -> https://github.com/yaleman/pygoodwe/issues/175

                                        Du musst in der pygoodwe/init.py die URL von v1 in v2 ändern. Danach sollte es funktionieren.

                                        V 1 Reply Last reply Reply Quote 0
                                        • V
                                          V8Turbo @SushiQuatro last edited by

                                          @sushiquatro

                                          Hallo, habe das gleiche Problem... Im aktuellen Paket auf Github ist die allinone.py nicht drin... Was tun ?

                                          Wenn ich die Werte vom 1. Post reinkopiere kommen haufen Fehler.

                                          Es muss doch eine aktuelle geben ?!?

                                          V 1 Reply Last reply Reply Quote 0
                                          • V
                                            V8Turbo @V8Turbo last edited by V8Turbo

                                            @v8turbo

                                            xxx@raspberrypi:/etc/pygoodwe-main $ sudo ./allinone.py
                                            ./allinone.py: 3: import: not found
                                            ./allinone.py: 4: from: not found
                                            ./allinone.py: 5: from: not found
                                            ./allinone.py: 8: Syntax error: "(" unexpected
                                            
                                            

                                            EDIT:

                                            Ahh mit "python3 allinone.py" geht es.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            676
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            87
                                            15872
                                            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