Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test PV Forecast Adapter

    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

    Test PV Forecast Adapter

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

      @patrickwalther Guten Morgen,
      versuche jetzt schon ne weile den Adapter wieder zum laufen zu bringen. nach den start geht er kurz auf grün und nach nach weile geht er wieder auf rot. hab schon einige einstellungen hin und her geändert aber leider ohne erfolg. benutze den adapter mit api key.
      im log erscheint folgende fehlermeldung,

      Axios Error Error: Request failed with status code 404

      hier mal ein logausschnitt, adapter steht auf debug. längen und breitengrad habe ich gexxxt.

      host.debianIObroker
      2022-01-15 07:53:00.729	warn	Do not restart adapter system.adapter.pvforecast.0 because restart loop detected
      host.debianIObroker
      2022-01-15 07:53:00.729	info	Restart adapter system.adapter.pvforecast.0 because enabled
      host.debianIObroker
      2022-01-15 07:53:00.728	error	instance system.adapter.pvforecast.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      
      pvforecast.0
      2022-01-15 07:53:00.054	debug	summary.power_kwh : [0,0,0,0,0]
      
      pvforecast.0
      2022-01-15 07:53:00.053	debug	summary.power_kw: [0,0,0,0,0]
      
      pvforecast.0
      2022-01-15 07:53:00.039	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      pvforecast.0
      2022-01-15 07:53:00.037	info	terminating
      
      pvforecast.0
      2022-01-15 07:53:00.036	debug	cleaned everything up...
      
      pvforecast.0
      2022-01-15 07:53:00.032	error	Cannot read property 'val' of null
      
      pvforecast.0
      2022-01-15 07:53:00.032	error	TypeError: Cannot read property 'val' of null at weather_data (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:1075:35) at runNextTicks (internal/process/task_queues.js:60:5) at processImmediate (internal/timers.js:437:9)
      
      pvforecast.0
      2022-01-15 07:53:00.030	error	unhandled promise rejection: Cannot read property 'val' of null
      
      pvforecast.0
      2022-01-15 07:53:00.026	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      pvforecast.0
      2022-01-15 07:52:59.160	debug	plant_d_everyhour5false
      
      pvforecast.0
      2022-01-15 07:52:59.160	debug	plant_d_everyhour4false
      
      pvforecast.0
      2022-01-15 07:52:59.159	debug	plant_d_everyhour3false
      
      pvforecast.0
      2022-01-15 07:52:59.159	debug	plant_d_everyhour2false
      
      pvforecast.0
      2022-01-15 07:52:59.158	debug	plant_d_everyhour1false
      
      pvforecast.0
      2022-01-15 07:52:59.157	debug	plant_d_everyhourfalse,false,false,false,false
      
      pvforecast.0
      2022-01-15 07:52:59.155	debug	write zero to everyhour
      
      pvforecast.0
      2022-01-15 07:52:59.154	debug	vorübergabe_power_kw[4]: 0
      
      pvforecast.0
      2022-01-15 07:52:59.153	debug	vorübergabe_power_kw[3]: 0
      
      pvforecast.0
      2022-01-15 07:52:59.152	debug	vorübergabe_power_kw[2]: 0
      
      pvforecast.0
      2022-01-15 07:52:59.152	debug	vorübergabe_power_kw[1]: {"2022-01-15 07:55:00":0,"2022-01-15 07:58:00":32,"2022-01-15 08:00:00":163,"2022-01-15 09:00:00":878,"2022-01-15 10:00:00":1635,"2022-01-15 11:00:00":2246,"2022-01-15 12:00:00":2709,"2022-01-15 13:00:00":2815,"2022-01-15 14:00:00":2466,"2022-01-15 15:00:00":1478,"2022-01-15 16:00:00":131,"2022-01-15 16:23:00":26,"2022-01-15 16:45:00":0,"2022-01-16 07:54:00":0,"2022-01-16 07:57:00":84,"2022-01-16 08:00:00":421,"2022-01-16 09:00:00":746,"2022-01-16 10:00:00":882,"2022-01-16 11:00:00":1037,"2022-01-16 12:00:00":1128,"2022-01-16 13:00:00":1029,"2022-01-16 14:00:00":906,"2022-01-16 15:00:00":692,"2022-01-16 16:00:00":400,"2022-01-16 16:23:00":78,"2022-01-16 16:46:00":0}
      
      pvforecast.0
      2022-01-15 07:52:59.151	debug	vorübergabe_power_kw[0]: 0
      
      pvforecast.0
      2022-01-15 07:52:59.149	debug	1.place: xxx
      
      pvforecast.0
      2022-01-15 07:52:59.149	debug	1.transfer: success
      
      pvforecast.0
      2022-01-15 07:52:59.136	debug	summary.power_day_kWh:13.848 summary.power_day_tomorrow_kWh: 7.023
      
      pvforecast.0
      2022-01-15 07:52:59.136	debug	watts_tomorrow_plants[4]0
      
      pvforecast.0
      2022-01-15 07:52:59.136	debug	watts_tomorrow_plants[3]0
      
      pvforecast.0
      2022-01-15 07:52:59.135	debug	watts_tomorrow_plants[2]0
      
      pvforecast.0
      2022-01-15 07:52:59.135	debug	watts_tomorrow_plants[1]0
      
      pvforecast.0
      2022-01-15 07:52:59.134	debug	watts_tomorrow_plants[0]7.023
      
      pvforecast.0
      2022-01-15 07:52:59.134	debug	watts_tag_plants[4]0
      
      pvforecast.0
      2022-01-15 07:52:59.134	debug	watts_tag_plants[3]0
      
      pvforecast.0
      2022-01-15 07:52:59.133	debug	watts_tag_plants[2]0
      
      pvforecast.0
      2022-01-15 07:52:59.133	debug	watts_tag_plants[1]0
      
      pvforecast.0
      2022-01-15 07:52:59.133	debug	watts_tag_plants[0]13.848
      
      pvforecast.0
      2022-01-15 07:52:59.132	debug	ThisUrl
      
      pvforecast.0
      2022-01-15 07:52:59.132	debug	ThisUrl
      
      pvforecast.0
      2022-01-15 07:52:59.131	debug	ThisUrl
      
      pvforecast.0
      2022-01-15 07:52:59.131	debug	ThisUrl
      
      pvforecast.0
      2022-01-15 07:52:59.129	debug	url_read_index1
      
      pvforecast.0
      2022-01-15 07:52:59.124	debug	axios done
      
      pvforecast.0
      2022-01-15 07:52:58.756	error	Axios Error Error: Request failed with status code 404
      
      pvforecast.0
      2022-01-15 07:52:54.801	debug	plant-everyhour
      
      pvforecast.0
      2022-01-15 07:52:54.530	debug	url_weather1https://api.forecast.solar/0ea6975d576c212f/weather/xxx/xxx/
      
      pvforecast.0
      2022-01-15 07:52:54.527	debug	ThisUrl https://api.forecast.solar/0ea6975d576c212f/estimate/xxx/xxx/43/0/6.48
      
      pvforecast.0
      2022-01-15 07:52:54.527	debug	pvname: Bernd‘s PV,,,,
      
      pvforecast.0
      2022-01-15 07:52:54.526	debug	plant_active: true,false,false,false,false
      
      pvforecast.0
      2022-01-15 07:52:54.526	debug	getpv
      
      pvforecast.0
      2022-01-15 07:52:54.525	info	Plant1 -> tilt: 43 Azimuth: 0 Plant-performance: 6.48 plant name: Bernd‘s PV
      
      pvforecast.0
      2022-01-15 07:52:54.525	info	urls: https://api.forecast.solar/0ea6975d576c212f/estimate/xxx/xxx/43/0/6.48
      
      pvforecast.0
      2022-01-15 07:52:54.524	info	Längengrad: xxxx: xxxx
      
      pvforecast.0
      2022-01-15 07:52:54.518	debug	weather_active: true
      
      pvforecast.0
      2022-01-15 07:52:54.517	debug	plant_active: true,false,false,false,false
      
      pvforecast.0
      2022-01-15 07:52:54.477	info	starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.pvforecast, node: v14.18.2, js-controller: 3.3.22
      host.debianIObroker
      2022-01-15 07:52:52.433	info	instance system.adapter.pvforecast.0 started with pid 585
      host.debianIObroker
      2022-01-15 07:52:52.173	info	"system.adapter.pvforecast.0" enabled
      
      

      ich hoffe mir kann jemand weiterhelfen,
      danke schon mal im vorraus...

      JB_Sullivan P 2 Replies Last reply Reply Quote 0
      • JB_Sullivan
        JB_Sullivan @Scheuler last edited by

        @scheuler Na bei 404 wird er keinen Zugriff auf die Seite von forecast solor haben. Da bei mir alles läuft, ist die Seite schonmal nicht down.

        Ist im Adapter alles korrekt eingegeben - api Schlüssel, Lizenz (Gebühr bezahlt), Tippfehler in der URL? Wie gesagt, bei mir läuft alles. Adapter Version 0.0.2

        Scheuler 1 Reply Last reply Reply Quote 0
        • Scheuler
          Scheuler @JB_Sullivan last edited by

          @jb_sullivan
          hab jetzt api erneuert, url kontrolliert und die lizenz habe ich im dezember auch bezahlt, nach wie vor kommt die fehlermeldung

          pvforecast.0
          2022-01-15 08:15:16.485	error	Axios Error Error: Request failed with status code 404
          
          JB_Sullivan 1 Reply Last reply Reply Quote 0
          • JB_Sullivan
            JB_Sullivan @Scheuler last edited by

            @scheuler

            Hmm - evtl. würde ich Axios als Achsen Fehler interpretieren, und sagen das du ggf. Längen und Breitengrad vertauscht hast?

            Scheuler 1 Reply Last reply Reply Quote 0
            • Scheuler
              Scheuler @JB_Sullivan last edited by

              @jb_sullivan
              hab ich nochmal kontrolliert, passt auch bzw. wird ja vom system übernommen.

              host.debianIObroker
              2022-01-15 08:35:03.291	info	"system.adapter.pvforecast.0" disabled
              host.debianIObroker
              2022-01-15 08:35:00.679	info	Restart adapter system.adapter.pvforecast.0 because enabled
              host.debianIObroker
              2022-01-15 08:35:00.678	error	instance system.adapter.pvforecast.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              
              pvforecast.0
              2022-01-15 08:35:00.146	debug	summary.power_kwh : [0,0,0,0,0]
              
              pvforecast.0
              2022-01-15 08:35:00.144	debug	summary.power_kw: [0,0,0,0,0]
              
              pvforecast.0
              2022-01-15 08:35:00.045	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              
              pvforecast.0
              2022-01-15 08:35:00.043	info	terminating
              
              pvforecast.0
              2022-01-15 08:35:00.042	debug	cleaned everything up...
              
              pvforecast.0
              2022-01-15 08:35:00.033	error	Cannot read property 'val' of null
              
              pvforecast.0
              2022-01-15 08:35:00.032	error	TypeError: Cannot read property 'val' of null at weather_data (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:1075:35)
              
              pvforecast.0
              2022-01-15 08:35:00.031	error	unhandled promise rejection: Cannot read property 'val' of null
              
              pvforecast.0
              2022-01-15 08:35:00.030	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              
              
              JB_Sullivan 1 Reply Last reply Reply Quote 0
              • JB_Sullivan
                JB_Sullivan @Scheuler last edited by

                @scheuler OK letzte Idee, dann bin ich raus. Geodaten mit Punkten getrennt? Anlagendaten mit Komma? Er sucht eine Wert der nicht vorhanden ist (null)

                Scheuler 1 Reply Last reply Reply Quote 0
                • Scheuler
                  Scheuler @JB_Sullivan last edited by

                  @jb_sullivan
                  ja, stimmt auch alles.
                  was hast du bei "datalabel rotation" angegeben?!

                  1 Reply Last reply Reply Quote 0
                  • P
                    PatrickWalther Developer @Scheuler last edited by

                    @scheuler Guten Morgen,

                    Kannst du mir die Log Datei zu und die Config Datei zu Verfügung stellen? Wenn geht's komplett mit Schlüssel usw.

                    erde die Daten nicht Verwenden, weiter geben oder sonstiges.

                    Grüße

                    Scheuler 1 Reply Last reply Reply Quote 0
                    • qqolli
                      qqolli @PatrickWalther last edited by

                      @patrickwalther

                      Hallo,

                      habe mir die aktuellste Version des Adapters mittels Katze installiert. Aber irgendwie habe ich es wohl noch nicht ganz verstanden, wie der Adapter funktioniert

                      Ich bekomme keine Instanz angezeigt, wohl aber einen DP mit Namen "pvforecast", aber da ist nur ein Ordner "Admin" enthalten der leer ist.

                      Was muss ich noch machen, bzw. habe ich noch vergessen?

                      Diginix 1 Reply Last reply Reply Quote 0
                      • Diginix
                        Diginix @qqolli last edited by Diginix

                        @qqolli Wenn du Adapter nicht aus dem Repo insallierst, musst du die Instanz selbst erstellen. Danach kommst du dann auch an die Config und bekommst die Objekte angelegt.

                        @PatrickWalther
                        btw: Ich hatte heute 4 Uhr beim Abruf auch einen Fehler:

                        2022-01-15 04:01:31.848  - error: pvforecast.0 (3265) Axios Error Error: Request failed with status code 502
                        

                        Die Vorhersagedaten waren danach auch weiterhin die von gestern. Habe dann gegen 8 Uhr die Instanz restartet und Werte für heute erhalten. Habe nun einen autmatischen Instanz Restart täglich 7 Uhr eingestellt.

                        qqolli 1 Reply Last reply Reply Quote 0
                        • qqolli
                          qqolli @Diginix last edited by

                          @diginix

                          Hi,

                          na ja, in dem aktuellen Repro ist er ja (noch) nicht, also habe ich ihn über die Katze direkt von Github installiert.

                          Ähm, wie kann ich denn die Instanz selbst erstellen?

                          Diginix 1 Reply Last reply Reply Quote 0
                          • Scheuler
                            Scheuler @PatrickWalther last edited by

                            @patrickwalther said in Test PV Forecast Adapter:

                            @scheuler Guten Morgen,

                            Kannst du mir die Log Datei zu und die Config Datei zu Verfügung stellen? Wenn geht's komplett mit Schlüssel usw.

                            erde die Daten nicht Verwenden, weiter geben oder sonstiges.

                            Grüße

                            sorry, aber jetzt komm ich an meine grenzen. wo finde ich diese dateien?!

                            P 1 Reply Last reply Reply Quote 0
                            • Diginix
                              Diginix @qqolli last edited by

                              @qqolli Du hast auch nichts falsch gemacht. Ich wollte damit nur sagen, dass es normal ist dass man keine automatische Instanz bekommt bei Adapter aus nicht offiziellen Quellen.
                              Hier erstellst du die Instanz:
                              4ce7f2b3-06d8-4337-a7f9-6e3dbb2aff19-image.png
                              Das ist auch nur einmalig nötig. Bei zukünftigen Updates über GIT URLs, brauchst du das nicht mehr.

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

                                @diginix sagte in Test PV Forecast Adapter:

                                bei Adapter aus nicht offiziellen Quellen.

                                https://www.iobroker.net/#de/documentation/tutorial/adapter.md?dieinstallationvongithub

                                1 Reply Last reply Reply Quote 0
                                • qqolli
                                  qqolli @Diginix last edited by

                                  @diginix

                                  Jetzt hast Du mich etwas verwirrt 🙂

                                  Ich dachte, es gibt noch keine offizielle Quelle. Gibt es eine?

                                  Da ich über die Katze installiert habe, taucht er auch nicht auf der Adapterseite auf, wo ich eine Instanz erzeugen könnte.

                                  Diginix 1 Reply Last reply Reply Quote 0
                                  • Diginix
                                    Diginix @qqolli last edited by Diginix

                                    @qqolli Nein es gibt nur die Quelle über GIT bisher. Wenn der Adapter auf der Adapterseite nicht aufgeführt wird, ist er auch nicht installiert. Da passt also schon was bei der vermeintlichen Inst. über die Katze nicht.

                                    Ich habe ihn so inst:
                                    de97f2d3-4ec7-49ec-a7a1-5b4b2a8056f8-image.png

                                    qqolli 1 Reply Last reply Reply Quote 0
                                    • qqolli
                                      qqolli @Diginix last edited by

                                      @diginix

                                      Hmm, aber während der Installation hat er angezeigt das er "etwas" installiert hat und zumindest den DP hat er erzeugt.

                                      Soll ich nochmal "drüber installieren"?

                                      fde0c312-298f-422f-9613-53593f62a67a-image.png

                                      Genau so hatte ich ihn installiert 🙂

                                      J Diginix 2 Replies Last reply Reply Quote 0
                                      • J
                                        JoergH @qqolli last edited by

                                        @qqolli In der Adapterübersicht müsste er nun zu finden sein. Wenn nicht, dann restarte mal den iobroker.

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          PatrickWalther Developer @Scheuler last edited by

                                          @scheuler die Log Datei kannst du herunterladen unter Protokolle(oben in der Mitte).

                                          Die Config Datei ist in den Settings in dem jeweiligen Adapter oben rechts;-).

                                          Sende es gerne per Discord oder per PN.

                                          J Scheuler 3 Replies Last reply Reply Quote 0
                                          • Diginix
                                            Diginix @qqolli last edited by

                                            @qqolli Wie JoergH schon schrieb, kannst du auch den iobroker mal komplett neu starten.
                                            Oder schaust mal ob es dieses Verzeichnis gibt:
                                            /opt/iobroker/node_modules/iobroker.pvforecast/
                                            bzw ob in Datei /opt/iobroker/package.json diese Zeile existiert:

                                                "iobroker.pvforecast": "github:Patrick-Walther/ioBroker.pvforecast#f33c4055698c0d2acddae4925130929c2cb9b995",
                                            
                                            qqolli 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            770
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            forecast photovoltaik
                                            113
                                            879
                                            215391
                                            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