Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Praktische Anwendungen (Showcase)
  4. Enphase / Envoy / IQ-Gateway Solar Blockly Skript

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Enphase / Envoy / IQ-Gateway Solar Blockly Skript

Geplant Angeheftet Gesperrt Verschoben Praktische Anwendungen (Showcase)
enphasesolarpv anlageapienvoyiq-gatewayscript
230 Beiträge 16 Kommentatoren 51.2k Aufrufe 14 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D DieWaldfee

    @steffe-s ok, ich setzte das ganze mal in javascript um - ist damit die Vorstufe. sobald ich soweit bin melde ich mich mit nem Upload :blush: Von den Datenpunkten lasse ich alles 1:1 und mache da nur ggf. benötigte Checks (try-catch) rein.
    Ich passe auch gleich die Debug-Ausgaben an, um besser lesbare Meldungen zu erhalten - im Verlauf dieses Verlaufs kommt das ja immer wieder vor.
    Danach würde nur noch TypeScript als Update fehlen - das Buch liegt schon neben meiner Tastatur.
    Soweit zum Start :+1: ...wenns soweit ist, dann bin ich auch soweit firm im vsCode, damit das mit dem Adapter klappen müsste - we will see :grin:

    D Offline
    D Offline
    DieWaldfee
    schrieb am zuletzt editiert von
    #211

    Bin fertig mit dem Javascript. ich lege es auf github ab. der Verlauf hier ist 3km lang und auf GitHub können die Issues besser gehandhabt werden.
    hier der Link: https://github.com/DieWaldfee/Enphase-IQ-Gateway-access

    ...aber bevor ich das da ablege eine wichtige Frage:
    Das Script ist public - wie hier auch und unter der GNU 3.0 Lizenz - free to use. Passt das für dich?

    (Dein Einverständnis ist wichtig, da ich ja auf deiner Basis das Skript erstellt habe - gregoj kann ich nicht mehr fragen ...scheinbar)

    Zum Script:

    • ergänzt sind ein Haufen Fehlermeldungen und Fehlerbehandlungen.
    • ein paar Bugs habe ich noch gefunden
    • ich habe dein "/1000-Skript" nicht integriert, sonder als separates Blockly daneben gestellt. Dieses Blockly habe ich ergänzt, das automatisch die Datenpunkte erzeugt werden.
      => das JS-Script mach das API-handling und stellt die nativen Datenpunkte zur Verfügung.
      => das Blockly macht deine /1000 Berechnung - dafür ist JS zu sperrig, um das mal eben anzupassen für die Masse
    Steffe.S.S NegaleinN 2 Antworten Letzte Antwort
    2
    • Steffe.S.S Steffe.S.

      @diewaldfee :

      prinzipiell wäre ein "Enphase-Adapter" eine coole Sache, aber ich habe 0% (Tendenz gleichbleibend) Plan von einer Adapterprogrammierung.

      Ich bin gerne Dein Alphatester :nerd_face:

      D Offline
      D Offline
      DieWaldfee
      schrieb am zuletzt editiert von
      #212

      @steffe-s ...reply auf mich selbst gemacht... s.o. bin fertig

      1 Antwort Letzte Antwort
      0
      • Steffe.S.S Steffe.S.

        @diewaldfee :

        prinzipiell wäre ein "Enphase-Adapter" eine coole Sache, aber ich habe 0% (Tendenz gleichbleibend) Plan von einer Adapterprogrammierung.

        Ich bin gerne Dein Alphatester :nerd_face:

        D Offline
        D Offline
        DieWaldfee
        schrieb am zuletzt editiert von
        #213

        @steffe-s
        Hier schonmal dein angepasstes Blockly-Skript:
        envoy_blockly.Envoy_Auswertung.txt

        Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
        0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
        in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
        (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
        [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

        Steffe.S.S 3 Antworten Letzte Antwort
        1
        • D DieWaldfee

          Bin fertig mit dem Javascript. ich lege es auf github ab. der Verlauf hier ist 3km lang und auf GitHub können die Issues besser gehandhabt werden.
          hier der Link: https://github.com/DieWaldfee/Enphase-IQ-Gateway-access

          ...aber bevor ich das da ablege eine wichtige Frage:
          Das Script ist public - wie hier auch und unter der GNU 3.0 Lizenz - free to use. Passt das für dich?

          (Dein Einverständnis ist wichtig, da ich ja auf deiner Basis das Skript erstellt habe - gregoj kann ich nicht mehr fragen ...scheinbar)

          Zum Script:

          • ergänzt sind ein Haufen Fehlermeldungen und Fehlerbehandlungen.
          • ein paar Bugs habe ich noch gefunden
          • ich habe dein "/1000-Skript" nicht integriert, sonder als separates Blockly daneben gestellt. Dieses Blockly habe ich ergänzt, das automatisch die Datenpunkte erzeugt werden.
            => das JS-Script mach das API-handling und stellt die nativen Datenpunkte zur Verfügung.
            => das Blockly macht deine /1000 Berechnung - dafür ist JS zu sperrig, um das mal eben anzupassen für die Masse
          Steffe.S.S Online
          Steffe.S.S Online
          Steffe.S.
          schrieb am zuletzt editiert von Steffe.S.
          #214

          @diewaldfee

          von mir aus kannst Du gerne das erweiterte Skript benutzen, nur habe ich (zusammen mit meinem Schwager) die Erweiterung sc_stream ergänzt.

          Der Ursprung ist von @greoj , schreib ihn mal privat an, da hat er mir schnell geantwortet.

          1 Antwort Letzte Antwort
          0
          • D DieWaldfee

            @steffe-s
            Hier schonmal dein angepasstes Blockly-Skript:
            envoy_blockly.Envoy_Auswertung.txt

            Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
            0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
            in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
            (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
            [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

            Steffe.S.S Online
            Steffe.S.S Online
            Steffe.S.
            schrieb am zuletzt editiert von
            #215

            @diewaldfee

            Ich versuche es die Tage mal in einer eigenen Dockerinstanz zu testen, vielen Dank für Deine Mühe 👍

            D 1 Antwort Letzte Antwort
            0
            • Steffe.S.S Steffe.S.

              @diewaldfee

              Ich versuche es die Tage mal in einer eigenen Dockerinstanz zu testen, vielen Dank für Deine Mühe 👍

              D Offline
              D Offline
              DieWaldfee
              schrieb am zuletzt editiert von
              #216

              @steffe-s top!

              Ich habe die javascript-Umsetzung mit Einverständnis von @Steffe-S und @greoj online auf GitHub gestellt unter:
              https://github.com/DieWaldfee/Enphase-IQ-Gateway-access
              Dort ist es einfacher den Code zu verwalten - ggf. Bugs per Issue zu melden und zu fixen.

              feel free to use :blush:

              1 Antwort Letzte Antwort
              1
              • D DieWaldfee

                Bin fertig mit dem Javascript. ich lege es auf github ab. der Verlauf hier ist 3km lang und auf GitHub können die Issues besser gehandhabt werden.
                hier der Link: https://github.com/DieWaldfee/Enphase-IQ-Gateway-access

                ...aber bevor ich das da ablege eine wichtige Frage:
                Das Script ist public - wie hier auch und unter der GNU 3.0 Lizenz - free to use. Passt das für dich?

                (Dein Einverständnis ist wichtig, da ich ja auf deiner Basis das Skript erstellt habe - gregoj kann ich nicht mehr fragen ...scheinbar)

                Zum Script:

                • ergänzt sind ein Haufen Fehlermeldungen und Fehlerbehandlungen.
                • ein paar Bugs habe ich noch gefunden
                • ich habe dein "/1000-Skript" nicht integriert, sonder als separates Blockly daneben gestellt. Dieses Blockly habe ich ergänzt, das automatisch die Datenpunkte erzeugt werden.
                  => das JS-Script mach das API-handling und stellt die nativen Datenpunkte zur Verfügung.
                  => das Blockly macht deine /1000 Berechnung - dafür ist JS zu sperrig, um das mal eben anzupassen für die Masse
                NegaleinN Offline
                NegaleinN Offline
                Negalein
                Global Moderator
                schrieb am zuletzt editiert von
                #217

                @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                => das Blockly macht deine /1000 Berechnung - dafür ist JS zu sperrig, um das mal eben anzupassen für die Masse

                ich finde das Blockly auf Git nicht

                ° Node.js: 20.17.0 NPM: 10.8.2
                ° Proxmox, Ubuntu 22.04.3 LTS
                ° Fixer ---> iob fix

                D 1 Antwort Letzte Antwort
                0
                • D DieWaldfee

                  @steffe-s
                  Hier schonmal dein angepasstes Blockly-Skript:
                  envoy_blockly.Envoy_Auswertung.txt

                  Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                  0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                  in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                  (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                  [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                  Steffe.S.S Online
                  Steffe.S.S Online
                  Steffe.S.
                  schrieb am zuletzt editiert von
                  #218

                  @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                  @steffe-s
                  Hier schonmal dein angepasstes Blockly-Skript:
                  envoy_blockly.Envoy_Auswertung.txt

                  Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                  0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                  in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                  (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                  [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                  @Negalein , hier ist das neue Blockly.....

                  1 Antwort Letzte Antwort
                  2
                  • Steffe.S.S Steffe.S.

                    Hallo zusammen ich habe jetzt noch den Batterie Netzbezug / Batterie Netzeinspeisung mit in die Grafik eingefügt. Daher sind einige Datenpunkte dazugekommen, bzw. verschwunden.

                    11.JPG

                    Ebenfalls habe das Blockly-Skript "Enphase_LiveStatus_durch_1000" angepasst:

                    aktualisiert 09.05.2024

                    Blockly Werte durch 1000 Link Text hier unter Punkt 3

                    aktualisiert 09.05.2024
                    111.JPG

                    Sktipt Enphasedaten Grafik.txt

                    Steffe.S.S Online
                    Steffe.S.S Online
                    Steffe.S.
                    schrieb am zuletzt editiert von Steffe.S.
                    #219


                    @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                    Hallo zusammen ich habe jetzt noch den Batterie Netzbezug / Batterie Netzeinspeisung mit in die Grafik eingefügt. Daher sind einige Datenpunkte dazugekommen, bzw. verschwunden.

                    11.JPG

                    Ebenfalls habe das Blockly-Skript "Enphase_LiveStatus_durch_1000" angepasst:

                    aktualisiert 09.05.2024

                    Blockly Werte durch 1000 Link Text hier unter Punkt 3

                    aktualisiert 09.05.2024
                    111.JPG

                    Sktipt Enphasedaten Grafik.txt

                    @DieWaldfee hier ist die Grafik...

                    1 Antwort Letzte Antwort
                    0
                    • D DieWaldfee

                      @steffe-s
                      Hier schonmal dein angepasstes Blockly-Skript:
                      envoy_blockly.Envoy_Auswertung.txt

                      Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                      0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                      in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                      (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                      [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                      Steffe.S.S Online
                      Steffe.S.S Online
                      Steffe.S.
                      schrieb am zuletzt editiert von Steffe.S.
                      #220


                      @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                      @steffe-s
                      Hier schonmal dein angepasstes Blockly-Skript:
                      envoy_blockly.Envoy_Auswertung.txt

                      Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                      0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                      in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                      (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                      [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                      @DieWaldfee

                      • leider werden Umlaute wie z.B. "über" als "Ã_ber" angezeigt vielleicht sollten wir die Umlaute komplett weg lassen und "ü" als "ue" schreiben

                      EDIT 21:57: Umlaute werden nur nicht richtig umgesetzt, wenn die Datei im Browser geöffnet wird. Die heruntergeladene Version der Datei funktioniert super.

                      • ansonsten funktioniert das Skript auf Github und auch Blockly sehr gut, auch sc_stream funktioniert

                      • kann die Abfragezeit auch 10 sec betragen?

                      D NegaleinN 2 Antworten Letzte Antwort
                      0
                      • Steffe.S.S Online
                        Steffe.S.S Online
                        Steffe.S.
                        schrieb am zuletzt editiert von Steffe.S.
                        #221

                        @DieWaldfee

                        hier ist meine aktuelle VIS, im Bereich Enphase.
                        Diese ist eine Kombination aus:

                        • E-Chart Adapter
                        • Energiefluss-erweitert Adapter
                        • SourceAnalytix Adapter

                        Screenshot 2025-09-29 213951.png

                        D 1 Antwort Letzte Antwort
                        1
                        • Steffe.S.S Steffe.S.


                          @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                          @steffe-s
                          Hier schonmal dein angepasstes Blockly-Skript:
                          envoy_blockly.Envoy_Auswertung.txt

                          Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                          0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                          in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                          (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                          [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                          @DieWaldfee

                          • leider werden Umlaute wie z.B. "über" als "Ã_ber" angezeigt vielleicht sollten wir die Umlaute komplett weg lassen und "ü" als "ue" schreiben

                          EDIT 21:57: Umlaute werden nur nicht richtig umgesetzt, wenn die Datei im Browser geöffnet wird. Die heruntergeladene Version der Datei funktioniert super.

                          • ansonsten funktioniert das Skript auf Github und auch Blockly sehr gut, auch sc_stream funktioniert

                          • kann die Abfragezeit auch 10 sec betragen?

                          D Offline
                          D Offline
                          DieWaldfee
                          schrieb am zuletzt editiert von
                          #222

                          @steffe-s prinzipiell ja - jedoch müssen wir zunächst die refresh rate der Daten ermitteln.

                          vom Prinzip der code für die Minuten (wie im Skript):

                          if (pollingInterval < 1) pollingInterval = 1;
                          if (pollingInterval > 30) pollingInterval = 30;
                          let pollingCron = `*/${pollingInterval} * * * *`;
                          

                          hier die Variante (ungetestet) für Sekunden:

                          let pollingIntervalSec = 10; // Polling interval in seconds (min: 10, max: 1800)
                          if (pollingIntervalSec < 10) pollingIntervalSec = 10;
                          if (pollingIntervalSec > 1800) pollingIntervalSec = 1800;
                          let pollingCron = `*/${pollingIntervalSec} * * * * *`; // Cron with seconds precision
                          

                          cron kann das - wie sinnvoll es ist hängt allein von der Verfügbarkeit der Daten ab.

                          wenn du das testest kannst du auf Github ein issue aufmachen und deine Erfahrungen dort posten.
                          wenn alles klappt ist das eine kleine Veränderung :-)

                          Steffe.S.S 1 Antwort Letzte Antwort
                          0
                          • Steffe.S.S Steffe.S.

                            @DieWaldfee

                            hier ist meine aktuelle VIS, im Bereich Enphase.
                            Diese ist eine Kombination aus:

                            • E-Chart Adapter
                            • Energiefluss-erweitert Adapter
                            • SourceAnalytix Adapter

                            Screenshot 2025-09-29 213951.png

                            D Offline
                            D Offline
                            DieWaldfee
                            schrieb am zuletzt editiert von
                            #223

                            @steffe-s sieht cool aus! hast du die Basis downloadable?

                            1 Antwort Letzte Antwort
                            0
                            • NegaleinN Negalein

                              @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                              => das Blockly macht deine /1000 Berechnung - dafür ist JS zu sperrig, um das mal eben anzupassen für die Masse

                              ich finde das Blockly auf Git nicht

                              D Offline
                              D Offline
                              DieWaldfee
                              schrieb am zuletzt editiert von
                              #224

                              @negalein, @Steffe-S : wir können das Blockly auch im Github ein Verzeichnis sponsern:
                              vielleicht "examples"? was meint ihr?

                              NegaleinN 1 Antwort Letzte Antwort
                              0
                              • D DieWaldfee

                                @negalein, @Steffe-S : wir können das Blockly auch im Github ein Verzeichnis sponsern:
                                vielleicht "examples"? was meint ihr?

                                NegaleinN Offline
                                NegaleinN Offline
                                Negalein
                                Global Moderator
                                schrieb am zuletzt editiert von
                                #225

                                @diewaldfee

                                ja, wäre sicher gut. Hier geht es sonst unter.

                                ° Node.js: 20.17.0 NPM: 10.8.2
                                ° Proxmox, Ubuntu 22.04.3 LTS
                                ° Fixer ---> iob fix

                                1 Antwort Letzte Antwort
                                0
                                • Steffe.S.S Steffe.S.


                                  @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                  @steffe-s
                                  Hier schonmal dein angepasstes Blockly-Skript:
                                  envoy_blockly.Envoy_Auswertung.txt

                                  Den SC_Stream_Status habe ich von der 0&10-Lösung auf einen state umgebaut.
                                  0 und 10 kommen in meinem Javascript nicht mehr raus - den Status lässt sich viel einfacher
                                  in diesem Blocky transferieren. Damit ist jetzt das Blockly soweit unabhängig vom API-Skript.
                                  (API-Skript kümmert sich um die API und das Blockly nimmt daraus Werte heraus und stellt diese
                                  [in Watt statt milliWatt] tranformiert dar. Ne runde Sache jetzt.

                                  @DieWaldfee

                                  • leider werden Umlaute wie z.B. "über" als "Ã_ber" angezeigt vielleicht sollten wir die Umlaute komplett weg lassen und "ü" als "ue" schreiben

                                  EDIT 21:57: Umlaute werden nur nicht richtig umgesetzt, wenn die Datei im Browser geöffnet wird. Die heruntergeladene Version der Datei funktioniert super.

                                  • ansonsten funktioniert das Skript auf Github und auch Blockly sehr gut, auch sc_stream funktioniert

                                  • kann die Abfragezeit auch 10 sec betragen?

                                  NegaleinN Offline
                                  NegaleinN Offline
                                  Negalein
                                  Global Moderator
                                  schrieb am zuletzt editiert von
                                  #226

                                  @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                  kann die Abfragezeit auch 10 sec betragen?

                                  wäre cool, bzw. mir würden 30 Sek. reichen. Dann kann ich sie annähernd gleich mit der Fronius abfragen.

                                  ° Node.js: 20.17.0 NPM: 10.8.2
                                  ° Proxmox, Ubuntu 22.04.3 LTS
                                  ° Fixer ---> iob fix

                                  D 1 Antwort Letzte Antwort
                                  0
                                  • NegaleinN Negalein

                                    @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                    kann die Abfragezeit auch 10 sec betragen?

                                    wäre cool, bzw. mir würden 30 Sek. reichen. Dann kann ich sie annähernd gleich mit der Fronius abfragen.

                                    D Offline
                                    D Offline
                                    DieWaldfee
                                    schrieb am zuletzt editiert von
                                    #227

                                    @negalein lass uns die Diskussion auf Github verlagern. mache ein issue auf.
                                    ich füge das Blockly bei Github hinzu

                                    1 Antwort Letzte Antwort
                                    1
                                    • D DieWaldfee

                                      @steffe-s prinzipiell ja - jedoch müssen wir zunächst die refresh rate der Daten ermitteln.

                                      vom Prinzip der code für die Minuten (wie im Skript):

                                      if (pollingInterval < 1) pollingInterval = 1;
                                      if (pollingInterval > 30) pollingInterval = 30;
                                      let pollingCron = `*/${pollingInterval} * * * *`;
                                      

                                      hier die Variante (ungetestet) für Sekunden:

                                      let pollingIntervalSec = 10; // Polling interval in seconds (min: 10, max: 1800)
                                      if (pollingIntervalSec < 10) pollingIntervalSec = 10;
                                      if (pollingIntervalSec > 1800) pollingIntervalSec = 1800;
                                      let pollingCron = `*/${pollingIntervalSec} * * * * *`; // Cron with seconds precision
                                      

                                      cron kann das - wie sinnvoll es ist hängt allein von der Verfügbarkeit der Daten ab.

                                      wenn du das testest kannst du auf Github ein issue aufmachen und deine Erfahrungen dort posten.
                                      wenn alles klappt ist das eine kleine Veränderung :-)

                                      Steffe.S.S Online
                                      Steffe.S.S Online
                                      Steffe.S.
                                      schrieb am zuletzt editiert von
                                      #228

                                      @diewaldfee sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                      @steffe-s prinzipiell ja - jedoch müssen wir zunächst die refresh rate der Daten ermitteln.

                                      vom Prinzip der code für die Minuten (wie im Skript):

                                      if (pollingInterval < 1) pollingInterval = 1;
                                      if (pollingInterval > 30) pollingInterval = 30;
                                      let pollingCron = `*/${pollingInterval} * * * *`;
                                      

                                      hier die Variante (ungetestet) für Sekunden:

                                      let pollingIntervalSec = 10; // Polling interval in seconds (min: 10, max: 1800)
                                      if (pollingIntervalSec < 10) pollingIntervalSec = 10;
                                      if (pollingIntervalSec > 1800) pollingIntervalSec = 1800;
                                      let pollingCron = `*/${pollingIntervalSec} * * * * *`; // Cron with seconds precision
                                      

                                      cron kann das - wie sinnvoll es ist hängt allein von der Verfügbarkeit der Daten ab.

                                      wenn du das testest kannst du auf Github ein issue aufmachen und deine Erfahrungen dort posten.
                                      wenn alles klappt ist das eine kleine Veränderung :-)

                                      funktioniert, jedoch muss im JS-Adapter

                                      Screenshot 2025-09-30 204549.png

                                      auf 10000 gestellt werden. Wie beim Ursprungsskript

                                      1 Antwort Letzte Antwort
                                      1
                                      • Steffe.S.S Steffe.S.

                                        @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        @negalein sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        @esmax666 sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        wow Das Bild ist wirklich nice gibt es auch template ?

                                        ich schick dir später Screenshots meiner Settings vom "Energiefluss-Adapter

                                        eigentlich kann ich ja auch alles so lassen und Du entfernst die Datenpunkte in den Verbindungen im Energieflussadapter. Danach die Datenpunkte löschen und mit Deinen füllen und dann wieder neu zuweisen

                                        Das orangene Haus wird bei mir auch rot, wenn die sc-stream Verbindung disabled ist.

                                        In der Datei ist mein komplettes Skript aus dem Energieflussadapter erweitert.

                                        BITTE MACH VORHER EIN BACKUP, DA ICH KEINE AHNUNG HABE, WAS ALLES BEI IMPORTIEREN PASSIERT / GELÖSCHT WIRD. AM BESTEN EIN KOMPLETTES IOBROKERBACKUP

                                        Screenshot_20240424_124811.jpg

                                        Das Netzsymbol ändert sich bei Bezug

                                        Screenshot_20240424_132100.jpg

                                        Das Netzsymbol ändert sich bei Einspeisung

                                        Skript Enphasedaten Grafik

                                        kann hier jemand erklären, wie ich das einspielen kann (habe dazu auch schon eine Frage an die Entwickler gestellt)???

                                        edit: hier die Antwort

                                        Du kannst die Conf Datei bei deinem freund importieren und anschließend anpassen über die bearbeitungsfunktion

                                        Energiefluss erweitert adapter in den Objekten auswählen
                                        Die Instance auswählen
                                        configuration auswählen und die Json kopieren (Rechtsklick in der Json, alles auswählen, kopieren)

                                        1714028270710-screenshot_3.jpg

                                        Die Instanzen müssen die gleiche Nummer haben 1,2,3 oder so
                                        oder du kannst die auch in der Json anpassen bevor du diese importierst
                                        Dann bei deinem Freund einfügen

                                        Steffe.S.S Online
                                        Steffe.S.S Online
                                        Steffe.S.
                                        schrieb am zuletzt editiert von Steffe.S.
                                        #229

                                        @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        @steffe-s sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        @negalein sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        @esmax666 sagte in Enphase / Envoy / IQ-Gateway Solar Blockly Skript:

                                        wow Das Bild ist wirklich nice gibt es auch template ?

                                        ich schick dir später Screenshots meiner Settings vom "Energiefluss-Adapter

                                        eigentlich kann ich ja auch alles so lassen und Du entfernst die Datenpunkte in den Verbindungen im Energieflussadapter. Danach die Datenpunkte löschen und mit Deinen füllen und dann wieder neu zuweisen

                                        Das orangene Haus wird bei mir auch rot, wenn die sc-stream Verbindung disabled ist.

                                        In der Datei ist mein komplettes Skript aus dem Energieflussadapter erweitert.

                                        BITTE MACH VORHER EIN BACKUP, DA ICH KEINE AHNUNG HABE, WAS ALLES BEI IMPORTIEREN PASSIERT / GELÖSCHT WIRD. AM BESTEN EIN KOMPLETTES IOBROKERBACKUP

                                        Screenshot_20240424_124811.jpg

                                        Das Netzsymbol ändert sich bei Bezug

                                        Screenshot_20240424_132100.jpg

                                        Das Netzsymbol ändert sich bei Einspeisung

                                        Skript Enphasedaten Grafik

                                        kann hier jemand erklären, wie ich das einspielen kann (habe dazu auch schon eine Frage an die Entwickler gestellt)???

                                        edit: hier die Antwort

                                        Du kannst die Conf Datei bei deinem freund importieren und anschließend anpassen über die bearbeitungsfunktion

                                        Energiefluss erweitert adapter in den Objekten auswählen
                                        Die Instance auswählen
                                        configuration auswählen und die Json kopieren (Rechtsklick in der Json, alles auswählen, kopieren)

                                        1714028270710-screenshot_3.jpg

                                        Die Instanzen müssen die gleiche Nummer haben 1,2,3 oder so
                                        oder du kannst die auch in der Json anpassen bevor du diese importierst
                                        Dann bei deinem Freund einfügen

                                        @DieWaldfee

                                        hier der Energieflussadapter erweitert mit dem neuen SC_Stream Datenpunkt:

                                        {
                                          "basic": {
                                            "enable_grid": true,
                                            "enable_animation": true,
                                            "enable_area_catch": true,
                                            "enable_config_icon": true,
                                            "enable_last_id": false,
                                            "enable_icon_proxy": false,
                                            "enable_low_performance": false,
                                            "height": 340,
                                            "width": 388,
                                            "styles": "",
                                            "font": {
                                              "family": "\"Arial\", sans-serif",
                                              "size": "15",
                                              "color": "",
                                              "fill": "",
                                              "align": "middle"
                                            },
                                            "rect": {
                                              "height": 100,
                                              "width": 100,
                                              "corners": 10
                                            },
                                            "circle": {
                                              "radius": 50
                                            },
                                            "elm": {
                                              "stroke_width": 5,
                                              "color": "",
                                              "fill": "",
                                              "pos_x": 50,
                                              "pos_y": 50
                                            },
                                            "icon": {
                                              "height": 24,
                                              "width": 24,
                                              "color": ""
                                            },
                                            "background_color": "#000000",
                                            "tourVisited": true
                                          },
                                          "calculation": {
                                            "battery": {
                                              "dod": null,
                                              "capacity": null,
                                              "percent": null,
                                              "charge": null,
                                              "charge_prop": false,
                                              "charge_kw": false,
                                              "discharge": null,
                                              "discharge_prop": true,
                                              "discharge_kw": false
                                            },
                                            "consumption": {
                                              "production": [
                                                -1
                                              ],
                                              "production_kw": false,
                                              "gridFeed": null,
                                              "gridFeed_kw": false,
                                              "gridFeed_prop": false,
                                              "gridConsume": null,
                                              "gridConsume_kw": false,
                                              "gridConsume_prop": false,
                                              "batteryCharge": null,
                                              "batteryCharge_kw": false,
                                              "batteryCharge_prop": false,
                                              "batteryDischarge": null,
                                              "batteryDischarge_kw": false,
                                              "batteryDischarge_prop": false
                                            }
                                          },
                                          "animation": {
                                            "stroke": "#ffce4a",
                                            "stroke_dasharray": "1  135",
                                            "stroke_width": 7,
                                            "animation_duration": 2000,
                                            "stroke_linecap": "round",
                                            "animation_timing_function": "linear"
                                          },
                                          "animation_configuration": {
                                            "dots": 1,
                                            "distance": 10,
                                            "length": 1
                                          },
                                          "line": {
                                            "stroke_width": 2,
                                            "stroke": "#000000"
                                          },
                                          "elements": {
                                            "10": {
                                              "position": 14,
                                              "type": "text",
                                              "id": 10,
                                              "pos_x": 150,
                                              "pos_y": 12,
                                              "color": "none",
                                              "fill": "rgb(0, 181, 221)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Produktion",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "27": {
                                              "position": 13,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 27,
                                              "pos_x": 340,
                                              "pos_y": 211,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 27",
                                              "unit": "W",
                                              "source": -1,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 0,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "33": {
                                              "position": 12,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 33,
                                              "pos_x": 343,
                                              "pos_y": 110,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 33",
                                              "unit": "W",
                                              "source": 18,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 1,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "37": {
                                              "position": 11,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 37,
                                              "pos_x": 247,
                                              "pos_y": 211,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 37",
                                              "unit": "W",
                                              "source": 18,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 1,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "43": {
                                              "position": 10,
                                              "type": "text",
                                              "id": 43,
                                              "pos_x": 50,
                                              "pos_y": 227,
                                              "color": "none",
                                              "fill": "rgb(167, 179, 209)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Energienetz",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "62": {
                                              "position": 9,
                                              "type": "text",
                                              "id": 62,
                                              "pos_x": 247,
                                              "pos_y": 227,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Verbrauch",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "68": {
                                              "position": 8,
                                              "type": "icon",
                                              "id": "68",
                                              "icon": "octicon:sun-24",
                                              "width": 35,
                                              "height": 35,
                                              "color": "rgb(0, 181, 221)",
                                              "pos_x": "133",
                                              "pos_y": "52",
                                              "shadow": "",
                                              "source": -1,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none"
                                            },
                                            "69": {
                                              "position": 7,
                                              "type": "circle",
                                              "id": 69,
                                              "radius": 30,
                                              "pos_x": 340,
                                              "pos_y": 69,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(221, 123, 26)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0
                                            },
                                            "75": {
                                              "position": 6,
                                              "type": "circle",
                                              "id": 75,
                                              "radius": 30,
                                              "pos_x": 340,
                                              "pos_y": 169,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(221, 123, 26)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0
                                            },
                                            "76": {
                                              "position": 7,
                                              "type": "icon",
                                              "id": "76",
                                              "icon": "carbon:home",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(221, 123, 26)",
                                              "pos_x": "324",
                                              "pos_y": "53",
                                              "shadow": "",
                                              "source": -1,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none"
                                            },
                                            "77": {
                                              "position": 6,
                                              "type": "icon",
                                              "id": "77",
                                              "icon": "material-symbols:heat-sharp",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(221, 123, 26)",
                                              "pos_x": "324",
                                              "pos_y": "153",
                                              "shadow": "",
                                              "source": -1,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none"
                                            },
                                            "79": {
                                              "position": 5,
                                              "type": "circle",
                                              "id": 79,
                                              "radius": 30,
                                              "pos_x": 247,
                                              "pos_y": 169,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(221, 123, 26)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0,
                                              "override": {
                                                ">1": {
                                                  "display": "none"
                                                },
                                                "<1": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "80": {
                                              "position": 5,
                                              "type": "icon",
                                              "id": "80",
                                              "icon": "mdi:house-city",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(221, 123, 26)",
                                              "pos_x": 230.5,
                                              "pos_y": 152.5,
                                              "shadow": "",
                                              "source": 25,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none",
                                              "override": {
                                                "0": {
                                                  "display": "none"
                                                },
                                                "1": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "81": {
                                              "position": 4,
                                              "type": "circle",
                                              "id": 81,
                                              "radius": 30,
                                              "pos_x": 340,
                                              "pos_y": 270,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(221, 123, 26)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0
                                            },
                                            "83": {
                                              "position": 4,
                                              "type": "icon",
                                              "id": "83",
                                              "icon": "material-symbols:electric-car-outline",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(221, 123, 26)",
                                              "pos_x": "324",
                                              "pos_y": "254",
                                              "shadow": "",
                                              "source": -1,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none"
                                            },
                                            "84": {
                                              "position": 3,
                                              "type": "circle",
                                              "id": 84,
                                              "radius": 30,
                                              "pos_x": 150,
                                              "pos_y": 69,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(0, 181, 221)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0
                                            },
                                            "85": {
                                              "position": 1,
                                              "type": "circle",
                                              "id": 85,
                                              "radius": 30,
                                              "pos_x": 150,
                                              "pos_y": 270,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(87, 221, 46)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": -1,
                                              "threshold": 0
                                            },
                                            "86": {
                                              "position": 8,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 86,
                                              "pos_x": 150,
                                              "pos_y": 311,
                                              "color": "none",
                                              "fill": "rgb(87, 221, 46)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 86",
                                              "unit": "W",
                                              "source": 24,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 1,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "87": {
                                              "position": 7,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 87,
                                              "pos_x": 147,
                                              "pos_y": 28,
                                              "color": "none",
                                              "fill": "rgb(0, 181, 221)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 87",
                                              "unit": "W",
                                              "source": 0,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 1,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "88": {
                                              "position": 0,
                                              "type": "circle",
                                              "id": 88,
                                              "radius": 30,
                                              "pos_x": 50,
                                              "pos_y": 169,
                                              "fill": "rgb(0, 0, 0)",
                                              "color": "rgb(167, 179, 209)",
                                              "stroke": 2,
                                              "shadow": "rgba(0, 0, 0, 0.7)",
                                              "frame": "_overlay",
                                              "fill_type": -1,
                                              "fill_direction": 90,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": 3,
                                              "threshold": 0
                                            },
                                            "89": {
                                              "position": 6,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 89,
                                              "pos_x": 50,
                                              "pos_y": 211,
                                              "color": "none",
                                              "fill": "rgb(167, 179, 209)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 89",
                                              "unit": "W",
                                              "source": 3,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 1,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "91": {
                                              "position": 5,
                                              "type": "text",
                                              "id": 91,
                                              "pos_x": 150,
                                              "pos_y": 327,
                                              "color": "none",
                                              "fill": "rgb(87, 221, 46)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "Batterie",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "92": {
                                              "position": 3,
                                              "type": "icon",
                                              "id": "92",
                                              "icon": "mdi:electricity-from-grid",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(167, 179, 209)",
                                              "pos_x": "34",
                                              "pos_y": "153",
                                              "shadow": "",
                                              "source": 3,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "93": {
                                              "position": 4,
                                              "type": "text",
                                              "id": 93,
                                              "pos_x": 340,
                                              "pos_y": 227,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Heizung",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "94": {
                                              "position": 3,
                                              "type": "text",
                                              "id": 94,
                                              "pos_x": 343,
                                              "pos_y": 125,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Haus",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "95": {
                                              "position": 2,
                                              "type": "text",
                                              "id": 95,
                                              "pos_x": 337,
                                              "pos_y": 327,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "Wallbox",
                                              "shadow": "",
                                              "frame": "_overlay"
                                            },
                                            "97": {
                                              "position": 2,
                                              "type": "icon",
                                              "id": "97",
                                              "icon": "mdi:electricity-to-grid",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(167, 179, 209)",
                                              "pos_x": "34",
                                              "pos_y": "153",
                                              "shadow": "",
                                              "source": 3,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none",
                                              "override": {
                                                ">0": {
                                                  "display": "none"
                                                },
                                                "<0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "108": {
                                              "position": 1,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 108,
                                              "pos_x": 150,
                                              "pos_y": 283,
                                              "color": "none",
                                              "fill": "rgb(87, 221, 46)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 14,
                                              "align": "middle",
                                              "text": "ID 108",
                                              "unit": "%",
                                              "source": 1,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "none",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 0,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "110": {
                                              "position": 0,
                                              "type": "icon",
                                              "id": "110",
                                              "icon": "mdi:house-city",
                                              "width": 33,
                                              "height": 33,
                                              "color": "rgb(221, 0, 0)",
                                              "pos_x": 230.5,
                                              "pos_y": 152.5,
                                              "shadow": "",
                                              "source": 25,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none",
                                              "override": {
                                                "0": {
                                                  "display": "inline"
                                                },
                                                "1": {
                                                  "display": "none"
                                                }
                                              }
                                            },
                                            "111": {
                                              "position": 0,
                                              "type": "text",
                                              "subType": "datasource",
                                              "id": 111,
                                              "pos_x": 337,
                                              "pos_y": 311,
                                              "color": "none",
                                              "fill": "rgb(221, 123, 26)",
                                              "font_family": "Arial, sans-serif",
                                              "font_size": 15,
                                              "align": "middle",
                                              "text": "ID 111",
                                              "unit": "W",
                                              "source": -1,
                                              "source_option": -1,
                                              "source_display": "value",
                                              "shadow": "",
                                              "threshold": 0,
                                              "calculate_kw": "auto",
                                              "counter_animation": false,
                                              "convert": false,
                                              "decimal_places": 0,
                                              "action": "none",
                                              "subtract": [
                                                -1
                                              ],
                                              "add": [
                                                -1
                                              ],
                                              "frame": "_overlay"
                                            },
                                            "112": {
                                              "position": 1,
                                              "type": "icon",
                                              "id": "112",
                                              "icon": "f7:battery-0",
                                              "width": 39,
                                              "height": 33,
                                              "color": "rgb(87, 221, 46)",
                                              "pos_x": "131",
                                              "pos_y": "246",
                                              "shadow": "",
                                              "source": 1,
                                              "threshold": 0,
                                              "frame": "_overlay",
                                              "action": "none",
                                              "override": {}
                                            },
                                            "113": {
                                              "position": 2,
                                              "type": "rect",
                                              "id": 113,
                                              "rx": 3,
                                              "height": 14,
                                              "width": 26,
                                              "pos_x": 136,
                                              "pos_y": 256,
                                              "fill": "none",
                                              "color": "rgb(87, 221, 46)",
                                              "stroke": 1,
                                              "shadow": "",
                                              "frame": "_overlay",
                                              "fill_value": "rgb(87,221,46)",
                                              "fill_type": "value",
                                              "fill_direction": 180,
                                              "fill_max": 100,
                                              "border_type": -1,
                                              "border_direction": "cw",
                                              "border_style": "round",
                                              "border_reverse": false,
                                              "border_start": 180,
                                              "source": 1,
                                              "threshold": 0,
                                              "override": {}
                                            }
                                          },
                                          "defs": {
                                            "path_79_69": {
                                              "type": "def",
                                              "id": "path_79_69",
                                              "d": "M276.1907786235773 158.73939570022995  H 282.9907786235773 A 15 15 0 0 0 297.9907786235773 143.73939570022995  V 94.26060429977007 A 15 15 0 0 1 312.9907786235773 79.26060429977007  H 310.8092213764227",
                                              "startSlot": "right_top",
                                              "endSlot": "left_bottom"
                                            },
                                            "path_79_75": {
                                              "type": "def",
                                              "id": "path_79_75",
                                              "d": "M278 169  H 309",
                                              "startSlot": "right",
                                              "endSlot": "left"
                                            },
                                            "path_84_79": {
                                              "type": "def",
                                              "id": "path_84_79",
                                              "d": "M160.26060429977008 98.19077862357724  V 110.19077862357724   V 143.73939570022995 A 15 15 0 0 0 175.26060429977008 158.73939570022995  H 217.80922137642276",
                                              "startSlot": "bottom_right",
                                              "endSlot": "left_top"
                                            },
                                            "path_85_79": {
                                              "type": "def",
                                              "id": "path_85_79",
                                              "d": "M160.26060429977008 240.80922137642276  V 228.60922137642277   V 194.26060429977008 A 15 15 0 0 1 175.26060429977008 179.26060429977008  H 217.80922137642276",
                                              "startSlot": "top_right",
                                              "endSlot": "left_bottom"
                                            },
                                            "path_84_85": {
                                              "type": "def",
                                              "id": "path_84_85",
                                              "d": "M150 100  V 239",
                                              "startSlot": "bottom",
                                              "endSlot": "top"
                                            },
                                            "path_84_88": {
                                              "type": "def",
                                              "id": "path_84_88",
                                              "d": "M139.73939570022995 98.19077862357724  V 110.19077862357724   V 143.73939570022995 A 15 15 0 0 1 124.73939570022995 158.73939570022995  H 79.19077862357724",
                                              "startSlot": "bottom_left",
                                              "endSlot": "right_top"
                                            },
                                            "path_88_79": {
                                              "type": "def",
                                              "id": "path_88_79",
                                              "d": "M81 169  H 216",
                                              "startSlot": "right",
                                              "endSlot": "left"
                                            },
                                            "path_79_81": {
                                              "type": "def",
                                              "id": "path_79_81",
                                              "d": "M276.1907786235773 179.26060429977005  H 282.9907786235773 A 15 15 0 0 1 297.9907786235773 194.26060429977005  V 244.73939570022992 A 15 15 0 0 0 312.9907786235773 259.7393957002299  H 310.8092213764227",
                                              "startSlot": "right_bottom",
                                              "endSlot": "left_top"
                                            },
                                            "path_85_88": {
                                              "type": "def",
                                              "id": "path_85_88",
                                              "d": "M139.73939570022992 240.80922137642276  V 228.60922137642277   V 194.26060429977005 A 15 15 0 0 0 124.73939570022992 179.26060429977005  H 79.19077862357724",
                                              "startSlot": "top_left",
                                              "endSlot": "right_bottom"
                                            }
                                          },
                                          "lines": {
                                            "line_path_79_69": {
                                              "type": "line",
                                              "id": "line_path_79_69",
                                              "href": "#path_79_69",
                                              "color": "rgb(221, 123, 26)",
                                              "shadow": ""
                                            },
                                            "line_path_79_75": {
                                              "type": "line",
                                              "id": "line_path_79_75",
                                              "href": "#path_79_75",
                                              "color": "rgb(221, 123, 26)",
                                              "shadow": "",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">1": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_84_79": {
                                              "type": "line",
                                              "id": "line_path_84_79",
                                              "href": "#path_84_79",
                                              "color": "rgb(0, 181, 221)",
                                              "shadow": "",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_85_79": {
                                              "type": "line",
                                              "id": "line_path_85_79",
                                              "href": "#path_85_79",
                                              "color": "rgb(87, 221, 46)",
                                              "shadow": "",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_84_85": {
                                              "type": "line",
                                              "id": "line_path_84_85",
                                              "href": "#path_84_85",
                                              "color": "rgb(0, 181, 221)",
                                              "shadow": "",
                                              "override": {
                                                ">-1": {
                                                  "display": "none"
                                                },
                                                "<0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_84_88": {
                                              "type": "line",
                                              "id": "line_path_84_88",
                                              "href": "#path_84_88",
                                              "color": "rgb(0, 181, 221)",
                                              "shadow": "",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_88_79": {
                                              "type": "line",
                                              "id": "line_path_88_79",
                                              "href": "#path_88_79",
                                              "color": "rgb(167, 179, 209)",
                                              "shadow": "",
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "line_path_85_88": {
                                              "type": "line",
                                              "id": "line_path_85_88",
                                              "href": "#path_85_88",
                                              "color": "rgb(87, 221, 46)",
                                              "shadow": "",
                                              "override": {
                                                "==0": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                },
                                                "<0": {
                                                  "display": "inline"
                                                }
                                              },
                                              "position": 1
                                            },
                                            "line_path_79_81": {
                                              "type": "line",
                                              "id": "line_path_79_81",
                                              "href": "#path_79_81",
                                              "color": "rgb(221, 123, 26)",
                                              "shadow": ""
                                            }
                                          },
                                          "animations": {
                                            "anim_path_79_69": {
                                              "type": "animation",
                                              "id": "anim_path_79_69",
                                              "href": "#path_79_69",
                                              "color": "rgb(221, 123, 26)",
                                              "source": 18,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1
                                            },
                                            "anim_path_79_75": {
                                              "type": "animation",
                                              "id": "anim_path_79_75",
                                              "href": "#path_79_75",
                                              "color": "rgb(221, 123, 26)",
                                              "source": -1,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1
                                            },
                                            "anim_path_84_79": {
                                              "type": "animation",
                                              "id": "anim_path_84_79",
                                              "href": "#path_84_79",
                                              "color": "rgb(0, 181, 221)",
                                              "source": 0,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1,
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "anim_path_85_79": {
                                              "type": "animation",
                                              "id": "anim_path_85_79",
                                              "href": "#path_85_79",
                                              "color": "rgb(87, 221, 46)",
                                              "source": 24,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1,
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "anim_path_84_85": {
                                              "type": "animation",
                                              "id": "anim_path_84_85",
                                              "href": "#path_84_85",
                                              "color": "rgb(0, 181, 221)",
                                              "source": 22,
                                              "threshold": 0,
                                              "animation_properties": "negative",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1,
                                              "override": {
                                                ">-1": {
                                                  "display": "none"
                                                },
                                                "<0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "anim_path_84_88": {
                                              "type": "animation",
                                              "id": "anim_path_84_88",
                                              "href": "#path_84_88",
                                              "color": "rgb(0, 181, 221)",
                                              "source": 19,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1,
                                              "override": {
                                                "<1": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                }
                                              }
                                            },
                                            "anim_path_88_79": {
                                              "type": "animation",
                                              "id": "anim_path_88_79",
                                              "href": "#path_88_79",
                                              "color": "rgb(167, 179, 209)",
                                              "source": 3,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1
                                            },
                                            "anim_path_79_81": {
                                              "type": "animation",
                                              "id": "anim_path_79_81",
                                              "href": "#path_79_81",
                                              "color": "rgb(221, 123, 26)",
                                              "source": -1,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": false,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1
                                            },
                                            "anim_path_85_88": {
                                              "type": "animation",
                                              "id": "anim_path_85_88",
                                              "href": "#path_85_88",
                                              "color": "rgb(87, 221, 46)",
                                              "source": 23,
                                              "threshold": 0,
                                              "animation_properties": "positive",
                                              "animation_option": true,
                                              "dots": 0,
                                              "duration": 0,
                                              "power": 0,
                                              "animation_type": -1,
                                              "override": {
                                                "==0": {
                                                  "display": "none"
                                                },
                                                ">0": {
                                                  "display": "inline"
                                                },
                                                "<0": {
                                                  "display": "inline"
                                                }
                                              }
                                            }
                                          },
                                          "datasources": {
                                            "0": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.PV-Erzeugung",
                                              "alias": "PV - Erzeugung",
                                              "factor": 1
                                            },
                                            "1": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Batteriekapazität",
                                              "alias": "Batteriekapazität",
                                              "factor": 1
                                            },
                                            "3": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Energienetz",
                                              "alias": "Netzbezug / Einspeisung",
                                              "factor": 1
                                            },
                                            "18": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Hausverbrauch",
                                              "alias": "Hausverbrauch",
                                              "factor": 1
                                            },
                                            "19": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Einspeisung",
                                              "alias": "Einspeisung",
                                              "factor": 1
                                            },
                                            "22": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Batterieladung_über_PV",
                                              "alias": "Batterieladung_über_PV",
                                              "factor": 1
                                            },
                                            "23": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Batterie_Netz_gesamt",
                                              "alias": "Batterie Netz gesamt",
                                              "factor": 1
                                            },
                                            "24": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Batterie_Eigenverbrauch",
                                              "alias": "Batterie Eigenverbrauch",
                                              "factor": 1
                                            },
                                            "25": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.SC_Stream_Status",
                                              "alias": "SC Stream Status",
                                              "factor": 1
                                            },
                                            "26": {
                                              "source": "0_userdata.0.Enphase-Werte_durch_1000.Batterieentladung_über_Netz",
                                              "alias": "Batterieentladung über Netz",
                                              "factor": 1
                                            }
                                          }
                                        }
                                        
                                        1 Antwort Letzte Antwort
                                        0
                                        • NegaleinN Offline
                                          NegaleinN Offline
                                          Negalein
                                          Global Moderator
                                          schrieb am zuletzt editiert von
                                          #230

                                          @Steffe-S
                                          @DieWaldfee

                                          Mir ist heute bei stockfinsterer Nacht (ok, nicht ganz, es war Vollmond) aufgefallen,
                                          dass 0_userdata.0.Enphase-Werte_durch_1000.PV-Erzeugung Werte bis 6 W anzeigt.

                                          @Steffe-S, wir hatten das beim alten Script schon mal. Finde aber die Beiträge zur Lösung nicht mehr.

                                          2a2803aa-4621-409c-a4cd-3cf322fbb1ec-image.png

                                          PV-Erzeugung.csv

                                          Issue hab ich auch gleich erstellt :)

                                          ° Node.js: 20.17.0 NPM: 10.8.2
                                          ° Proxmox, Ubuntu 22.04.3 LTS
                                          ° Fixer ---> iob fix

                                          1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          527

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe