Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. pvforecast has an invalid jsonConfig

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    pvforecast has an invalid jsonConfig

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

      @guitardoc Deine NodeJS Version ist welche ?

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active last edited by

        @guitardoc

        Mit welchen Versionen bist du da unterwegs?

        mcm1957 1 Reply Last reply Reply Quote 1
        • mcm1957
          mcm1957 @guitardoc last edited by

          @guitardoc said in pvforecast has an invalid jsonConfig:

          Hallo zusammen,

          Ich bekomme den PVForecast Adapter nicht zum Laufen. Es kommt die folgende Meldung im Protokoll:

          admin.0
          2024-04-05 17:29:47.698	warn	pvforecast has an invalid jsonConfig: [{"instancePath":"/items/_pvsystems/items/devices/items/4","schemaPath":"#/items/allOf/5/then/allOf/1/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"width"},"message":"must NOT have additional properties"},{"instancePath":"/items/_pvsystems/items/devices","schemaPath":"#/patternProperties/%5E.%2B/allOf/23/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"/items/_pvsystems","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
          

          Die Werte in den Objekten stehen auch alle auf Null. Ich bin etwas ratlos...

          Das ist nur eine WARNING und die kanst du ignorieren. Die hat definitiv nichts mit der Funktion des Adapters zu tun.

          https://github.com/iobroker-community-adapters/ioBroker.pvforecast/issues/133

          HGlab01 created this issue in iobroker-community-adapters/ioBroker.pvforecast

          closed [Bug]: Validator issue in the jsonConfig.json #133

          1 Reply Last reply Reply Quote 0
          • mcm1957
            mcm1957 @Thomas Braun last edited by

            @thomas-braun said in pvforecast has an invalid jsonConfig:

            @guitardoc

            Mit welchen Versionen bist du da unterwegs?

            Adapter
            js-controller
            node
            O/S

            Und bitte das VOLLSTÄNDIGE log des Adapterstarts

            1 Reply Last reply Reply Quote 0
            • haus-automatisierung
              haus-automatisierung Developer Most Active last edited by

              @mcm57 Und wieder einer 🙃 Lass die Meldung doch bitte rausnehmen

              mcm1957 1 Reply Last reply Reply Quote 0
              • haus-automatisierung
                haus-automatisierung Developer Most Active @guitardoc last edited by

                @guitardoc sagte in pvforecast has an invalid jsonConfig:

                Die Werte in den Objekten stehen auch alle auf Null. Ich bin etwas ratlos...

                Das hat mit der Meldung aber nix zu tun. Gern mal ein ganzes Debug-Log teilen was genau passiert

                G 1 Reply Last reply Reply Quote 0
                • G
                  guitardoc @haus-automatisierung last edited by guitardoc

                  Aaaaaalso:

                  Bookworm in LXC auf Proxmox
                  Node 18.20.1
                  PV-Prognose 2.9.1
                  SolarPredictionAPI mit API-Schlüssel

                  pvforecast.0
                  2024-04-05 18:28:42.793	error	Axios Error AxiosError: Request failed with status code 429
                  
                  pvforecast.0
                  2024-04-05 18:28:42.742	error	Axios Error AxiosError: Request failed with status code 403
                  
                  pvforecast.0
                  2024-04-05 17:28:42.479	info	Starting internal update cron (every 15 Minutes) for timezone: Europe/Berlin
                  
                  pvforecast.0
                  2024-04-05 17:28:42.450	error	Axios Error AxiosError: Request failed with status code 429
                  
                  pvforecast.0
                  2024-04-05 17:28:42.398	error	Axios Error AxiosError: Request failed with status code 403
                  
                  pvforecast.0
                  2024-04-05 17:28:41.561	info	using system latitude: xxxxx longitude: yyyyyy
                  
                  pvforecast.0
                  2024-04-05 17:28:41.549	info	starting. Version 2.9.1 in /opt/iobroker/node_modules/iobroker.pvforecast, node: v18.20.1, js-controller: 5.0.19
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • mcm1957
                    mcm1957 @haus-automatisierung last edited by

                    @haus-automatisierung
                    Im Prinzip hast ja recht / versteh ich dich. Aber derzeit gibts keinen anderen funktionierenden Check. Sobald der existiert kann man auch von meiner Seite drüber reden die Meldung aus dem Log zu nhemen.

                    Kennst du dich mit Schemas aus?
                    Ev. kannst du ja das Schema fixen wenn Moritz nicht dazu kommt .
                    Kannst du einen geeigneten Codeschnipsel bastel n der die Prüfung vornimmt und den ich in den repochecker einbauen könnte?

                    Aber da ist hier OT. Können wir auch beim RepoChecker diskutieren.
                    (https://github.com/ioBroker/ioBroker.repochecker/issues/174)

                    mcm1957 created this issue in ioBroker/ioBroker.repochecker

                    open Add jsonConfig check #174

                    1 Reply Last reply Reply Quote 1
                    • Thomas Braun
                      Thomas Braun Most Active @guitardoc last edited by

                      @guitardoc

                      Hast du die Systemzeit sauber gesetzt? Das sieht für mich etwas krumm aus.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        guitardoc @Thomas Braun last edited by

                        @thomas-braun Wie bekomme ich das raus?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @guitardoc last edited by

                          @guitardoc

                          Schau dir

                          timedatectl 
                          

                          an.

                          G 1 Reply Last reply Reply Quote 1
                          • G
                            guitardoc @Thomas Braun last edited by

                            @thomas-braun said in pvforecast has an invalid jsonConfig:

                            timedatectl

                            Hmm, da kommt

                            Uncaught ReferenceError: timedatectl is not defined
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @guitardoc last edited by

                              @guitardoc

                              Sollte eigentlich so aussehen:

                              [thomas@roamer iob_diag]$ timedatectl 
                                             Local time: Fr 2024-04-05 20:08:21 CEST
                                         Universal time: Fr 2024-04-05 18:08:21 UTC
                                               RTC time: Fr 2024-04-05 18:08:21
                                              Time zone: Europe/Berlin (CEST, +0200)
                              System clock synchronized: yes
                                            NTP service: active
                                        RTC in local TZ: no
                              [thomas@roamer iob_diag]$ 
                              
                              G 1 Reply Last reply Reply Quote 0
                              • G
                                guitardoc @Thomas Braun last edited by guitardoc

                                @thomas-braun Arrrgh, mein Fehler. War im falschen Programm… 🙂

                                mn@iobroker:~$ timedatectl
                                               Local time: Fri 2024-04-05 20:27:07 CEST
                                           Universal time: Fri 2024-04-05 18:27:07 UTC
                                                 RTC time: n/a
                                                Time zone: Europe/Berlin (CEST, +0200)
                                System clock synchronized: yes
                                              NTP service: inactive
                                          RTC in local TZ: no
                                mn@iobroker:~$
                                
                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  guitardoc @guitardoc last edited by

                                  Muss da irgendwo was geändert werden? Mal abgesehen von der Uhrzeit stehen da unterschiedliche Dinge…

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @guitardoc last edited by

                                    @guitardoc sagte in pvforecast has an invalid jsonConfig:

                                    Mal abgesehen von der Uhrzeit stehen da unterschiedliche Dinge…

                                    Nee, passt. Unterschiedliche Dinge, weil unsere Systeme auch unterschiedlich sind.

                                    G 1 Reply Last reply Reply Quote 1
                                    • G
                                      guitardoc @Thomas Braun last edited by

                                      @thomas-braun OK, danke fürs Nachschauen. Vielleicht muss ich aber irgendwo anders noch was einstellen damit der Adapter läuft?

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

                                        Niemand mehr eine Idee? Hier noch meine Adaptereinstellungen:

                                        deb3dad4-35d8-49f6-9928-682cfffabe3a-image.png

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @guitardoc last edited by

                                          @guitardoc

                                          403 und 429 kommen vom Server, der lässt dich nicht rein. Zu oft angefragt?

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            guitardoc @Thomas Braun last edited by

                                            @thomas-braun Hmm, ich hab den letzten Provider in der Liste ausgewählt, weil der für das volle Programm den API-Key kostenlos ausgibt. Ich brauche die Berücksichtigung des Wetters, nur vom möglichen Sonnenstand her nützt es mir nicht viel wenn dicke Wolken am Himmel hängen.
                                            Vielleicht funktioniert der Provider auch gar nicht mehr.
                                            Hatte gestern mal noch einen anderen getestet, aber der funktionierte auch nicht. Werde es nachher noch mal testen. Ohne Einbeziehung des Wetters nützt es mir allerdings wie gesagt nicht viel.

                                            haus-automatisierung G 2 Replies 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

                                            881
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            38
                                            1762
                                            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