Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Status vom Kostal Wechselrichter auslesen?

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Status vom Kostal Wechselrichter auslesen?

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kaybau last edited by

      Hallo zusammen,
      ich nutze auch seit gut 6 Monaten das Javascript zum Auslesen der Werte.
      Hat schon mal jemand die Events aus dem Piko BA ausgelesen? Mir dauert die Alarmierung aus dem Support-Portal von Kostal eindeutig zu lange.

      http://<IP>/#/info/events

      Viele Grüße,
      Kay

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @kaybau last edited by

        @kaybau sagte in Status vom Kostal Wechselrichter auslesen?:

        Hat schon mal jemand die Events aus dem Piko BA ausgelesen? Mir dauert die Alarmierung aus dem Support-Portal von Kostal eindeutig zu lange.
        http://<IP>/#/info/events

        für welche Version soll das gelten?
        sieht für mich nicht aus wie Ausleseskript Wechselrichter Kostal Piko ab Firmware v05.31

        1 Reply Last reply Reply Quote 0
        • K
          kaybau last edited by kaybau

          Piko BA 8 mit FW 2.32 UI 06.41

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @kaybau last edited by

            @kaybau dann gehört das hier nicht in den Thread.
            Mach bitte einen neuen auf mit deutlichem Hinweis auf die alte FW

            1 Reply Last reply Reply Quote 0
            • K
              kaybau last edited by

              Hi @Homoran , Ich nutze das skript "// Ausleseskript Wechselrichter Kostal Piko ab Firmware v05.31 (12.10.2015)" aus dem Anfang von diesem Thread.
              Und es ist die neueste FW , die für den Piko 8 BA verfügbar ist.
              Wie liest Du bei deiner FW die Events aus?
              76f2469e-ca3f-4737-a611-7880bf12ad52-grafik.png

              VG,
              Kay

              Homoran 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @kaybau last edited by Homoran

                @kaybau sagte in Status vom Kostal Wechselrichter auslesen?:

                Wie liest Du bei deiner FW die Events aus?

                gar nicht

                Das ist unheimlich komplex, da du in der api erstmal sämtliche IDs der Events identifizieren musst und dann abfragen.

                var msgs = [
                {"code":"3000","type":"Störung Updateprozess","description":"Interne Systemstörung","action":"Update des Wechselrichters durchführen."},
                {"code":"3003","type":"Interne Kommunikationsstörung","description":"Interne Kommunikationsstörung","action":"zwischen Netzüberwachung und Steuerung Internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten kontrollieren"},
                {"code":"3006","type":"Interne Systemstörung ","description":"Interne Systemstörung bzgl. Leistungsabregelung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf. Support"},
                {"code":"3010","type":"Interne Kommunikationsstörung","description":"Interne Kommunikationsstörung","action":"zwischen Steuerung und Kommunkationsplatine Kontrollieren Sie die Uhrzeiteinstellung, Funktionalität der Kommunikationsplatine und weiterer Kommunikationseinstellungen. Wechselrichter schaltet trotz fehlerhaftem Zeitstempel auf"},
                {"code":"3011","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Support"},
                {"code":"3012","type":"Störung Varistor","description":"DC-Varistor defekt","action":"Defekten Varistor tauschen"},
                {"code":"3013","type":"Interne Temperaturstörung","description":"Übertemperatur AC/DC an Leistungsstufe","action":"Installationsbedingungen und Lüfter kontrollieren"},
                {"code":"3014","type":"Interne Temperaturstörung","description":"Übertemperatur Prozessor","action":"Installationsbedingungen und Lüfter kontrollieren"},
                {"code":"3017","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3018","type":"Information","description":"Leistungsabregelung durch externe Vorgaben (Netzbetreiber)","action":"Keine Maßnahme notwendig"},
                {"code":"3019","type":"Externe Netzstörung","description":"Leistungsabregelung aufgrund eines Netzfehlers (erhöhte Netzfrequenz)","action":"Support"},
                {"code":"3020","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3021","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3022","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3023","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3024","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3025","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3026","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3027","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Support"},
                {"code":"3028","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3029","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3030","type":"Interne Temperaturstörung","description":"Übertemperatur AC/DC an Leistungsstufe","action":"Installationsbedingungen und Lüfter kontrollieren"},
                {"code":"3031","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                {"code":"3032","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3033","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3034","type":"Interne Systemstörung ","description":"Interner Zwischenkreisfehler","action":"Das Gerät neu starten"},
                {"code":"3035","type":"Interne Systemstörung ","description":"Interner Zwischenkreisfehler","action":"Das Gerät neu starten"},
                {"code":"3036","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3037","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3038","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3039","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3045","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                {"code":"3046","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                {"code":"3047","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3048","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                {"code":"3049","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                {"code":"3050","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                {"code":"3051","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3052","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3053","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3054","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"3055","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                {"code":"3056","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3057","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Generatorinstallation/ -auslegung kontrollieren"},
                {"code":"3059","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Ggf. falsche Ländereinstellung. Support kontaktieren"},
                {"code":"3060","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                {"code":"3061","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3062","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3063","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3064","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3065","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3066","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktiere"},
                {"code":"3068","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                {"code":"3070","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3071","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3072","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3073","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3074","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3075","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3076","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Die AC-Spannung ist gegebenenfalls zu niedrig"},
                {"code":"3079","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                {"code":"3080","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                {"code":"3082","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3083","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig1"},
                {"code":"3084","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                {"code":"3085","type":"Interne Temperaturstörung","description":"Übertemperatur Prozessor","action":"Installationsbedingungen und Lüfter kontrollieren1 "},
                {"code":"3086","type":"Information","description":"Leistungsabregelung aufgrund eines Netzfehlers (erhöhte AC-Spannung)","action":"Support"},
                {"code":"3087","type":"Interne Systemstörung ","description":"Interner Systemfehler","action":"Support kontaktieren"},
                {"code":"3088","type":"Interne Systemstörung ","description":"Lüftereinheit verschmutzt","action":"Lüftereinheit reinigen"},
                {"code":"3089","type":"Interne Systemstörung ","description":"Lüftereinheit verschmutzt","action":"Lüftereinheit reinigen"},
                {"code":"3090","type":"Interne Systemstörung ","description":"Interner Systemfehler","action":"Support kontaktieren"},
                {"code":"3091","type":"Interne Systemstörung ","description":"Lüfter nicht korrekt angeschlossen","action":"Lüfter-Steckverbindungen prüfe"},
                {"code":"3092","type":"Interne Systemstörung ","description":"Lüfter nicht korrekt angeschlossen","action":"Lüfter-Steckverbindungen prüfe"},
                {"code":"3093","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                {"code":"3094","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                {"code":"3095","type":"Interne Parametrierungsstörung","description":"Falsche Kalibrierung","action":"Support kontaktiere"},
                {"code":"3096","type":"Information","description":"Falsche Dimensionierung der PV-Generator","action":"Generatorinstallation/ -auslegung kontrolliere"},
                {"code":"3097","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                {"code":"3098","type":"Information","description":"Netz nicht vorhanden","action":"Keine Maßnahme notwendig"},
                {"code":"3101","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3102","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3103","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3104","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                {"code":"3105","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                {"code":"3106","type":"Information","description":"Falsche Eingabe am KomBoard oder falsche Verdrahtung","action":"Eingabe oder Verdrahtung korriegieren"},
                {"code":"4100","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support"},
                {"code":"4101","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L1","action":"Support"},
                {"code":"4102","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L2","action":"Support"},
                {"code":"4103","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L3","action":"Support"},
                {"code":"4104","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L1","action":"Support"},
                {"code":"4105","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L2","action":"Support"},
                {"code":"4106","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L3","action":"Support"},
                {"code":"4110","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support"},
                {"code":"4121","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4122","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4130","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4131","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4150","type":"Information","description":"Erhöhte Netzfrequenz. Oft gehäuftes Auftreten am Morgen und am Abend.","action":"Installation kontrollieren"},
                {"code":"4151","type":"Externe Netzstörung","description":"Zu niedrige Netzfrequenz","action":"Installation kontrollieren"},
                {"code":"4157","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Keine Maßnahme notwendig"},
                {"code":"4158","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                {"code":"4159","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                {"code":"4160","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                {"code":"4161","type":"Externe Netzstörung","description":"Zu niedrige Netzfrequenz","action":"Installation kontrollieren"},
                {"code":"4170","type":"Information","description":"Eine Phase ist nicht angeschlossen. Ein Sicherungsautomat wurde nicht eingeschaltet.","action":"Installation kontrollieren"},
                {"code":"4180","type":"Externe Netzstörung","description":"PE-Leitung nicht angeschlossen","action":"Installation kontrollieren"},
                {"code":"4181","type":"Externe Netzstörung","description":"PE-Leitung nicht angeschlossen","action":"Installation kontrollieren "},
                {"code":"4185","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support1 "},
                {"code":"4200","type":"Externe Netzstörung","description":"Erhöhte Netzspannung","action":"Installation kontrollieren "},
                {"code":"4201","type":"Externe Netzstörung","description":"Zu niedrige Netzspannung","action":"Installation kontrollieren "},
                {"code":"4210","type":"Externe Netzstörung","description":"Erhöhte Netzspannung","action":"Installation kontrollieren "},
                {"code":"4211","type":"Externe Netzstörung","description":"Zu niedrige Netzspannung","action":"Installation kontrollieren "},
                {"code":"4220","type":"Externe Netzstörung","description":"Spannungsmittelwert der letzten 10 Min. zu groß","action":"Installation kontrollieren "},
                {"code":"4221","type":"Externe Netzstörung","description":"Spannungsmittelwert der letzten 10 Min. zu groß","action":"Installation kontrollieren "},
                {"code":"4290","type":"Externe Netzstörung","description":"Die Netzfrequenz hat sich zu schnell verändert.","action":"Generatorinstallation kontrollieren "},
                {"code":"4300","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4301","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4302","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4303","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4304","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4321","type":"Interne Parametrierungsstörung","description":"Defektes EEPROM unerlaubte Speicherzugriffe","action":"Support"},
                {"code":"4322","type":"Interne Parametrierungsstörung","description":"Softwarefehler","action":"Support kontaktieren"},
                {"code":"4323","type":"Interne Parametrierungsstörung","description":"Fehlerstrom","action":"Support"},
                {"code":"4324","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support"},
                {"code":"4325","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support"},
                {"code":"4340","type":"-","description":"","action":""},
                {"code":"4354","type":"Externer Fehlerstrom","description":"Fehlerstrom","action":"Generatorinstallation kontrollieren "},
                {"code":"4360","type":"-","description":"","action":""},
                {"code":"4421","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4422","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren. "},
                {"code":"4424","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                {"code":"4425","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support "},
                {"code":"4450","type":"Externe Isolationsfehler","description":"Isolationsfehler","action":"Generatorinstallation kontrollieren "},
                {"code":"4451","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren "},
                {"code":"4475","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4476","type":"Information","description":"Schwache PV-Versorgung (z.B. morgens)","action":"Keine Maßnahme notwendig "},
                {"code":"4800","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4801","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                {"code":"4802","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4803","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                {"code":"4804","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                {"code":"4805","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4810","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"4850","type":"Interne Systemstörung ","description":"EVU","action":"Support "},
                {"code":"4870","type":"-","description":"","action":""},
                {"code":"7500","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                {"code":"7503","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"}
                ];
                

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @kaybau last edited by

                  @kaybau
                  wäre das etwas für dich?

                  events.png

                  Ich hatte mal einen ganz fiesen Störfall, da hat mir jemand (ich muss zu meiner Schande gestehen, dass ich nicht mehr weiß wer 😳 ) ein Skript zum auslesen der events geschrieben.
                  Habe das eben noch ein wenig optimiert um es in dem json-table widget darstellen zu können

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kaybau @Homoran last edited by

                    @Homoran : Das sieht so aus, als ist es mehr als nur einen Test wert 😉

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @kaybau last edited by

                      @kaybau sagte in Status vom Kostal Wechselrichter auslesen?:

                      @Homoran : Das sieht so aus, als ist es mehr als nur einen Test wert 😉

                      Dann mach mal 😉

                      Dieses

                      var domain = '192.168.178.123'; // domain or ip without http:// or https:// 
                      var url = '/api/dxs.json';
                      var datenpunkt = '0_userdata.0.Solaranlage.Info';
                      //var datenpunkt = 'javascript.0.info';
                      
                      var msgs = [
                      {"code":"3000","type":"Störung Updateprozess","description":"Interne Systemstörung","action":"Update des Wechselrichters durchführen."},
                      {"code":"3003","type":"Interne Kommunikationsstörung","description":"Interne Kommunikationsstörung","action":"zwischen Netzüberwachung und Steuerung Internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten kontrollieren"},
                      {"code":"3006","type":"Interne Systemstörung ","description":"Interne Systemstörung bzgl. Leistungsabregelung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf. Support"},
                      {"code":"3010","type":"Interne Kommunikationsstörung","description":"Interne Kommunikationsstörung","action":"zwischen Steuerung und Kommunkationsplatine Kontrollieren Sie die Uhrzeiteinstellung, Funktionalität der Kommunikationsplatine und weiterer Kommunikationseinstellungen. Wechselrichter schaltet trotz fehlerhaftem Zeitstempel auf"},
                      {"code":"3011","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3012","type":"Störung Varistor","description":"DC-Varistor defekt","action":"Defekten Varistor tauschen"},
                      {"code":"3013","type":"Interne Temperaturstörung","description":"Übertemperatur AC/DC an Leistungsstufe","action":"Installationsbedingungen und Lüfter kontrollieren"},
                      {"code":"3014","type":"Interne Temperaturstörung","description":"Übertemperatur Prozessor","action":"Installationsbedingungen und Lüfter kontrollieren"},
                      {"code":"3017","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3018","type":"Information","description":"Leistungsabregelung durch externe Vorgaben (Netzbetreiber)","action":"Keine Maßnahme notwendig"},
                      {"code":"3019","type":"Externe Netzstörung","description":"Leistungsabregelung aufgrund eines Netzfehlers (erhöhte Netzfrequenz)","action":"Support"},
                      {"code":"3020","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3021","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3022","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3023","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3024","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3025","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3026","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3027","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3028","type":"Externe Generatorstörung","description":"Überspannung am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3029","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3030","type":"Interne Temperaturstörung","description":"Übertemperatur AC/DC an Leistungsstufe","action":"Installationsbedingungen und Lüfter kontrollieren"},
                      {"code":"3031","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                      {"code":"3032","type":"Externe Generatorstörung","description":"Überstrom am PV-Generator","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3033","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3034","type":"Interne Systemstörung ","description":"Interner Zwischenkreisfehler","action":"Das Gerät neu starten"},
                      {"code":"3035","type":"Interne Systemstörung ","description":"Interner Zwischenkreisfehler","action":"Das Gerät neu starten"},
                      {"code":"3036","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3037","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3038","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3039","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3045","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                      {"code":"3046","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach Prüfung durch und schaltet generell auf"},
                      {"code":"3047","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3048","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                      {"code":"3049","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                      {"code":"3050","type":"Interne Kommunikationsstörung","description":"Interner Kommunikationsfehler","action":"Kontrollieren Sie die internen Kommunikationsleitungen zwischen den einzelnen Leiterplatten"},
                      {"code":"3051","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3052","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3053","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3054","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"3055","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                      {"code":"3056","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3057","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Generatorinstallation/ -auslegung kontrollieren"},
                      {"code":"3059","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Ggf. falsche Ländereinstellung. Support kontaktieren"},
                      {"code":"3060","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                      {"code":"3061","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3062","type":"Interne Temperaturstörung","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3063","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3064","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3065","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3066","type":"Interne Parametrierungsstörung","description":"Interne Systemstörung","action":"Support kontaktiere"},
                      {"code":"3068","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                      {"code":"3070","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3071","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3072","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3073","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3074","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3075","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3076","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Die AC-Spannung ist gegebenenfalls zu niedrig"},
                      {"code":"3079","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                      {"code":"3080","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Das Gerät neu starten"},
                      {"code":"3082","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3083","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig1"},
                      {"code":"3084","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren"},
                      {"code":"3085","type":"Interne Temperaturstörung","description":"Übertemperatur Prozessor","action":"Installationsbedingungen und Lüfter kontrollieren1 "},
                      {"code":"3086","type":"Information","description":"Leistungsabregelung aufgrund eines Netzfehlers (erhöhte AC-Spannung)","action":"Support"},
                      {"code":"3087","type":"Interne Systemstörung ","description":"Interner Systemfehler","action":"Support kontaktieren"},
                      {"code":"3088","type":"Interne Systemstörung ","description":"Lüftereinheit verschmutzt","action":"Lüftereinheit reinigen"},
                      {"code":"3089","type":"Interne Systemstörung ","description":"Lüftereinheit verschmutzt","action":"Lüftereinheit reinigen"},
                      {"code":"3090","type":"Interne Systemstörung ","description":"Interner Systemfehler","action":"Support kontaktieren"},
                      {"code":"3091","type":"Interne Systemstörung ","description":"Lüfter nicht korrekt angeschlossen","action":"Lüfter-Steckverbindungen prüfe"},
                      {"code":"3092","type":"Interne Systemstörung ","description":"Lüfter nicht korrekt angeschlossen","action":"Lüfter-Steckverbindungen prüfe"},
                      {"code":"3093","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                      {"code":"3094","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                      {"code":"3095","type":"Interne Parametrierungsstörung","description":"Falsche Kalibrierung","action":"Support kontaktiere"},
                      {"code":"3096","type":"Information","description":"Falsche Dimensionierung der PV-Generator","action":"Generatorinstallation/ -auslegung kontrolliere"},
                      {"code":"3097","type":"Interne Parametrierungsstörung","description":"Falsche Parametrierung","action":"Support kontaktiere"},
                      {"code":"3098","type":"Information","description":"Netz nicht vorhanden","action":"Keine Maßnahme notwendig"},
                      {"code":"3101","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3102","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3103","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3104","type":"Interne Systemstörung ","description":"Interne AC-Systemstörung","action":"Gerät führt mehrfach eine Prüfung durch und schaltet generell auf"},
                      {"code":"3105","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"},
                      {"code":"3106","type":"Information","description":"Falsche Eingabe am KomBoard oder falsche Verdrahtung","action":"Eingabe oder Verdrahtung korriegieren"},
                      {"code":"4100","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support"},
                      {"code":"4101","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L1","action":"Support"},
                      {"code":"4102","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L2","action":"Support"},
                      {"code":"4103","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L3","action":"Support"},
                      {"code":"4104","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L1","action":"Support"},
                      {"code":"4105","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L2","action":"Support"},
                      {"code":"4106","type":"Interne Systemstörung ","description":"Erhöhter DC-Strom L3","action":"Support"},
                      {"code":"4110","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support"},
                      {"code":"4121","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4122","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4130","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4131","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4150","type":"Information","description":"Erhöhte Netzfrequenz. Oft gehäuftes Auftreten am Morgen und am Abend.","action":"Installation kontrollieren"},
                      {"code":"4151","type":"Externe Netzstörung","description":"Zu niedrige Netzfrequenz","action":"Installation kontrollieren"},
                      {"code":"4157","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Keine Maßnahme notwendig"},
                      {"code":"4158","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                      {"code":"4159","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                      {"code":"4160","type":"Externe Netzstörung","description":"Erhöhte Netzfrequenz","action":"Installation kontrollieren"},
                      {"code":"4161","type":"Externe Netzstörung","description":"Zu niedrige Netzfrequenz","action":"Installation kontrollieren"},
                      {"code":"4170","type":"Information","description":"Eine Phase ist nicht angeschlossen. Ein Sicherungsautomat wurde nicht eingeschaltet.","action":"Installation kontrollieren"},
                      {"code":"4180","type":"Externe Netzstörung","description":"PE-Leitung nicht angeschlossen","action":"Installation kontrollieren"},
                      {"code":"4181","type":"Externe Netzstörung","description":"PE-Leitung nicht angeschlossen","action":"Installation kontrollieren "},
                      {"code":"4185","type":"Interne Systemstörung ","description":"Interner Softwarefehler","action":"Support1 "},
                      {"code":"4200","type":"Externe Netzstörung","description":"Erhöhte Netzspannung","action":"Installation kontrollieren "},
                      {"code":"4201","type":"Externe Netzstörung","description":"Zu niedrige Netzspannung","action":"Installation kontrollieren "},
                      {"code":"4210","type":"Externe Netzstörung","description":"Erhöhte Netzspannung","action":"Installation kontrollieren "},
                      {"code":"4211","type":"Externe Netzstörung","description":"Zu niedrige Netzspannung","action":"Installation kontrollieren "},
                      {"code":"4220","type":"Externe Netzstörung","description":"Spannungsmittelwert der letzten 10 Min. zu groß","action":"Installation kontrollieren "},
                      {"code":"4221","type":"Externe Netzstörung","description":"Spannungsmittelwert der letzten 10 Min. zu groß","action":"Installation kontrollieren "},
                      {"code":"4290","type":"Externe Netzstörung","description":"Die Netzfrequenz hat sich zu schnell verändert.","action":"Generatorinstallation kontrollieren "},
                      {"code":"4300","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4301","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4302","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4303","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4304","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4321","type":"Interne Parametrierungsstörung","description":"Defektes EEPROM unerlaubte Speicherzugriffe","action":"Support"},
                      {"code":"4322","type":"Interne Parametrierungsstörung","description":"Softwarefehler","action":"Support kontaktieren"},
                      {"code":"4323","type":"Interne Parametrierungsstörung","description":"Fehlerstrom","action":"Support"},
                      {"code":"4324","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support"},
                      {"code":"4325","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support"},
                      {"code":"4340","type":"-","description":"","action":""},
                      {"code":"4354","type":"Externer Fehlerstrom","description":"Fehlerstrom","action":"Generatorinstallation kontrollieren "},
                      {"code":"4360","type":"-","description":"","action":""},
                      {"code":"4421","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4422","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren. "},
                      {"code":"4424","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support"},
                      {"code":"4425","type":"Interne Parametrierungsstörung","description":"Parameterfehler","action":"Support "},
                      {"code":"4450","type":"Externe Isolationsfehler","description":"Isolationsfehler","action":"Generatorinstallation kontrollieren "},
                      {"code":"4451","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support kontaktieren "},
                      {"code":"4475","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4476","type":"Information","description":"Schwache PV-Versorgung (z.B. morgens)","action":"Keine Maßnahme notwendig "},
                      {"code":"4800","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4801","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                      {"code":"4802","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4803","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                      {"code":"4804","type":"Interne Systemstörung ","description":"Isolationsfehler","action":"Support "},
                      {"code":"4805","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4810","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"4850","type":"Interne Systemstörung ","description":"EVU","action":"Support "},
                      {"code":"4870","type":"-","description":"","action":""},
                      {"code":"7500","type":"Interne Systemstörung ","description":"Interne Systemstörung","action":"Support "},
                      {"code":"7503","type":"Information","description":"Interne Systemstörung","action":"Keine Maßnahme notwendig"}
                      ];
                      
                      
                      
                      function getEvents() {
                         //log('getEvents');
                         var keys = [];
                         var key1 = 234881792;
                         var key2 = 234881537;  
                         keys.push(key1);
                         for (var i=0;i<10;i++) {
                             keys.push(key2+i);
                         }
                      
                         pikorequest(keys, function(response){
                             //log('events: '+ JSON.stringify(response));
                             var item,len
                             if (typeof response === 'string') response = JSON.parse(response);
                             item = getResponseId(response,234881792);
                             len = item.value;
                             for (var i=0;i<len;i++) {
                                 item = getResponseId(response,234881537+i);
                                 var d,date,code,env;
                                 d = item.value;
                                 date = timeConverter((d[0] << 0) + (d[1] << 8) + (d[2] << 16) + (d[3] << 24));
                                 code = (d[4] << 0) + (d[5] << 8);
                                 env = ("0000"+((d[6] << 0) + (d[7] << 8)).toString(16)).toLocaleUpperCase().substr(-4,4)+'h';
                                 var msg = msgs.find(item => item.code==code);
                                 msg.date=date;
                                 var msgtext = 'Code: '+msg.code+' Typ: '+msg.type+' Beschreibung: '+msg.description+' Maßnahme: '+msg.action
                                 //log('message' + i+1 + ': ' + date + ' '  + code + ' '  + env + ' '+msgtext);
                                 //log("Datenpunkt: "+ datenpunkt+i + " Fehlermeldung: " + msgtext + true/*ack*/);
                                 setState(datenpunkt+i,`[` + JSON.stringify(msg) +`]`, true/*ack*/);
                             }
                         });
                      }
                      
                      function pikorequest(keys,callback) {
                         //log('pikorequest');
                         if (keys.length==0) {
                             //log('request error: No keys ');
                             return;     
                         }
                      
                         var query = '';
                      
                         for (var i = 0; i < keys.length; i++) { 
                             query += '&dxsEntries=' + keys[i];
                         }
                      
                         var req_url = 'http://' + domain + url + '?sessionid=iobroker' + query;
                         //log ('query: '+req_url);
                      
                         request(
                             { method: 'GET',
                             uri: req_url,
                             }
                         , function (error, response, body) {
                                     //log('error: ' + error);
                                     //log('Status: '+ response.statusCode);
                                     //log('response: '+ JSON.stringify(response));
                                     //response.body = '{"dxsEntries":[{"dxsId":234881792,"value":1},{"dxsId":234881537,"value":[207,217,88,94,63,16,2,0]},{"dxsId":234881538,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881539,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881540,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881541,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881542,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881543,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881544,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881545,"value":[0,0,0,0,0,0,0,0]},{"dxsId":234881546,"value":[0,0,0,0,0,0,0,0]}],"session":{"sessionId":0,"roleId":0},"status":{"code":0}}';
                                     //response.statusCode = 200;
                                     //error = false;
                      
                                 if (!error && response.statusCode == 200) {
                                     //log('request ok: ');
                                     //log('Status: '+ response.statusCode);
                                     //log('response: '+ JSON.stringify(response));
                                     callback(response.body);
                                 } else {
                                     log('request nok: ');
                                     //log('Status: '+ response.statusCode);
                                     //log('error: ' + error);
                                 }
                             }
                         );
                      }
                      function getResponseId(response,id) {
                         return response.dxsEntries.find( item => item.dxsId === id );
                      }
                      function timeConverter(UNIX_timestamp){
                       var a = new Date(UNIX_timestamp * 1000);
                       var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
                       var year = a.getFullYear();
                       var month = months[a.getMonth()];
                       var date = a.getDate();
                       var hour = a.getHours();
                       var min = a.getMinutes();
                       var sec = a.getSeconds();
                       var time = date + ' ' + month + ' ' + year + ' ' + hour + ':' + min + ':' + sec ;
                       return time;
                       log (time);
                      }
                      schedule("* * * * *", getEvents);
                      

                      liest minütlich die Fehlermeldungen aus dem Piko (FW > v05.31) aus und schreibt sie in Datenpunkte.
                      Diese müssen noch selber angelegt werden:
                      Kostal_event_States.png

                      Ich selber kann nicht so toll Skripten, habe nur das JSON noch etwas umformatiert.

                      Der aktuellste Event liegt unter Info0 ältere werden immer weiter nach hinten geschoben.

                      Wenn ich es könnte würde ich alles in ein großes json packen, damit im widget gescrollt werden kann. Im Moment bekommt man in der "Tabelle" nur eine Zeile:

                      Kostal_event_widget.png

                      Man muss also im Prinzip mehrere Widgets untereinander setzen, damit man auch noch ältere events sieht

                      Um auf irgendwelche events zu reagieren, könnte man jetzt ein Skript/Blockly schreiben, dass bei Änderung von Info0 die entsprechenden Informationen aus dem json extrahiert und als Meldung (eMail/Telegram), Sprachansage oder großes rotes blinkendes Widget in VIS ausgibt

                      1 Reply Last reply Reply Quote 0
                      • K
                        kaybau last edited by

                        Hi @Homoran ,
                        ich hab Dein skript bezgl des Eventauslesens übernommen. Was soll ich sagen?? Es läuft und liefert die letzten Werte.
                        Jetzt hab ich noch ne Telegram-Alerting draufgesetzt. Alles gut!
                        Danke,
                        Kay

                        1 Reply Last reply Reply Quote 0
                        • A
                          Atlantis @Homoran last edited by

                          @Homoran

                          @Homoran said in Status vom Kostal Wechselrichter auslesen?:

                          Zum Kostal Wechselrichter gibt es hier schon Threads.

                          Entscheidend ist die Firmwareversion deines Piko.

                          Im MOment bekomme ich es so hin:
                          144_kostal02.jpg

                          Gruß

                          Rainer

                          Hallo Rainer

                          Ich lese schon seit Stunden das Forum hoch und runter, finde aber mein Problem nirgends beschrieben.
                          Wollte Kostal WR Picco auslesen um eine ähnlich schöne Ansicht zu basten wie Du. Da der Adapter bei mir nicht funktioniert wollte ich mit Parser arbeiten, den ich bei iobroker jedoch noch nicht benutzt habe.

                          Ich schaffe es, die Webseite mit Login und Passwort als Aufruf im parser anzulegen. Wenn ich im Parser in die Bleistift Edit Funktion einsteige, bekomme ich den richtigen Seitenquelltext des Picco angezeigt.

                          Ich schaffe es im Regex mit dem Seitenquellcode die richtigen Stellen per Anker usw. zu detektieren. Wenn ich die korrekte Regex Zeile dann im Parser einsetze kommen nie Ergebnisse, egal welches Beispiel ich bisher so probiert habe.

                          Jetzt habe ich noch was von minified js gelesen. Wollte mein Seitenquellcode minimieren, aber auf allen Minimierseiten bekomme ich Fehlermeldungen, wenn ich den Seitenquelltext 1:1 rein kopiere.

                          Nachdem ich jetzt schon 6 Stunden verbrannt habe hoffe ich auf einen klein Tipp von Dir.

                          Anbei die Adaptereinstellung:
                          Unbenannt.JPG

                          und hier die funktionierende Regex Variante:
                          Unbenannt_II.JPG

                          und hier noch der Quellcode...

                          code_text
                          <!DOCtype HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN">
                          <html>
                          <head>
                          <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
                          <meta name="Generator" CONTENT="ChrisB">
                          <title>PV Webserver</title>
                          </head>
                          <body nof="(MB=(DefaultMasterborder, 65, 60, 150, 10), L=(HomeLayout, 700, 600))" bgcolor="#EAF7F7" text="#000000" link="#0033CC" vlink="#990099" alink="#FF0000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
                          <form method="post" action="">
                          <table cellspacing="0" cellpadding="0" width="770" nof="ly">
                          <tr><td height="5"></td></tr>
                          <tr><td width="190" height="55"></td>
                          <td width="400">
                            <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif" size="+3">
                            PIKO 4.2
                          <br><font size="+1">                 
                            Namenlos (92)
                          </font>
                          </font>
                          </td>
                          <td><img alt="Logo" height="42" width="130" src="KSE.gif"></td>
                          </tr>
                          </table>
                          
                          <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
                          <table Border="0" width="100%"><tr>
                          <td width="150"></td>
                          <td> <hr> </td>
                          </tr></table>
                          <table cellspacing="0" cellpadding="0" width="770">
                          <tr><td></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td colspan="2">
                            <b>AC-Leistung</b></td>
                          <td>&nbsp</td>
                          <td>
                            <b>Energie</b></td></tr>
                          <tr><td height="10"></td></tr>
                          
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            aktuell</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="140">&nbsp W</td>
                          <td width="100">
                            Gesamtenergie</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            146</td>
                          <td width="50">&nbsp kWh</td>
                          <td>&nbsp</td></tr>
                          <tr height="2"><td></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            &nbsp</td>
                          <td width="70" align="right">
                            &nbsp</td>
                          <td width="140">&nbsp</td>
                          <td width="100">
                            Tagesenergie</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            13.91</td>
                          <td width="50">&nbsp kWh</td>
                          <td>&nbsp</td></tr>
                          <tr height="5"><td></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            Status</td>
                          <td colspan="4">
                            Aus</td>
                          <td>&nbsp</td></tr>
                          <tr height="8"><td></td></tr>
                          <tr><td colspan="7">
                          <table align="top" width="100%"><tr>
                          <td width="182"></td>
                          <td><hr size="1"></font></td></tr>
                          <tr><td height="5"></td></tr></table>
                          </td></tr>
                          <tr>
                          <td width="190"></td>
                          <td colspan="2">
                            <b>PV-Generator</b></td>
                          <td width="140">&nbsp</td>
                          <td colspan="2">
                            <b>Ausgangsleistung</b></td>
                          <td width="30">&nbsp</td>
                          <td>&nbsp</td></tr>
                          <tr><td height="10"></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            <u>String 1</u></td>
                          <td width="70">&nbsp</td>
                          <td width="140">&nbsp</td>
                          <td width="95">
                            <u>L1</u></td>
                          <td width="70">&nbsp</td>
                          <td width="30">&nbsp</td>
                          <td>&nbsp</td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            Spannung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="140">&nbsp V</td>
                          <td width="100">
                            Spannung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp V</td>
                          <td>&nbsp</td></tr>
                          <tr height="2"><td></td></tr>
                          <tr valign="top" align="left">
                          <td width="190">&nbsp</td>
                          <td width="100">
                            Strom</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="140">&nbsp A</td>
                          <td width="100">
                            Leistung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp W</td>
                          <td>&nbsp</td></tr>
                          <tr height="22"><td></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            <u>String 2</u></td>
                          <td width="70">&nbsp</td>
                          <td width="140">&nbsp</td>
                          <td width="100">
                            <u>L2</u></td>
                          <td width="70">&nbsp</td>
                          <td width="30">&nbsp</td>
                          <td>&nbsp</td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            Spannung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="140">&nbsp V</td>
                          <td width="100">
                            Spannung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp V</td>
                          <td>&nbsp</td></tr>
                          <tr height="2"><td></td></tr>
                          <tr valign="top" align="left">
                          <td width="190">&nbsp</td>
                          <td width="100">
                            Strom</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="140">&nbsp A</td>
                          <td width="100">
                            Leistung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp W</td>
                          <td>&nbsp</td></tr>
                          <tr height="22"><td></td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                            <u> </u></td>
                          <td width="70">&nbsp</td>
                          <td width="140">&nbsp</td>
                          <td width="100">
                            <u>L3</u></td>
                          <td width="70">&nbsp</td>
                          <td width="30">&nbsp</td>
                          <td>&nbsp</td></tr>
                          <tr>
                          <td width="190"></td>
                          <td width="100">
                             </td>
                          <td width="70" align="right" bgcolor="#EAF7F7">
                             </td>
                          <td width="140">&nbsp
                             </td>
                          <td width="95">
                            Spannung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp V</td>
                          <td>&nbsp</td></tr>
                          <tr height="2"><td></td></tr>
                          <tr valign="top" align="left">
                          <td width="190">&nbsp</td>
                          <td width="95">
                             </td>
                          <td width="70" align="right" bgcolor="#EAF7F7">
                             </td>
                          <td width="140">&nbsp
                           </td>
                          <td width="95">
                            Leistung</td>
                          <td width="70" align="right" bgcolor="#FFFFFF">
                            x x x&nbsp</td>
                          <td width="30">&nbsp W</td>
                          <td>&nbsp</td></tr>
                          
                          <tr><td height="15"></td></tr>
                          <tr><td colspan="7">
                          <table align="top" width="100%">
                          <tr><td width="182"></td>
                          <td><hr size="1"></font></td>
                          </tr><tr><td height="5"></td></tr></table>
                          </td></tr></table>
                          <table cellspacing="0" cellpadding="0" width="770">
                          <tr><td width="190"></td>
                          <td><font face="Arial,Helvetica,Geneva,Sans-serif">
                          <b>RS485 Kommunikation</b></td></tr>
                          <tr><td height="8"></td></tr>
                          <tr><td width="190"></td>
                          <td><font face="Arial,Helvetica,Geneva,Sans-serif">
                          Wechselrichter&nbsp
                          <input type="Text" name="edWrNr" value="92" size="3" maxlength="3">
                          <input type="submit" value="Anzeigen/Aktualisieren">
                          </td></tr><tr><td height="10"></td></tr>
                          </table>
                          </td></tr></table></font>
                          
                          <hr>
                          <table cellspacing="0" cellpadding="0" width="770">
                          <tr><td height="5"></td></tr>
                          <tr><td width="190"></td>
                          <td width="330">
                          <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
                          <a href="LogDaten.dat">Historie</a>
                          &nbsp &nbsp &nbsp
                          <a href="Info.fhtml">Infoseite</a></font></td>
                          <td align="right">
                          <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
                          <a href="Solar2.fhtml">Einstellungen</a></font></td>
                          <td width="50"></td>
                          </tr></table></font>
                          </form>
                          </body>
                          </html>
                          
                          

                          Danke Euch vorab.
                          Ich muss jetzt aufhören, sonst werde ich noch kirre...

                          Gruss

                          Atlantis

                          wendy2702 Homoran 2 Replies Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Atlantis last edited by

                            @Atlantis sagte in Status vom Kostal Wechselrichter auslesen?:

                            Da der Adapter bei mir nicht funktioniert

                            Warum nicht?

                            Was kommt im Debug log?

                            A 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Atlantis last edited by

                              @Atlantis sagte in Status vom Kostal Wechselrichter auslesen?:

                              Wollte Kostal WR Picco auslesen

                              Welche Firmwareversion hast du denn?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Atlantis @Homoran last edited by

                                @Homoran
                                Ich habe 1 Original Kostal Picco 4.2 FW=? am start und 2 auf Centro Solar gebrandete Picco 4.2 und einen 3.0 er, welche zumindest ausser dem Logo optisch gleiche Webseiten haben und mit dem Kostal Parako verwaltet werden konnten.

                                Wenn Du mir jetzt noch sagst, wo ich den FW Stand auslesen kann, kann ich diesen gerne mitteilen. (vielleicht am Display ? Muss das mal beim nä. Mal checken)

                                Ich wollte aber auch für andere Anwendungen mal den Parser in Einsatz bringen und vor allem Begreifen, wie ich diesen funktionierend in Einsatz bringen kann, weil das natürlich ein g..les Werkzeug ist.

                                Worin liegt denn der Unterschied vom Verhalten des Parsers und der des Regex?
                                Im Parser wird ja der nicht minimierte Code, den iobroker ausgelesen hat angezeigt.

                                Danke Dir für weitere Tips

                                Steffen

                                Homoran A 2 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Atlantis last edited by Homoran

                                  @Atlantis sagte in Status vom Kostal Wechselrichter auslesen?:

                                  FW=?

                                  davon hängt die Art der Abarbeitung ab
                                  Ab FW > v05.31 funktioniert die "alte" Herangehensweise nicht mehr.
                                  Die Gerätetypen sind nicht hilfreich.

                                  @Atlantis sagte in Status vom Kostal Wechselrichter auslesen?:

                                  optisch gleiche Webseiten

                                  Da würde wahrscheinlich schon ein Screenshot weiterhelfen

                                  A 2 Replies Last reply Reply Quote 0
                                  • A
                                    Atlantis @wendy2702 last edited by

                                    @wendy2702 ```
                                    Das hier kommt in endlos Schleife: IP Stimmt aber!
                                    kostal-piko-ba.0 2020-10-15 17:08:52.125 error (9054) Please verify IP address: 192.168.2.192 !!!
                                    kostal-piko-ba.0 2020-10-15 17:08:52.124 error (9054) Error in calling Piko API: HTTPError: Response code 401 (Unauthorized)

                                    ![Unbenannt.JPG](/assets/uploads/files/1602774745828-unbenannt.jpg)
                                    wendy2702 1 Reply Last reply Reply Quote 0
                                    • A
                                      Atlantis @Atlantis last edited by

                                      @Atlantis Unbenannt.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Atlantis @Homoran last edited by

                                        @Homoran Unbenannt.JPG

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • A
                                          Atlantis @Homoran last edited by

                                          @Homoran Hilft es vielleicht, wenn ich Euch den Quelltext der Startseite der WR poste?

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Atlantis last edited by

                                            @Atlantis gleich sind sie somit nicht, der Original ist noch die erste / alte Variante, die Identifikation fand aber IMHO über die Hintergrundfarbe der Kästchen statt, was in den OEM-Versionen wahrscheinlich nicht geht.

                                            Ich habe leider diese alte Version nicht mehr und kann das nur noch aus der Erinnerung oder "trocken" supporten

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

                                            Support us

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

                                            966
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            35
                                            331
                                            52271
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo