Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Plenticore Adapter - Vorhersage funktioniert nicht mehr

    NEWS

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

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

    Plenticore Adapter - Vorhersage funktioniert nicht mehr

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

      Hallo,

      seit ein paar Tagen stürzt der Plenticore Adapter komplett ab, sobald ich die Leistungsprognose aktiviere. Deaktiviere ich diese, funktioniert der Adapter perfekt. Im Log bekomme ich folgende Fehlermeldung:

      plenticore.0
      	2025-10-29 08:41:23.682	info	Logged out from API
      plenticore.0
      	2025-10-29 08:41:23.618	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      plenticore.0
      	2025-10-29 08:41:23.618	info	terminating
      plenticore.0
      	2025-10-29 08:41:23.617	info	[END] Stopping plenticore adapter...
      plenticore.0
      	2025-10-29 08:41:23.614	error	Cannot read properties of undefined (reading 'sky')
      plenticore.0
      	2025-10-29 08:41:23.614	error	TypeError: Cannot read properties of undefined (reading 'sky') at checkStoreSunPanelSkyData (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:1068:48) at Object.storeSunPanelData (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:1526:2) at /opt/iobroker/node_modules/iobroker.plenticore/main.js:221:15 at loginSuccess (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:2718:14) at /opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:2677:5 at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:1585:16) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
      plenticore.0
      	2025-10-29 08:41:23.614	error	uncaught exception: Cannot read properties of undefined (reading 'sky')
      plenticore.0
      	2025-10-29 08:41:23.612	info	Enabling forecast data.
      plenticore.0
      	2025-10-29 08:41:23.381	info	[INFO] Configured polling interval: 20000
      plenticore.0
      	2025-10-29 08:41:23.380	info	Configured battery strategy is: 1
      plenticore.0
      	2025-10-29 08:41:23.380	info	Configured maximum feed-in power is 5000
      plenticore.0
      	2025-10-29 08:41:23.380	info	Configured Wp of panel(s) is 10951
      plenticore.0
      	2025-10-29 08:41:23.380	warn	Kachelmannwetter lib failed to init.
      plenticore.0
      	2025-10-29 08:41:23.380	warn	Error getting city id for coordinates: null
      plenticore.0
      	2025-10-29 08:41:23.284	info	got weather data from met.no with 92 elements.
      plenticore.0
      	2025-10-29 08:41:23.016	info	[START] Starting adapter plenticore v2.3.1r237
      plenticore.0
      	2025-10-29 08:41:23.009	info	starting. Version 2.3.1 in /opt/iobroker/node_modules/iobroker.plenticore, node: v22.21.0, js-controller: 7.0.7
      

      Ich habe geprüft, ob Koordinaten im ioBroker hinterlegt sind. Ja, das waren und sind sie. Hat jemand anderes das Gleiche Problem und evt. eine Lösung?

      I 1 Reply Last reply Reply Quote 0
      • I
        iobrokerin @iobrokerin last edited by

        niemand?

        I 1 Reply Last reply Reply Quote 0
        • I
          iceman8080 @iobrokerin last edited by iceman8080

          @iobrokerin Hi,

          schau mal hier: https://github.com/pixcept/ioBroker.plenticore/issues/131
          Dort wurde das Problem bereits gemeldet und es gibt einen Hinweis wie es behoben werden kann. Allerdings bin ich, was IOBroker angeht, reiner Anfänger und weiß weder, wie ich auf eine andere als meine aktuelle Version (2.2.0) kommen kann noch wie ich die entsprechenden Änderungen einbauen kann...

          Kann mir hier jemand helfen?

          Außerdem, habe ich wenig Hoffnung, das es eine schnelle Lösung für das Problem gibt, wenn ich mir so die Aktivitäten in der Git ansehe... Aber ich hoffe ich irre mich, denn der Adapter ist/war super.

          dsignt created this issue in pixcept/ioBroker.plenticore

          open Error by enabling "forecast data" ("Leistungsprognose aktivieren") in Plenticore "extended settings" #131

          1 Reply Last reply Reply Quote 1
          • I
            iobrokerin last edited by iobrokerin

            @iceman8080 Danke Dir, das hat tatsächlich geholfen. Ich habe noch einen weiteren Robustheitsfix eingebaut.
            Also der erste ist so:

            1. Öffne eine Shell, logge dich über ssh in den iobroker ein
            2. nano /opt/iobroker/node_modules/iobroker.plenticore/lib/weather.js
            3. Gehe in die Zeile NACH let headers = { -> ziemlich oben in der Datei
            4. Drücke so oft STRG-K bis alle Zeilen gelöscht sind bis zum schliessenden };
            5. Kopiere das hier von deinem verlinkten Post wieder hinein:
               'Accept': '*/*',
               //'Accept-Encoding': 'gzip, deflate',
               'Accept-Language': 'de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3',
               'Cache-Control': 'no-cache',
               'Connection': 'close',
               'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
               'Origin': 'https://kachelmannwetter.com',
               'Pragma': 'no-cache',
               'Referer': 'https://kachelmannwetter.com/de',
               'TE': 'Trailers',
               'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
               'sec-ca-ua': '"Google Chrome";v="141", "Not?A_Brand";v="8", "Chromium";v="141"',
               'sec-ch-ua-platform': '"Windows"',
               'X-Requested-With': 'XMLHttpRequest'
            
            1. STRG-S, STRG-X
            2. Adapter neu laden

            Prüfen, ob es jetzt schon geht mit Leistungsprognose

            Wenn nicht (empfehle ich eh, da robuster):

            1. nano /opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js
            2. suche mit STRG-W nach kachelmann
            3. Füge VOR diesen Zeilen:
                    let tmp_sky = adapter_data['kachelmannwetter']['sky'];
                    let tmp_vis = adapter_data['kachelmannwetter']['visibility'];
                    let tmp_rain = adapter_data['kachelmannwetter']['rain'];
                    let tmp_rain_chance = adapter_data['kachelmannwetter']['rainChance'];
                    if(tmp_sky === null || tmp_vis === null || tmp_rain === null) {
                            return false;
                    }
            
                    if (
                            !adapter_data['kachelmannwetter'] ||
                            adapter_data['kachelmannwetter']['sky'] === null ||
                            typeof adapter_data['kachelmannwetter']['sky'] === 'undefined'
                    ) {
                            return false;
                    }
            

            Adapter neu laden.

            Fertig. Läuft wieder. Wenn der Adapter irgendwann mal wieder upgedatet werden sollte, dann sind die Änderungen weg bzw. man muss es nochmal machen. Aber ich glaube nicht, dass es nochmal angefasst wird. Ich denke, kachelmannwetter hat seine API geändert und ist jetzt komplett raus, weil zahlungspflichtig. D. h. die Prognosen sind evt. jetzt anders als vorher. Weiss ich aber nicht mit Bestimmtheit.

            I 1 Reply Last reply Reply Quote 0
            • I
              iceman8080 @iobrokerin last edited by

              @iobrokerin Moin,

              vielen Dank für Deine Hilfe.

              Mit Deiner detaillierten Anleitung konnte ich den Adapter auch anpassen und nun läuft die Prognose auch bei mir wieder bzw. der Adapter bleibt aktiv.

              Schöne Grüße iceman8080

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

              Support us

              ioBroker
              Community Adapters
              Donate

              848
              Online

              32.3k
              Users

              81.2k
              Topics

              1.3m
              Posts

              2
              5
              75
              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