Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Growatt Wechselrichter über Modbus auslesen - gelöst -

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Growatt Wechselrichter über Modbus auslesen - gelöst -

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

      @smartboart

      Im Sketch steht "// communicate with Modbus slave ID 2" , darunter aber eine 1 vor dem Serial. Die ID vom Inverter ist aber 1, sofern COM1 im Inverter eingestellt ist !?

      Wie geschrieben, bei mir keine Fehler ohne Shinestick. Wifiverbindung stabil ?

      smartboart 2 Replies Last reply Reply Quote 0
      • smartboart
        smartboart @Wiednitz last edited by

        @Wiednitz sagte in Growatt Wechselrichter über Modbus auslesen - gelöst -:

        Im Sketch steht "// communicate with Modbus slave ID 2" , darunter aber eine 1 vor dem Serial. Die ID vom Inverter ist aber 1, sofern COM1 im Inverter eingestellt ist !?

        ja das hat mich auch gewundert, aber ich dachte das Kommentar ist halt falsch und die 1würde schon passen...

        das mit dem Passwort funktioniert aber wunderbar, falls das noch nicht im Sketch hast...

        const char* mqtt_username = "XXXX";
        const char* mqtt_password = "XXXXXXX";
        
        if (client.connect("GrowattInverter", mqtt_username, mqtt_password)) {
        
        Wiednitz 1 Reply Last reply Reply Quote 0
        • Wiednitz
          Wiednitz @smartboart last edited by

          @smartboart

          Wie ? Bekommst du Werte mit mqtt ? Ich habe Passwort bei mqtt Adapter nicht vergeben !?

          smartboart 1 Reply Last reply Reply Quote 0
          • smartboart
            smartboart @Wiednitz last edited by

            @Wiednitz sagte in Growatt Wechselrichter über Modbus auslesen - gelöst -:

            Wie geschrieben, bei mir keine Fehler ohne Shinestick. Wifiverbindung stabil ?

            Denke schon habe sonst keine Probleme mit den restlichen Wemos...

            1 Reply Last reply Reply Quote 0
            • smartboart
              smartboart @Wiednitz last edited by smartboart

              @Wiednitz sagte in Growatt Wechselrichter über Modbus auslesen - gelöst -:

              Wie ? Bekommst du Werte mit mqtt ? Ich habe Passwort bei mqtt Adapter nicht vergeben !?

              Ich bekomme auch nur die 2 Werte... Den eror habe ich im sketch unbenannt in nodata...benutze den MQTT Adapter.
              wenn der state beschrieben wird ist die else Aktiv wenn kein Wert gelesen werden kann

              Unbenannt.JPG

              ups war erst das falsche Bild

              Wiednitz 1 Reply Last reply Reply Quote 0
              • Wiednitz
                Wiednitz @smartboart last edited by

                @smartboart

                Ja dachte schon, was will er mir mit dem Chart jetzt sagen ^^

                Ja mehr als init und e2 kommt bei mir auch nicht.

                Nochmal zu den Fehlern bei Modbus, was hast du für Werte bei den Millisekunden im Modbus Adapter eingetragen ?

                smartboart 1 Reply Last reply Reply Quote 0
                • smartboart
                  smartboart @Wiednitz last edited by smartboart

                  @Wiednitz Unbenannt.JPG

                  hatte aber auch deine ausprobiert

                  1 Reply Last reply Reply Quote 0
                  • smartboart
                    smartboart last edited by

                    ist dein log auch Fehlerfrei wenn der Wechselrichter aus ist?

                    Wiednitz 1 Reply Last reply Reply Quote 0
                    • Wiednitz
                      Wiednitz @smartboart last edited by

                      @smartboart

                      Log von eben gerade wenn Aus, Modbusadapter ist ja ohne Strom, da Inverter Strom für den Adapter liefert.

                      modbus.0	2019-11-30 20:07:52.573	debug	Closing client on purpose.
                      modbus.0	2019-11-30 20:07:51.561	debug	Cleaning up request fifo.
                      modbus.0	2019-11-30 20:07:51.561	debug	Clearing timeout of the current request.
                      modbus.0	2019-11-30 20:07:51.560	debug	Socket closed with error
                      modbus.0	2019-11-30 20:07:51.560	warn	On error: {"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"192.168.10.25","port":23}
                      modbus.0	2019-11-30 20:07:51.560	error	Client in error state.
                      modbus.0	2019-11-30 20:07:51.560	error	Socket Error
                      modbus.0	2019-11-30 20:07:43.169	debug	system.adapter.admin.0: logging true
                      modbus.0	2019-11-30 20:06:48.079	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:48.079	info	List of port: []
                      modbus.0	2019-11-30 20:06:47.054	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:47.053	info	List of port: []
                      modbus.0	2019-11-30 20:06:46.037	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:46.037	info	List of port: []
                      modbus.0	2019-11-30 20:06:45.014	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:45.014	info	List of port: []
                      modbus.0	2019-11-30 20:06:43.983	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:43.982	info	List of port: []
                      modbus.0	2019-11-30 20:06:42.949	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:42.948	info	List of port: []
                      modbus.0	2019-11-30 20:06:41.918	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:41.918	info	List of port: []
                      modbus.0	2019-11-30 20:06:40.901	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:40.901	info	List of port: []
                      modbus.0	2019-11-30 20:06:39.886	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:39.886	info	List of port: []
                      modbus.0	2019-11-30 20:06:38.611	debug	sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                      modbus.0	2019-11-30 20:06:38.610	info	List of port: []
                      modbus.0	2019-11-30 20:06:30.536	debug	Closing client on purpose.
                      modbus.0	2019-11-30 20:06:29.523	debug	Cleaning up request fifo.
                      modbus.0	2019-11-30 20:06:29.522	debug	Clearing timeout of the current request.
                      modbus.0	2019-11-30 20:06:29.522	debug	Socket closed with error
                      modbus.0	2019-11-30 20:06:29.522	warn	On error: {"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"192.168.10.25","port":23}
                      modbus.0	2019-11-30 20:06:29.522	error	Client in error state.
                      modbus.0	2019-11-30 20:06:29.522	error	Socket Error
                      modbus.0	2019-11-30 20:05:08.492	debug	Closing client on purpose.
                      modbus.0	2019-11-30 20:05:07.481	debug	Cleaning up request fifo.
                      modbus.0	2019-11-30 20:05:07.480	debug	Clearing timeout of the current request.
                      modbus.0	2019-11-30 20:05:07.480	debug	Socket closed with error
                      modbus.0	2019-11-30 20:05:07.479	warn	On error: {"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"192.168.10.25","port":23}
                      modbus.0	2019-11-30 20:05:07.479	error	Client in error state.
                      modbus.0	2019-11-30 20:05:07.479	error	Socket Error
                      modbus.0	2019-11-30 20:03:46.445	debug	Closing client on purpose.
                      modbus.0	2019-11-30 20:03:45.445	debug	Cleaning up request fifo.
                      modbus.0	2019-11-30 20:03:45.445	debug	Clearing timeout of the current request.
                      modbus.0	2019-11-30 20:03:45.445	debug	Socket closed with error
                      modbus.0	2019-11-30 20:03:45.444	warn	On error: {"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"192.168.10.25","port":23}
                      modbus.0	2019-11-30 20:03:45.444	error	Client in error state.
                      modbus.0	2019-11-30 20:03:45.443	error	Socket Error
                      

                      Mit den Zeiten hat es heute Navhmittag funktioniert...

                      capture_001_30112019_200653.jpg

                      Wie oft kommen die Fehler ?

                      1 Reply Last reply Reply Quote 0
                      • smartboart
                        smartboart last edited by smartboart

                        Stimmt du versorgst den Wemoja mit der Inverterschnittstellen Spannung....Meiner hängt an ner Batterie...Die Fehler kommen jede Minute mit den Einstellungen die du als erstes ganz oben geteilt hast...Werde mal die von eben probieren...

                        1 Reply Last reply Reply Quote 0
                        • smartboart
                          smartboart last edited by smartboart

                          Welche Version vom Modbusadapter verwendest du? Hab eine instanz mit nem RS485 Modbus laufen an welcher ein Solar Log Meßgerät eingelesen wird...halt kein TCP IP und läuft seit Monaten Fehlerfrei...

                          Wiednitz 1 Reply Last reply Reply Quote 0
                          • Wiednitz
                            Wiednitz @smartboart last edited by

                            @smartboart

                            Version 3.0.0, direkt von Github installiert.

                            Solar Log hängt per Kabel an deinem IoBroker PC ?

                            smartboart W 2 Replies Last reply Reply Quote 0
                            • smartboart
                              smartboart @Wiednitz last edited by

                              @Wiednitz ja an meinem Raspberry pi / Multihost Slave

                              Denke das Problem ist auch, wenn der Modbus nix mehr sendet weil keine Sonne und Wechselrichter aus....Deshalb wäre mir bei der Anwendung MQTT lieber.

                              Wiednitz 1 Reply Last reply Reply Quote 0
                              • Wiednitz
                                Wiednitz @smartboart last edited by Wiednitz

                                @smartboart

                                Na die Fehler kommen aber auch wenn der Inverter an ist ???

                                smartboart 1 Reply Last reply Reply Quote 0
                                • smartboart
                                  smartboart @Wiednitz last edited by

                                  @Wiednitz ja stimmt, hab gerade im Log nachgeschaut....vlt.liegt es doch am Wlan...Ist ein paar meter weg im Garten der Wechselrichter...

                                  smartboart 1 Reply Last reply Reply Quote 0
                                  • smartboart
                                    smartboart @smartboart last edited by

                                    @smartboart sagte in Growatt Wechselrichter über Modbus auslesen - gelöst -:

                                    vlt.liegt es doch am Wlan

                                    -82db wifi RSSI was hast du? weist das zufällig?

                                    Unbenannt.JPG

                                    Wiednitz 3 Replies Last reply Reply Quote 0
                                    • Wiednitz
                                      Wiednitz @smartboart last edited by Wiednitz

                                      @smartboart

                                      Nein nicht auf Anhieb, ist ja jetzt nicht erreichbar...

                                      1 Reply Last reply Reply Quote 0
                                      • Wiednitz
                                        Wiednitz @smartboart last edited by

                                        @smartboart

                                        Vielleicht ist der Sketch auch für einen esp8266 mit max485 TTL Konverter gedacht !? Es gibt auch Growatt Inverter mit Rs485 Ausgang !?

                                        1 Reply Last reply Reply Quote 0
                                        • Wiednitz
                                          Wiednitz @smartboart last edited by

                                          @smartboart

                                          -77 db steht bei der esp-link Software für die Fritzbox drinnen...

                                          smartboart 1 Reply Last reply Reply Quote 0
                                          • smartboart
                                            smartboart @Wiednitz last edited by smartboart

                                            @Wiednitz sagte in Growatt Wechselrichter über Modbus auslesen - gelöst -:

                                            @smartboart

                                            Vielleicht ist der Sketch auch für einen esp8266 mit max485 TTL Konverter gedacht !? Es gibt auch Growatt Inverter mit Rs485 Ausgang !?

                                            könnte sein, das habe ich noch nicht überprüft. Man müsste halt wissen welchen Inverter der Entwickler des Sketch hatte....Ich habe ein ein issue auf Github offen, mal sehen ob er da antwortet. Ansosnten mal ne Nachricht schreiben.

                                            Dank deinem Hinweis, dass es bei dir Fehlerfrei läuft ohne Growatt Stick, habe ich mal bei mir weiter gesucht. Ich hatte den Zuätzlichen Wemo mit ESP-link über den 5V Ausgang eines anderen Wemo versorgt. Das hat wohl nicht ausgereicht. Der hat jetzt seine Versorgung direkt und verhält sich nun auch gleich stabiler. Auch die LED zeigen nun deutlicher den Traffic an. Die Wlan Verbindung ist nun auch merklich stabiler und die Meldungen im Log haben sich reduziert.
                                            Mit dem richtigen _Setup wirds bestimmt gut...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            832
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            227
                                            80747
                                            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