Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter sun2000 v0.1.x - Huawei Wechselrichter

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Test Adapter sun2000 v0.1.x - Huawei Wechselrichter

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      baeckerman83 @bahnuhr last edited by

      Hi!
      Ich habe meine PV Anlage gerade neu und baue mir gerade mein Dashboard zusammen. Ich habe einen Huawei WR und Emma. Keine Batterie
      Warum gibt es für die Erzeugung der PV Anlage unterschiedliche Werte?
      Unter Emma:
      Inverter energy yield today
      PV yield today

      Unter collected:
      Daily solar yield

      Welchen dieser Werte sollte ich nehmen? Warum sind die Werte unterschiedlich?

      B 1 Reply Last reply Reply Quote 0
      • B
        bolliy Developer @baeckerman83 last edited by

        @baeckerman83 hier steht etwas im Wiki dazu: https://github.com/bolliy/ioBroker.sun2000/wiki/Energieertrag-(Yield-today)

        Und es wurde auch gerade ein Issue aufgemacht, der auch das Thema beinhaltet.
        https://github.com/bolliy/ioBroker.sun2000/issues/203

        LG Stephan

        schneewa created this issue in bolliy/ioBroker.sun2000

        closed DP 30348 - Total PV energy yield #203

        B 1 Reply Last reply Reply Quote 0
        • B
          baeckerman83 @bolliy last edited by

          @bolliy Aber ich habe ja gar keine Batterie. Was wird dann da abgezogen? Oder sind das die Verluste von DC auf AC?

          B 1 Reply Last reply Reply Quote 0
          • B
            bolliy Developer @baeckerman83 last edited by bolliy

            @baeckerman83 In collected wird eine Zusammenfassung der modbus Register Werte aus allen WR bereitgestellt.

            Im Pfad emma die modbus Register Werte aus der Emma.

            Theoretisch müssten sich die Werte aus der Emma mit dem Pfad collected decken. Was sicher nicht immer gelingt. „Trau keinen Daten, die du nicht selbst gefälscht hast“

            Der ehrlichste Wert für den heutigen Energieertrag ist meines Erachtens
            sun2000.0.collected.dailySolarYield

            Weil dieser DC/AC Verluste berücksichtigt. Für die anderen Werte ist Huawei verantwortlich!

            Die Zusammenhänge sind nicht leicht zu verstehen und werden auch von Huawei nicht ausreichend transparent vermittelt. "Ein Schelm der Böses dabei denkt"

            Stephan

            B 1 Reply Last reply Reply Quote 0
            • B
              baeckerman83 @bolliy last edited by

              @bolliy Danke! Dann nutze ich diesen Wert.

              1 Reply Last reply Reply Quote 0
              • B
                bolliy Developer last edited by bolliy

                Wie funktioniert das AC-Laden und wann benötige ich die Funktion eigentlich:
                https://pvvis.de/know-how-huawei-ac-laden/

                1 Reply Last reply Reply Quote 0
                • C
                  cksoft last edited by

                  Moin.

                  Kann es sein, dass im Emma Modus der Proxy nicht funktioniert? IMHO erhalte ich nur 0 Werte zurück, die Verbindung steht.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bolliy Developer @cksoft last edited by bolliy

                    @cksoft sagte in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:

                    Modus der Proxy nicht funktioniert

                    Kann sein, da ich keine Emma habe konnte ich das nicht testen. Werde mal nachschauen im Code...
                    Was heißt IMHO ?

                    C 2 Replies Last reply Reply Quote -1
                    • C
                      cksoft @bolliy last edited by

                      @bolliy : Danke, top. Ansonsten funktioniert der Adapter auch mit der Emma einwandfrei.

                      IMHO = in my humble opinion = meiner bescheidenen Meinung nach 🙂

                      1 Reply Last reply Reply Quote 0
                      • C
                        cksoft @bolliy last edited by

                        @bolliy vielleicht hilft das.. Bildschirmfoto 2025-10-17 um 10.43.48.png

                        1 Reply Last reply Reply Quote 1
                        • B
                          bolliy Developer last edited by

                          Neue Testversion sun2000 Adapter Version v2.3.0 released.

                          Die Installation erfolgt über npm oder morgen über das Beta Repository.

                          Diesmal gibt es etliche Änderungen. Die reichen vom Starten und Stoppen des Wechselrichters bis zur der Möglichkeit die Batterie(n) über die Emma aus dem Netz zu laden.

                          Viele neue Funktionen sind noch nicht im Wiki dokumentiert. Bitte folgt den Diskussionen aus den Issue- und Diskussions-/Links auf gitHub, die im Changlog zu finden sind.

                          Changelog

                          2.3.0 (2025-10-21)

                          • inverter control: add same state for startup and shutdown an inverter #199
                          • fix: Device status name has been corrected #202
                          • add undocumented device status Shutdown: End of the ESS discharge process
                          • emma control: new state emma.control.battery.ESSControlMode. You can now configure EMMA with TOU-mode (Time of Use) to charge the battery from grid. #200
                          • if an Emma is installed, some control states of the inverter are deactivated (read only). Mainly for the grid settings.
                          • deprecated control states have been removed.
                          • a workaround for issue #582 of node-modbus-serial has been implemented.

                          Have fun testing 😉

                          bahnuhr 3 Replies Last reply Reply Quote 1
                          • bahnuhr
                            bahnuhr Forum Testing Most Active @bolliy last edited by

                            @bolliy

                            in log kommt:

                            host.iobroker
                            2025-10-21 18:35:21.414	info	Restart adapter system.adapter.sun2000.0 because enabled
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	instance system.adapter.sun2000.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at Sun2000.dataPolling (/opt/iobroker/node_modules/iobroker.sun2000/main.js:515:33)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at Emma.updateStates (/opt/iobroker/node_modules/iobroker.sun2000/lib/drivers/driver_base.js:309:4)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at ServiceQueueMap.process (/opt/iobroker/node_modules/iobroker.sun2000/lib/controls/emma_service_queue.js:257:4)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at ServiceQueueMap._init (/opt/iobroker/node_modules/iobroker.sun2000/lib/controls/emma_service_queue.js:140:34)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at Emma.addHoldingRegisters (/opt/iobroker/node_modules/iobroker.sun2000/lib/drivers/driver_base.js:64:16)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: at RegisterMap.set (/opt/iobroker/node_modules/iobroker.sun2000/lib/tools.js:152:30)
                            
                            host.iobroker
                            2025-10-21 18:35:21.414	error	Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'length')
                            
                            host.iobroker
                            2025-10-21 18:35:21.413	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                            
                            sun2000.0
                            2025-10-21 18:35:20.811	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                            
                            sun2000.0
                            2025-10-21 18:35:20.811	info	terminating
                            
                            sun2000.0
                            2025-10-21 18:35:20.810	info	cleaned everything up...
                            
                            sun2000.0
                            2025-10-21 18:35:20.799	error	Cannot read properties of undefined (reading 'length')
                            
                            sun2000.0
                            2025-10-21 18:35:20.799	error	TypeError: Cannot read properties of undefined (reading 'length') at RegisterMap.set (/opt/iobroker/node_modules/iobroker.sun2000/lib/tools.js:152:30) at Emma.addHoldingRegisters (/opt/iobroker/node_modules/iobroker.sun2000/lib/drivers/driver_base.js:64:16) at ServiceQueueMap._init (/opt/iobroker/node_modules/iobroker.sun2000/lib/controls/emma_service_queue.js:140:34) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ServiceQueueMap.process (/opt/iobroker/node_modules/iobroker.sun2000/lib/controls/emma_service_queue.js:257:4) at Emma.updateStates (/opt/iobroker/node_modules/iobroker.sun2000/lib/drivers/driver_base.js:309:4) at Sun2000.dataPolling (/opt/iobroker/node_modules/iobroker.sun2000/main.js:515:33)
                            
                            sun2000.0
                            2025-10-21 18:35:20.796	error	unhandled promise rejection: Cannot read properties of undefined (reading 'length')
                            
                            sun2000.0
                            2025-10-21 18:35:20.796	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                            
                            sun2000.0
                            2025-10-21 18:35:20.716	info	inverter control: Service queue initialized
                            
                            sun2000.0
                            2025-10-21 18:35:20.633	info	inverter control: Service queue initialized
                            
                            sun2000.0
                            2025-10-21 18:35:20.632	info	inverter control: The default TOU setting are transferred to the inverter.
                            
                            1 Reply Last reply Reply Quote 0
                            • bahnuhr
                              bahnuhr Forum Testing Most Active @bolliy last edited by

                              @bolliy

                              Nachtrag:
                              Instanz wird nicht mehr grün !
                              Adapter startet ständig neu.

                              Gehe wieder auf 2.2.0

                              1 Reply Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @bolliy last edited by

                                @bolliy
                                so, downgrade auf 2.2.1
                                -> geht auch nicht, gleicher Fehler wie oben

                                dann downgrade auf 2.2.0
                                -> das läuft wieder, Instanz wird grün

                                1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active last edited by

                                  @bolliy

                                  noch was aufgefallen:
                                  im log kommt:
                                  6dce88db-3897-4986-8640-8b6506075976-image.png

                                  und später dann:
                                  b436096b-3f39-4371-b09e-71fd0dc4c833-image.png

                                  lt. diesen logs ist der inv10 = id 3 und dies wurde dann inv2 zugeordnet !
                                  Bei den DP ist aber der inv10 zugeordnet 0
                                  a0750050-67f8-48cd-b356-d4c76ef3e0c7-image.png
                                  Warum stimmt das log nicht ??

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bolliy Developer last edited by

                                    Neue Testversion sun2000 Adapter Version v2.3.1 released.

                                    Die Installation erfolgt über npm oder morgen über das Beta Repository.

                                    2.3.1 (2025-10-21)

                                    • fix: handle potential null values in set method of RegisterMap

                                    Stephan

                                    bahnuhr 1 Reply Last reply Reply Quote 1
                                    • bahnuhr
                                      bahnuhr Forum Testing Most Active @bolliy last edited by

                                      @bolliy

                                      yes, 2.3.1 wird grün.
                                      Alles ok.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        bolliy Developer @bahnuhr last edited by bolliy

                                        @bahnuhr was steht im Modbus-Wechselrichter-IDs in deiner Konfiguration?

                                        bahnuhr 1 Reply Last reply Reply Quote 0
                                        • bahnuhr
                                          bahnuhr Forum Testing Most Active @bolliy last edited by

                                          @bolliy sagte in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:

                                          @bahnuhr was steht im Modbus-Wechselrichter-IDs in deiner Konfiguration?

                                          meinst du in FS?

                                          Dort steht:
                                          WR 10 = id 3
                                          WR 8 = id 5
                                          WR 6 = id 6

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            bolliy Developer @bahnuhr last edited by

                                            @bahnuhr ich meine hier:
                                            62633243-7972-46ef-9ab9-0bb055e223a7-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            32.3k
                                            Users

                                            81.0k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter emma huawei inverter luna2000 modbus tcp modbus-proxy sdongle smartlogger sun2000
                                            88
                                            1077
                                            295324
                                            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