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

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.6k

Enphase / Envoy / IQ-Gateway Solar Blockly Skript

Geplant Angeheftet Gesperrt Verschoben Praktische Anwendungen (Showcase)
enphasesolarpv anlageapienvoyiq-gatewayscript
231 Beiträge 16 Kommentatoren 55.5k 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.
  • 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 Offline
      Steffe.S.S Offline
      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 Offline
        Steffe.S.S Offline
        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 & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
            ° Node.js Fixer ---> iob nodejs-update
            ° 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 Offline
              Steffe.S.S Offline
              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 Offline
                Steffe.S.S Offline
                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 Offline
                  Steffe.S.S Offline
                  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 Offline
                    Steffe.S.S Offline
                    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 & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                            ° Node.js Fixer ---> iob nodejs-update
                            ° 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 & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                              ° Node.js Fixer ---> iob nodejs-update
                              ° 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 Offline
                                  Steffe.S.S Offline
                                  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 Offline
                                    Steffe.S.S Offline
                                    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 & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                                      ° Node.js Fixer ---> iob nodejs-update
                                      ° Fixer ---> iob fix

                                      1 Antwort Letzte Antwort
                                      1
                                      • S Online
                                        S Online
                                        syntetic
                                        schrieb am zuletzt editiert von
                                        #231

                                        Ich habe am Wochenende mein System aktualisiert, Trixie neu aufgesetzt und anschließend ioBroker Backup eingespielt. Jetzt bekomme ich das Skript nicht mehr zum Laufen. Ich bekomme immer folgende Fehlermeldung:

                                        2026-03-02 08:01:20.180 - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: Error: TypeError: fetch is not a function
                                        2026-03-02 08:01:20.186 - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: at renew_EnvoyToken (script.js.Überwachung.PV_Anlage_Datenabfrage:19:5)
                                        2026-03-02 08:01:20.187 - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: at script.js.Überwachung.PV_Anlage_Datenabfrage:185:18
                                        2026-03-02 08:01:20.188 - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: at script.js.Überwachung.PV_Anlage_Datenabfrage:243:3
                                        2026-03-02 08:01:20.188 - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: at Script.runInContext (node:vm:149:12)
                                        

                                        lob diag sagt folgendes:

                                        Script v.2026-01-31
                                        
                                        *** BASE SYSTEM ***
                                        Operating System: Debian GNU/Linux 13 (trixie)
                                         Static hostname: Mitcho
                                               Icon name: computer
                                                  Kernel: Linux 6.12.62+rpt-rpi-v8
                                            Architecture: arm64
                                        OS is similar to: 
                                        
                                        Model		: Raspberry Pi 4 Model B Rev 1.2
                                        Docker          : false
                                        Virtualization  : none
                                        Kernel          : aarch64
                                        Userland        : 64 bit
                                        
                                        Systemuptime and Load:
                                         08:03:39 up 11:18,  2 users,  load average: 0.86, 0.94, 0.83
                                        CPU threads: 4
                                        
                                        
                                        *** LIFE CYCLE STATUS ***
                                        Operating System is the current Debian stable version codenamed 'trixie'!
                                        
                                        *** RASPBERRY THROTTLING ***
                                        Current issues:
                                        No throttling issues detected.
                                        
                                        Previously detected issues:
                                        No throttling issues detected.
                                        
                                        *** TIME AND TIMEZONES ***
                                                       Local time: Mon 2026-03-02 08:03:40 CET
                                                   Universal time: Mon 2026-03-02 07:03:40 UTC
                                                         RTC time: n/a
                                                        Time zone: Europe/Berlin (CET, +0100)
                                        System clock synchronized: yes
                                                      NTP service: active
                                                  RTC in local TZ: no
                                        
                                        *** Users and Groups ***
                                        User that called 'iob diag':
                                        mitcho
                                        HOME=/home/mitcho
                                        GROUPS=mitcho adm dialout cdrom sudo audio video plugdev games users netdev gpio i2c spi render input iobroker
                                        
                                        User that is running 'js-controller':
                                        iobroker
                                        HOME=/home/iobroker
                                        SUDO_HOME=/home/mitcho
                                        GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
                                        
                                        *** DISPLAY-SERVER SETUP ***
                                        Display-Server: 	false
                                        Display-Manager: 	* lightdm.service - Light Display Manager
                                        Desktop: 		
                                        Session: 		tty
                                        
                                        *** MEMORY ***
                                                       total        used        free      shared  buff/cache   available
                                        Mem:            4.0G        2.3G        846M         14M        968M        1.7G
                                        Swap:           2.1G          0B        2.1G
                                        Total:          6.1G        2.3G        3.0G
                                        
                                        Active iob-Instances: 	12
                                        
                                                 3795 M total memory
                                                 2156 M used memory
                                                 2248 M active memory
                                                  580 M inactive memory
                                                  807 M free memory
                                                   99 M buffer memory
                                                  824 M swap cache
                                                 2047 M total swap
                                                    0 M used swap
                                                 2047 M free swap
                                        
                                        *** top - Table Of Processes  ***
                                        top - 08:03:40 up 11:18,  2 users,  load average: 0.87, 0.94, 0.83
                                        Tasks: 208 total,   1 running, 207 sleeping,   0 stopped,   0 zombie
                                        %Cpu(s):  4.4 us,  4.4 sy,  0.0 ni, 91.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
                                        MiB Mem :   3795.7 total,    805.2 free,   2158.1 used,    924.1 buff/cache     
                                        MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.   1637.5 avail Mem 
                                        
                                        *** FAILED SERVICES ***
                                        
                                          UNIT LOAD ACTIVE SUB DESCRIPTION
                                        
                                        0 loaded units listed.
                                        
                                        
                                        *** DMESG CRITICAL ERRORS ***
                                        No critical errors detected
                                        
                                        *** FILESYSTEM ***
                                        Filesystem     Type      Size  Used Avail Use% Mounted on
                                        udev           devtmpfs  1.6G     0  1.6G   0% /dev
                                        tmpfs          tmpfs     760M  9.4M  750M   2% /run
                                        /dev/sda2      ext4      229G  9.5G  210G   5% /
                                        tmpfs          tmpfs     1.9G  3.8M  1.9G   1% /dev/shm
                                        tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                                        tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
                                        tmpfs          tmpfs     1.9G  708K  1.9G   1% /tmp
                                        /dev/sda1      vfat      510M   79M  432M  16% /boot/firmware
                                        tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
                                        tmpfs          tmpfs     380M   60K  380M   1% /run/user/1000
                                        tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/serial-getty@ttyS0.service
                                        
                                        Messages concerning ext4 filesystem in dmesg:
                                        [Sun Mar  1 20:45:20 2026] EXT4-fs (sda2): orphan cleanup on readonly fs
                                        [Sun Mar  1 20:45:20 2026] EXT4-fs (sda2): mounted filesystem d6944274-f2f7-4644-96a4-213c3b367f5c ro with ordered data mode. Quota mode: none.
                                        [Sun Mar  1 20:45:21 2026] EXT4-fs (sda2): re-mounted d6944274-f2f7-4644-96a4-213c3b367f5c r/w.
                                        
                                        Show mounted filesystems:
                                        TARGET           SOURCE    FSTYPE OPTIONS
                                        /                /dev/sda2 ext4   rw,noatime
                                        `-/boot/firmware /dev/sda1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                        
                                        Files in neuralgic directories:
                                        
                                        /var:
                                        2.5G	/var/
                                        218M	/var/lib
                                        182M	/var/cache
                                        169M	/var/cache/apt
                                        147M	/var/lib/apt
                                        
                                        Archived and active journals take up 8M in the file system.
                                        
                                        /opt/iobroker/backups:
                                        5.0M	/opt/iobroker/backups/
                                        
                                        /opt/iobroker/iobroker-data:
                                        369M	/opt/iobroker/iobroker-data/
                                        203M	/opt/iobroker/iobroker-data/files
                                        47M	/opt/iobroker/iobroker-data/files/admin.admin
                                        46M	/opt/iobroker/iobroker-data/files/admin.admin/custom/assets
                                        46M	/opt/iobroker/iobroker-data/files/admin.admin/custom
                                        
                                        The five largest files in iobroker-data are:
                                        75M	/opt/iobroker/iobroker-data/objects.jsonl
                                        51M	/opt/iobroker/iobroker-data/states.jsonl
                                        24M	/opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.c9369f6c.js.map
                                        8.4M	/opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.c9369f6c.js
                                        8.1M	/opt/iobroker/iobroker-data/files/backitup.admin/assets/index-Djx0nwYT.js
                                        
                                        USB-Devices by-id:
                                        USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups,
                                        please always prefer the links 'by-id':
                                        
                                        /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102161149-if00
                                        
                                        *** ZigBee Settings ***
                                        
                                        ✓ Your zigbee.0 COM-Port is matching 'by-id'. Very good!
                                        
                                        Zigbee Network Settings on your coordinator/in nvbackup are:
                                        
                                        zigbee.X
                                        Extended Pan ID:
                                        *** MASKED ***
                                        Pan ID:
                                        *** MASKED ***
                                        Channel:
                                        *** MASKED ***
                                        Network Key:
                                        *** MASKED ***
                                        
                                        To unmask the settings run 'iob diag --unmask'
                                        
                                        
                                        *** NodeJS-Installation ***
                                        
                                        /usr/bin/nodejs 	v22.22.0
                                        /usr/bin/node 		v22.22.0
                                        /usr/bin/npm 		10.9.4
                                        /usr/bin/npx 		10.9.4
                                        
                                        ✓ Node.js installation is correct
                                        
                                        nodejs:
                                          Installed: 22.22.0-1nodesource1
                                          Candidate: 22.22.0-1nodesource1
                                          Version table:
                                         *** 22.22.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                                100 /var/lib/dpkg/status
                                             22.21.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.20.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.19.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.18.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.17.1-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.17.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.16.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.15.1-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.15.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.14.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.13.1-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.13.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.12.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.11.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.10.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.9.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.8.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.7.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.6.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.5.1-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.5.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.4.1-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.4.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.3.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.2.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.1.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             22.0.0-1nodesource1 600
                                                500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                             20.19.2+dfsg-1 500
                                                500 http://deb.debian.org/debian trixie/main arm64 Packages
                                        
                                        Temp directories causing deletion problem: 0
                                        No problems detected
                                        
                                        Errors in npm tree: 0
                                        No problems detected
                                        
                                        Checking for nodejs vulnerability:
                                        
                                        
                                         █████  ██      ██           ██████   ██████   ██████  ██████         ██
                                        ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
                                        ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
                                        ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
                                        ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
                                        
                                        
                                        
                                        *** ioBroker-Installation ***
                                        
                                        ioBroker Status
                                        iobroker is running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        
                                        Hosts:
                                        Mitcho              Mitcho (version: 7.0.7, hostname: Mitcho        , alive, uptime: 40699)
                                        
                                        Core adapters versions
                                        js-controller: 	7.0.7
                                        admin: 		7.7.22
                                        javascript: 	9.0.18
                                        
                                        nodejs modules from github: 	0
                                        
                                        Adapter State
                                          system.adapter.accuweather.0            : accuweather           : Mitcho                                   - disabled
                                        + system.adapter.admin.0                  : admin                 : Mitcho                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        + system.adapter.backitup.0               : backitup              : Mitcho                                   -  enabled
                                          system.adapter.dwd.0                    : dwd                   : Mitcho                                   - disabled
                                          system.adapter.flot.0                   : flot                  : Mitcho                                   - disabled
                                          system.adapter.history.0                : history               : Mitcho                                   - disabled
                                          system.adapter.ical.0                   : ical                  : Mitcho                                   -  enabled
                                          system.adapter.ical.1                   : ical                  : Mitcho                                   -  enabled
                                          system.adapter.ical.2                   : ical                  : Mitcho                                   -  enabled
                                          system.adapter.iqontrol.0               : iqontrol              : Mitcho                                   - disabled
                                        + system.adapter.javascript.0             : javascript            : Mitcho                                   -  enabled
                                          system.adapter.openweathermap.0         : openweathermap        : Mitcho                                   - disabled
                                        + system.adapter.pi-hole.0                : pi-hole               : Mitcho                                   -  enabled
                                          system.adapter.scenes.0                 : scenes                : Mitcho                                   - disabled
                                        + system.adapter.shelly.0                 : shelly                : Mitcho                                   -  enabled, port: 1882, bind: 0.0.0.0
                                        + system.adapter.shelly.1                 : shelly                : Mitcho                                   -  enabled, port: 1882, bind: 0.0.0.0
                                        + system.adapter.telegram.0               : telegram              : Mitcho                                   -  enabled, port: 8443, bind: 0.0.0.0
                                        + system.adapter.trashschedule.0          : trashschedule         : Mitcho                                   -  enabled
                                        + system.adapter.unifi.0                  : unifi                 : Mitcho                                   -  enabled
                                          system.adapter.vis.0                    : vis                   : Mitcho                                   - disabled
                                          system.adapter.web.0                    : web                   : Mitcho                                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        + system.adapter.yahka.0                  : yahka                 : Mitcho                                   -  enabled
                                        + system.adapter.zigbee.0                 : zigbee                : Mitcho                                   -  enabled, port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102161149-if00
                                        
                                        + instance is alive
                                        
                                        Enabled adapters with bindings
                                        + system.adapter.admin.0                  : admin                 : Mitcho                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        + system.adapter.shelly.0                 : shelly                : Mitcho                                   -  enabled, port: 1882, bind: 0.0.0.0
                                        + system.adapter.shelly.1                 : shelly                : Mitcho                                   -  enabled, port: 1882, bind: 0.0.0.0
                                        + system.adapter.telegram.0               : telegram              : Mitcho                                   -  enabled, port: 8443, bind: 0.0.0.0
                                        + system.adapter.zigbee.0                 : zigbee                : Mitcho                                   -  enabled, port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102161149-if00
                                        
                                        ioBroker-Repositories
                                        ┌─────────┬────────────────────┬─────────────────────────────────────────────────────────┬──────────────┐
                                        │ (index) │ name               │ url                                                     │ auto upgrade │
                                        ├─────────┼────────────────────┼─────────────────────────────────────────────────────────┼──────────────┤
                                        │ 0       │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                                        │ 1       │ 'Beta (latest)'    │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                                        └─────────┴────────────────────┴─────────────────────────────────────────────────────────┴──────────────┘
                                        
                                        Active repo(s): Stable (default)
                                        Upgrade policy: none
                                        
                                        Installed ioBroker-Adapters
                                        Used repository: Stable (default)
                                        Adapter    "accuweather"  : 2.1.1    , installed 2.1.1
                                        Adapter    "admin"        : 7.7.22   , installed 7.7.22
                                        Adapter    "backitup"     : 3.3.13   , installed 3.3.13
                                        Adapter    "dwd"          : 2.8.5    , installed 2.8.5
                                        Adapter    "flot"         : 1.12.0   , installed 1.12.0
                                        Adapter    "history"      : 3.0.1    , installed 3.0.1
                                        Adapter    "ical"         : 1.18.1   , installed 1.18.1
                                        Adapter    "iqontrol"     : 3.0.0    , installed 3.0.0
                                        Adapter    "javascript"   : 9.0.18   , installed 9.0.18
                                        Controller "js-controller": 7.0.7    , installed 7.0.7
                                        Adapter    "openweathermap": 1.1.2   , installed 1.1.2
                                        Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
                                        Adapter    "scenes"       : 3.2.3    , installed 3.2.3
                                        Adapter    "shelly"       : 10.5.2   , installed 10.5.2
                                        Adapter    "socketio"     : 6.7.1    , installed 7.0.8
                                        Adapter    "telegram"     : 4.1.0    , installed 4.1.0
                                        Adapter    "trashschedule": 3.3.0    , installed 3.3.0
                                        Adapter    "unifi"        : 0.7.0    , installed 0.7.0
                                        Adapter    "vis"          : 1.5.6    , installed 1.5.6
                                        Adapter    "web"          : 7.0.8    , installed 7.0.8
                                        Adapter    "ws"           : 2.6.2    , installed 3.0.19
                                        Adapter    "yahka"        : 1.1.5    , installed 1.1.5
                                        Adapter    "zigbee"       : 3.3.5    , installed 3.3.5
                                        
                                        Objects and States
                                        Please stand by - This may take a while
                                        Objects: 	86822
                                        States: 	64386
                                        
                                        *** OS-Repositories and Updates ***
                                        Hit:1 http://deb.debian.org/debian trixie InRelease
                                        Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                                        Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
                                        Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                                        Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
                                        Reading package lists...
                                        Pending systemupdates: 0
                                        
                                        *** Listening Ports ***
                                        Active Internet connections (only servers)
                                        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                                        tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      999        10546      1277/pihole-FTL     
                                        tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      999        10545      1277/pihole-FTL     
                                        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          2033       1/init              
                                        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          10287      1224/sshd: /usr/sbi 
                                        tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      999        7684       1277/pihole-FTL     
                                        tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       10134      1211/iobroker.js-co 
                                        tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       11377      1211/iobroker.js-co 
                                        tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          420714     2522/cupsd          
                                        tcp        0      0 127.0.0.1:46563         0.0.0.0:*               LISTEN      1001       11753      1642/io.yahka.0     
                                        tcp        0      0 0.0.0.0:41987           0.0.0.0:*               LISTEN      1001       11128      1642/io.yahka.0     
                                        tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       14384      1609/io.shelly.1    
                                        tcp6       0      0 :::443                  :::*                    LISTEN      999        10548      1277/pihole-FTL     
                                        tcp6       0      0 :::80                   :::*                    LISTEN      999        10547      1277/pihole-FTL     
                                        tcp6       0      0 :::111                  :::*                    LISTEN      0          2034       1/init              
                                        tcp6       0      0 :::22                   :::*                    LISTEN      0          10289      1224/sshd: /usr/sbi 
                                        tcp6       0      0 :::53                   :::*                    LISTEN      999        7686       1277/pihole-FTL     
                                        tcp6       0      0 ::1:631                 :::*                    LISTEN      0          420713     2522/cupsd          
                                        tcp6       0      0 :::8081                 :::*                    LISTEN      1001       12395      1401/io.admin.0     
                                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           101        7209       645/avahi-daemon: r 
                                        udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       13604      1602/io.shelly.0    
                                        udp        0      0 0.0.0.0:36621           0.0.0.0:*                           101        7211       645/avahi-daemon: r 
                                        udp        0      0 0.0.0.0:53              0.0.0.0:*                           999        7683       1277/pihole-FTL     
                                        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          115        1/init              
                                        udp        0      0 0.0.0.0:123             0.0.0.0:*                           999        22999      1277/pihole-FTL     
                                        udp6       0      0 :::50064                :::*                                101        7212       645/avahi-daemon: r 
                                        udp6       0      0 :::5353                 :::*                                101        7210       645/avahi-daemon: r 
                                        udp6       0      0 :::53                   :::*                                999        7685       1277/pihole-FTL     
                                        udp6       0      0 :::111                  :::*                                0          116        1/init              
                                        udp6       0      0 :::123                  :::*                                999        21960      1277/pihole-FTL     
                                        
                                        *** Log File - Last 25 Lines ***
                                        
                                        2026-03-02 07:54:42.725  - info: admin.0 (1401) ==> Connected system.user.admin from ::ffff:192.168.2.58
                                        2026-03-02 08:00:00.070  - info: host.Mitcho instance system.adapter.ical.2 in version "1.18.1" started with pid 3731
                                        2026-03-02 08:00:04.551  - info: host.Mitcho instance system.adapter.ical.1 in version "1.18.1" started with pid 3742
                                        2026-03-02 08:00:05.669  - info: ical.2 (3731) starting. Version 1.18.1 in /opt/iobroker/node_modules/iobroker.ical, node: v22.22.0, js-controller: 7.0.7
                                        2026-03-02 08:00:08.017  - info: ical.2 (3731) processing URL: Termine http://p71-caldav.icloud.com/published/2/MTY1NjczOTQ5MjcxNjU2N1M3_x2pI3on2b849KhyJ7oYOZ-wGjmsa5xf0_Job--v
                                        2026-03-02 08:00:08.683  - info: host.Mitcho instance system.adapter.ical.0 in version "1.18.1" started with pid 3757
                                        2026-03-02 08:00:10.515  - info: ical.1 (3742) starting. Version 1.18.1 in /opt/iobroker/node_modules/iobroker.ical, node: v22.22.0, js-controller: 7.0.7
                                        2026-03-02 08:00:13.622  - info: ical.1 (3742) processing URL: Geburtstage http://p71-caldav.icloud.com/published/2/MTY1NjczOTQ5MjcxNjU2N1M3_x2pI3on2b849KhyJ7obrJTyh7JrvM5W7hWbXKYV98z6u1ArEpUzT0Qfx8u5BCClYRNKct5WlBkEJoZzDg4
                                        2026-03-02 08:00:14.799  - info: ical.2 (3731) Terminated (NO_ERROR): Without reason
                                        2026-03-02 08:00:16.362  - info: host.Mitcho instance system.adapter.ical.2 having pid 3731 terminated with code 0 (NO_ERROR)
                                        2026-03-02 08:00:21.514  - info: ical.1 (3742) Terminated (NO_ERROR): Without reason
                                        2026-03-02 08:00:22.764  - info: host.Mitcho instance system.adapter.ical.1 having pid 3742 terminated with code 0 (NO_ERROR)
                                        2026-03-02 08:00:23.963  - info: ical.0 (3757) starting. Version 1.18.1 in /opt/iobroker/node_modules/iobroker.ical, node: v22.22.0, js-controller: 7.0.7
                                        2026-03-02 08:00:26.800  - info: ical.0 (3757) processing URL: Abfallkalender http://p71-caldav.icloud.com/published/2/MTY1NjczOTQ5MjcxNjU2N1M3_x2pI3on2b849KhyJ7p4SoafHZSRCZlAgdEYtjMS7V69VebAe4k5Fje7F1AUj1kDgxQWHADWcnNrtdAr7CU
                                        2026-03-02 08:00:32.725  - info: ical.0 (3757) Terminated (NO_ERROR): Without reason
                                        2026-03-02 08:00:33.267  - info: host.Mitcho instance system.adapter.ical.0 having pid 3757 terminated with code 0 (NO_ERROR)
                                        2026-03-02 08:01:20.079  - info: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: start JavaScript (Blockly)
                                        2026-03-02 08:01:20.170  - info: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: Renew token. 1. Login to enlighten.enphaseenergy.com to get session_id...
                                        2026-03-02 08:01:20.180  - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: Error: TypeError: fetch is not a function
                                        2026-03-02 08:01:20.186  - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage:     at renew_EnvoyToken (script.js.Überwachung.PV_Anlage_Datenabfrage:19:5)
                                        2026-03-02 08:01:20.187  - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage:     at script.js.Überwachung.PV_Anlage_Datenabfrage:185:18
                                        2026-03-02 08:01:20.188  - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage:     at script.js.Überwachung.PV_Anlage_Datenabfrage:243:3
                                        2026-03-02 08:01:20.188  - error: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage:     at Script.runInContext (node:vm:149:12)
                                        2026-03-02 08:01:21.926  - info: javascript.0 (1837) script.js.Überwachung.PV_Anlage_Datenabfrage: Stopping script
                                        2026-03-02 08:01:22.799  - info: admin.0 (1401) <== Disconnect system.user.admin from ::ffff:192.168.2.58 javascript
                                        

                                        Habe auch schon versucht, das Skript neu zu importieren, gleicher Fehler. Was mache ich falsch?

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


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        600

                                        Online

                                        32.7k

                                        Benutzer

                                        82.4k

                                        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