Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Adapter] cloudfreie Auslesung von Deye-Invertern

    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

    [Adapter] cloudfreie Auslesung von Deye-Invertern

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

      @rene55 Ich habe nun eine Lösung gefunden:

      1. Ich verwende die https://github.com/bagges/deye-esp32-bridge . Habe eine V1 der Platine und diesen RS485 Adapter verbaut. https://www.amazon.de/-/en/dp/B09VGJCJKQ?psc=1&ref=ppx_yo2ov_dt_b_product_details
        Generell geht es auch ohne diese Platine. Markus Bagges arbeitet gerade an einem PCB-Update.
      2. Der RS485 Adapter muss mit 5V versorgt werden
      3. Der ESPHOME Adapter im IOBROKER läuft bei mir nicht sauber. Daher habe ich auf dem ESP32 einen MQTT Client eingerichtet und die API ausgeschaltet.
      #api:
          # password: ""
      
      mqtt:
        broker: 192.168.XXX.XXX
        port: 1887
        topic_prefix: DEYE-12kW-1
        birth_message:
          topic: DEYE-12kW-1/status
          payload: online
        will_message:
          topic: DEYE-12kW-1/status
          payload: offline
      
      

      Mit diesen Einstellungen werden alle Sensoren und Switches automatisch im ioBroker angelegt. Das ist der Hammer. Gratulation an die Entwickler.
      IOBROKER-DEYE.png

      Rene55 1 Reply Last reply Reply Quote 0
      • Rene55
        Rene55 @___manalishi last edited by

        @frank70 Das sieht ja tip-top aus 😊 . Aber da sind wir hier bei einer Hardware-basierten Lösung und sollten den Dialog hierüber in einem separaten Thread fortführen.
        Die Nutzer, die einen "kleinen" Wechselrichter und somit keine Möglichkeit haben, hier diese Lösung zu verwenden, finden sich sonst nicht mehr zu recht.
        Trotzdem Danke für das Aufzeigen der Lösung.

        ___manalishi R 2 Replies Last reply Reply Quote 0
        • ___manalishi
          ___manalishi @Rene55 last edited by

          @rene55 hast recht. hier noch abschliessend mein Bsp zur Steuerung des WR auf Basis der Awattar Daten
          5e299737-7c67-4ce6-b04a-c3f1481d42d6-image.png

          Vielen Dank nochmal für deinen Support!

          1 Reply Last reply Reply Quote 0
          • R
            ralle @Rene55 last edited by

            @rene55

            Hi,

            Ich hab mal den neuen Adapter installiert, musste den heut auch mal neu einlesen und jetzt bekomme ich diverse Warnungen und auch einen Fehler.

            Wie kann ich raus finden wo der Fehler ist....

            2023-04-23 12:41:52.392 - warn: deyeidc.0 (14552) State "deyeidc.0.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:52.437 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:52.845 - error: deyeidc.0 (14552) Error: ControlCode faulty!
            2023-04-23 12:41:53.067 - warn: deyeidc.1 (6577) State "deyeidc.1.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:53.068 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:53.078 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:53.080 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:58.388 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:41:58.492 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:00.108 - info: host.raspberrypi instance system.adapter.solarmanpv.0 started with pid 17007
            2023-04-23 12:42:03.200 - info: solarmanpv.0 (17007) starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.solarmanpv, node: v16.20.0, js-controller: 4.0.24
            2023-04-23 12:42:06.658 - info: solarmanpv.0 (17007) State value to set for "solarmanpv.0.3050628.generationPower" has to be type "string" but received type "number"
            2023-04-23 12:42:09.356 - info: solarmanpv.0 (17007) Terminated (ADAPTER_REQUESTED_TERMINATION): Everything done. Going to terminate till next schedule
            2023-04-23 12:42:09.883 - info: host.raspberrypi instance system.adapter.solarmanpv.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            2023-04-23 12:42:11.048 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:31.005 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 energiefluss.0
            2023-04-23 12:42:31.014 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.017 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.022 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.028 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.030 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 energiefluss.0
            2023-04-23 12:42:31.038 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.041 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.043 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.049 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 flot
            2023-04-23 12:42:31.055 - info: web.0 (1916) <== Disconnect system.user.admin from ::ffff:192.168.1.207 vis.0
            2023-04-23 12:42:48.001 - info: admin.0 (1408) ==> Connected system.user.admin from ::ffff:192.168.1.207
            2023-04-23 12:42:52.389 - warn: deyeidc.0 (14552) State "deyeidc.0.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:52.437 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.034 - warn: deyeidc.1 (6577) State "deyeidc.1.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.080 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.412 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.548 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.704 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:42:53.756 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:06.744 - info: admin.0 (1408) <== Disconnect system.user.admin from ::ffff:192.168.1.207 admin
            2023-04-23 12:43:47.005 - info: admin.0 (1408) <== Disconnect system.user.admin from ::ffff:192.168.1.207 admin
            2023-04-23 12:43:48.237 - info: admin.0 (1408) ==> Connected system.user.admin from ::ffff:192.168.1.207
            2023-04-23 12:43:52.389 - warn: deyeidc.0 (14552) State "deyeidc.0.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:52.395 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:52.826 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:52.916 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:53.036 - warn: deyeidc.1 (6577) State "deyeidc.1.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:53.080 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:53.483 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:53.622 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:43:55.470 - info: admin.0 (1408) <== Disconnect system.user.admin from ::ffff:192.168.1.207
            2023-04-23 12:44:09.670 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:11.122 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:52.391 - warn: deyeidc.0 (14552) State "deyeidc.0.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:52.437 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:52.788 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:52.888 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:53.036 - warn: deyeidc.1 (6577) State "deyeidc.1.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:53.082 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:53.493 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:44:53.571 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:52.391 - warn: deyeidc.0 (14552) State "deyeidc.0.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:52.437 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:52.799 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:52.831 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:53.038 - warn: deyeidc.1 (6577) State "deyeidc.1.info.lastUpdate" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:53.084 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:53.647 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:45:53.811 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:46:09.457 - warn: deyeidc.0 (14552) State "deyeidc.0.info.status" has no existing object, this might lead to an error in future versions
            2023-04-23 12:46:11.117 - warn: deyeidc.1 (6577) State "deyeidc.1.info.status" has no existing object, this might lead to an error in future versions
            
            Rene55 1 Reply Last reply Reply Quote 0
            • Rene55
              Rene55 @ralle last edited by

              @ralle Du hast zwei Instanzen laufen? Ist das so richtig. Die Warnungen sollten eigentlich gar nicht kommen und wenn nur einmal nach dem Start.
              Der Fehler Error: ControlCode faulty! kommt daher, dass der Inverter keine gültigen Daten geschickt hat - sollte sich aber auch gleich zurechtgeruckelt haben.

              R 1 Reply Last reply Reply Quote 0
              • R
                ralle @Rene55 last edited by

                @rene55
                Danke fürs schnelle beantworten.

                Ja, es sind 2 Instanzen, das ist korrekt.

                Hat sich anscheint bis jetzt beruhigt, außer bei der ersten Instanz, da kommt noch immer eine Fehlermeldung......

                2023-04-23 16:47:56.565 - error: deyeidc.0 (17531) Error: ControlCode faulty!
                2023-04-23 16:49:56.562 - error: deyeidc.0 (17531) Error: ControlCode faulty!
                
                Rene55 1 Reply Last reply Reply Quote 0
                • Rene55
                  Rene55 @ralle last edited by

                  @ralle Wie schon gesagt - das liefert der Inverter. Welcher Typ ist das?

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    ralle @Rene55 last edited by

                    @rene55

                    Hi, wie du schon erwähnt hast hat es sich beruhigt.
                    Ich habe aber wie vorher immer noch eine Fehlermeldung!
                    Habe diesen log schon mehrfach gelöscht, er kommt aber immer wieder

                    Wie kann ich rausfinden welcher Code falsch ist.
                    Bei mir laufen 2 Deye600, beide so habe ich kontrolliert mit den gleichen Registern usw....

                    deyeidc.1
                    4733	2023-04-24 15:46:29.211	error	Error: ControlCode faulty!
                    
                    Rene55 1 Reply Last reply Reply Quote 0
                    • Rene55
                      Rene55 @ralle last edited by

                      @ralle Bei jeder Anfrage an den Inverter wird im Inverter ein Controllcode erzeugt, der gegen einen erwarteten Wert geprüft wird. Unter welchen Bedingungen der Code nicht ok ist, habe ich noch nicht finden können.
                      Du kannst daran nichts machen, brauchst also nicht nach irgendeinem Fehler suchen. Es wäre nur interessant zu wissen, wie oft dieser Fehler kommt und dann unter welchen Umständen. Ich denke da an WLAN-Abbruch oder zu häufiges Abfragen oder ähnliches.
                      Übrigens gibt es etwas ähnliches mit der Uhrzeit im Inverter: Error: Offset Time is invalid. Der kommt meist beim Neustart des Inverters am Morgen.

                      R 1 Reply Last reply Reply Quote 0
                      • M
                        MPF last edited by

                        Hi,
                        ich habe gestern ein Update von Version 0.0.4 auf 0.0.5 gemacht.
                        Jetzt verbindet sich der Adapter nicht mehr mit dem Deye.
                        "Verbunden mit Gerät oder Dienst" bleibt rot.
                        Lief mit der 4er Version einwandfrei ?
                        Hab den Adapter auch schon komplett deinstalliert und wieder installiert.

                        1 Reply Last reply Reply Quote 0
                        • G
                          gintonik @wcag22 last edited by

                          Ich konnte meinen Inverter zwar verbinden, bekomme aber keine Daten angezeigt. Woran könnte das liegen?

                          2023-04-29 11_46_12-objects - raspberrypi.jpg

                          JB_Sullivan 1 Reply Last reply Reply Quote 0
                          • JB_Sullivan
                            JB_Sullivan @gintonik last edited by

                            @gintonik Du hast aber bei den Instanz Einstellungen alle ModBus Adressen und Register eingetragen die du angezeigt haben willst?

                            28e173af-7aa5-49c8-88d1-45ad40339ed2-image.png

                            1 Reply Last reply Reply Quote 0
                            • R
                              ralle @Rene55 last edited by ralle

                              @Rene55
                              Hi, hab auch gerade das UPDATE AUF 0.0.5 gemacht, der Adapter verbindet sich nicht mehr mit dem Wechselrichter....

                              deyeidc.0
                              8498	2023-04-29 16:02:26.615	error	Cannot read properties of undefined (reading 'indexOf')
                              
                              deyeidc.0
                              8498	2023-04-29 16:02:26.614	error	TypeError: Cannot read properties of undefined (reading 'indexOf') at mathOperation (/opt/iobroker/node_modules/iobroker.deyeidc/main.js:324:30) at Deyeidc.readComputeAndWatch (/opt/iobroker/node_modules/iobroker.deyeidc/main.js:287:22) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.deyeidc/main.js:186:16)
                              
                              deyeidc.0
                              8498	2023-04-29 16:02:26.613	error	unhandled promise rejection: Cannot read properties of undefined (reading 'indexOf')
                              
                              deyeidc.0
                              8498	2023-04-29 16:02:26.612	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().
                              
                              1 Reply Last reply Reply Quote 0
                              • Rene55
                                Rene55 last edited by Rene55

                                @ralle Eine Änderung besteht in den berechneten Werten (=Compute). Hier gab es vormals 2 Eingabefelder, jetzt gibt es nur noch eins das z.B. so "DV1*DC1" befüllt werden muss.
                                Sorry, hab ich bisher oben noch nicht beschrieben (Hol ich gleich nach). Pass bitte mal deine Computes an, dann sehen wir nochmal weiter.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  ralle @Rene55 last edited by

                                  @rene55
                                  Das war es wohl, nach dem Update waren die Felder leer. derzeit ist der Adapter wieder "grün"

                                  Danke

                                  Rene55 1 Reply Last reply Reply Quote 0
                                  • Rene55
                                    Rene55 @ralle last edited by

                                    @ralle Super. Bitte weiter beobachten und melden. (ist ja noch in Entwicklung 🤒 ).

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

                                      Was hat es eigentlich mit dieser Meldung so auf sich? Ich bin noch bei Adapter Version 0.0.4 (welche Vorteile / Verbesserungen hat die 0.0.5?)

                                      
                                      deyeidc.0
                                      9824	2023-04-30 09:46:54.645	error	Error: ControlCode faulty!
                                      
                                      Rene55 1 Reply Last reply Reply Quote 0
                                      • Rene55
                                        Rene55 @JB_Sullivan last edited by

                                        @jb_sullivan Die Meldung habe ich hier #150 schon mal versucht zu erklären.
                                        Die Verbesserung in der Version 0.0.5 ist nur im Bereich der berechneten Werte zu finden. Hier gibt es quasi eine Ausweitung auf die vier Grundrechenarten. Siehe hierzu auch Post #1.

                                        M 1 Reply Last reply Reply Quote 0
                                        • R
                                          RaMue last edited by RaMue

                                          Hallo rene55,
                                          erst mal danke für die Arbeit,

                                          Ich habe drei Wechselrichter am laufen, funktioniert wunderbar.
                                          Jetzt meine Frage:
                                          gibt es die Möglichkeit über den Adapter die Wirkleistung zu regeln (Nulleinspeisung) ?

                                          Gruß Ralf

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

                                            @RaMue [neuer Adapter] cloudfreie Auslesung von Deye-Invertern:

                                            Wirkleistung zu regeln (Nulleinspeisung)

                                            Hieran arbeite ich noch. Eigentlich war nur vorgesehen, die Maximalleistung zu begrenzen.
                                            Ob ein aktives Nachregeln, angepasst an den aktuellen Verbrauch, so "gesund" für den Wechselrichter ist, ist mir noch nicht klar. Es sähe dann so aus, dass wir ein Register (=EEPROM) beschreiben müssten, welches nur eine gewisse Lebenserwartung hat. Keine Ahnung, wie oft das ist.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            533
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            106
                                            1129
                                            308187
                                            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