Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Betatest Bright Sky v0.2.x

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Betatest Bright Sky v0.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ticaki Developer @sigi234 last edited by

      @sigi234
      ok ich baue das abschalten von current ein - ca. 30 Minuten.

      1 Reply Last reply Reply Quote 2
      • T
        ticaki Developer @sigi234 last edited by

        @sigi234
        ist auf github

        1 Reply Last reply Reply Quote 1
        • Armilar
          Armilar Most Active Forum Testing @sigi234 last edited by Armilar

          @sigi234

          ticaki baut noch ne weitere Funktion ein...

          Wenn du z.B. die Koordinaten in Deutschland hast (grenznah, z.B. Berchtesgaden), dann lässt die API auch einzelne Stationen zu, die explizit ausgewählt werden können...

          Beispiel:

          https://api.brightsky.dev/weather?lat=47.63706&lon=12.9986641&date=2025-08-19&wmo_station_id=11035,11120,11121 (Wien und Insbruck)

          Dabei wird der eigene Standort inoriert...

          T 1 Reply Last reply Reply Quote 0
          • T
            ticaki Developer @Armilar last edited by ticaki

            @armilar
            @sigi234
            das gilt aber nur für hourly - current geht nur in Deutschland

            wmo station ist eingebaut - sollte da noch nen link auf die stationsübersicht einbauen

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

              SUPER!
              Ich war vor kurzem noch beim DWD auf der Website, da meine geparsten Daten nicht immer richtig liefen.

              Da hab ich nach offenen Daten gesucht und auch ein API gefundrn, mit dem ich aber nicht (sofort) klar kam und hab es erst mal auf Eis gelegt.

              Dann brauch ich da ja nicht mehr ran, obwohl...

              @armilar sagte in Betatest Bright Sky v0.1.x:

              die Wetterdaten der nahegelegensten Wetter-Station des DWD

              ist nicht unbedingt mein Favorit.
              Hab den Umkreis erhöht, aber es bleibt dabei

              T 1 Reply Last reply Reply Quote 0
              • T
                ticaki Developer @Homoran last edited by

                @homoran
                lass mich raten du willst die auswählen können? 😄

                Homoran 2 Replies Last reply Reply Quote 1
                • Homoran
                  Homoran Global Moderator Administrators @ticaki last edited by Homoran

                  @ticaki ich wollte noch nicht abdrücken..

                  Screenshot_20250819-212158_Firefox.jpg

                  die liegt im Eifelvorland, und ich wohne im Kölner tiefland

                  und ja, ich hatte gehofft, auch/oder die Daten vom Flughafen köln Bonn zu sehen

                  EDIT:
                  Current ist Köln/Bonn!!

                  und für die Vorhersage ist Ville vielleicht gar nicht so falsch, da kommt häufig der Wind her

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

                    @ticaki sagte in Betatest Bright Sky v0.1.x:

                    @homoran
                    lass mich raten du willst die auswählen können? 😄

                    Du hast dir aber anscheinend noch einiges vorgenommen, wenn ich mir die Datenpunkte ansehen, von denen erst viele noch null waren, sich aber langsam füllen.

                    z.B. das Wetter-icon.....

                    Armilar 1 Reply Last reply Reply Quote 0
                    • Armilar
                      Armilar Most Active Forum Testing @ticaki last edited by

                      @ticaki

                      Beispiel für z.B. Insbruck:

                      d89e8bd0-34c4-472e-9b15-23fd9b8dd6fb-image.png

                      b9fb39a6-4478-45a1-a55f-69201e47677a-image.png

                      1 Reply Last reply Reply Quote 0
                      • Armilar
                        Armilar Most Active Forum Testing @Homoran last edited by

                        @homoran

                        347f581d-aad1-4bf2-aa2e-f822cf026711-image.png

                        10513 ist Köln/Bonn

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

                          @armilar sagte in Betatest Bright Sky v0.1.x:

                          10513 ist Köln/Bonn

                          hab's editiert gehabt

                          unter current ist Kön Bonn, unter forecast ist Ville.

                          Ihr seid ja schneller, als die Polizei erlaubt. Da ist ja schon wieder ein Update 😉

                          aber auch

                          brightsky.0
                          	2025-08-19 21:41:20.137	warn	Invalid poll interval currently: 60. Using default value of 30 minute.
                          admin.0
                          	2025-08-19 21:40:52.462	warn	brightsky has an invalid jsonConfig: [{"instancePath":"/items/wmo_station","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"step"},"message":"must NOT have additional properties"},{"instancePath":"/items/wmo_station","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/25/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match \"else\" schema"}]
                          brightsky.0
                          	2025-08-19 21:40:49.670	warn	Invalid poll interval currently: 60. Using default value of 30 minute.
                          brightsky.0
                          	2025-08-19 21:40:49.669	warn	Invalid WMO station ID. Using default value of "".
                          brightsky.0
                          	2025-08-19 21:38:53.694	warn	Invalid poll interval currently: 60. Using default value of 30 minute.
                          brightsky.0
                          	2025-08-19 21:38:53.693	warn	Invalid WMO station ID. Using default value of "".
                          brightsky.0
                          	2025-08-19 21:14:49.817	warn	Invalid poll interval currently: 60. Using default value of 30 minute.
                          brightsky.0
                          	2025-08-19 21:13:07.505	error	Error fetching weather data: {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:2090:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3207:11)\n at IncomingMessage.emit (node:events:536:35)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:4317:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Brightsky.weatherCurrentlyUpdate (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:361:22)\n at async Brightsky.weatherCurrentlyLoop (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:309:5)\n at async Brightsky.onReady (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:86:7)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"axios/1.11.0","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://api.brightsky.dev/current_weather?lat=...&lon=....&max_dist=10000","allowAbsoluteUrls":true},"code":"ERR_BAD_REQUEST","status":404}
                          brightsky.0
                          	2025-08-19 21:13:04.291	warn	Invalid poll interval currently: 60. Using default value of 30 minute.
                          
                          T Armilar 2 Replies Last reply Reply Quote 0
                          • T
                            ticaki Developer @Homoran last edited by ticaki

                            @homoran ist ja schön das ihr lat und long immer durch unsinn ersetzt. aber ich kopiere den unsinn da jetzt nicht raus suche mir koordinaten nur um dann das falsche ergebniss zu sehen - selbst ist der man - link im browser öffnen und gucken was der schreibt 😛

                            jsonConfig ist gefixt
                            dwd_station_id ist eingebaut aber noch nicht getestet
                            muß auch noch die lat long deaktivieren wenn man eine der stationen eingibt - die spielen dann keine rolle mehr

                            1 Reply Last reply Reply Quote 2
                            • Armilar
                              Armilar Most Active Forum Testing @Homoran last edited by Armilar

                              @homoran

                              10714ee0-185b-4442-ae39-deb093ee7c31-image.png

                              Current
                              b676c963-e011-43c1-aa40-29503052359a-image.png

                              und Forecast
                              1eade8bc-1f1d-46bf-868d-536898c8f06b-image.png

                              Beide Köln/Bonn 😉

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

                                @armilar bei mir nicht 😢

                                Current
                                Screenshot_20250819-220159_Firefox.jpg

                                hourly
                                Screenshot_20250819-220121_Firefox.jpg

                                ich mach morgen weiter!
                                du hast ja schon wieder was neues in der Konfig

                                1 Reply Last reply Reply Quote 0
                                • T
                                  ticaki Developer last edited by

                                  @homoran sagte in Betatest Bright Sky v0.1.x:

                                  2025-08-19 21:13:07.505 error Error fetching weather data: {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:2090:12)\n at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3207:11)\n at IncomingMessage.emit (node:events:536:35)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:4317:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Brightsky.weatherCurrentlyUpdate (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:361:22)\n at async Brightsky.weatherCurrentlyLoop (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:309:5)\n at async Brightsky.onReady (/opt/iobroker/node_modules/iobroker.brightsky/build/main.js:86:7)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","User-Agent":"axios/1.11.0","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://api.brightsky.dev/current_weather?lat=...&lon=....&max_dist=10000","allowAbsoluteUrls":true},"code":"ERR_BAD_REQUEST","status":404} brightsky.0

                                  Mit Link meine ich - in dieser Fehlermeldung versteckt sich das:

                                  "url":"https://api.brightsky.dev/current_weather?lat=...&lon=....&max_dist=10000"

                                  jetzt kopiert man den Link in den Browser und die Antwort hilft mir und auch euch weiter. Wenn die Koordinaten nicht unterstützt werden steht da: {"detail":"No sources match your criteria"}

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

                                    @ticaki DANKE!
                                    ist wohl schon zu spät, da hätte ich selbst drauf kommen müssen

                                    ...und ja, das passiert bei dem URL aus dem Log

                                    1 Reply Last reply Reply Quote 1
                                    • T
                                      ticaki Developer last edited by ticaki

                                      Kurzzusammengefasst:

                                      v0.2.0

                                      • dwd station id kann eingegeben werden
                                      • wmo station id kann eingegeben werden
                                      • links auf Listen für beides hinzugefügt
                                      • current, hourly, daily kann abgewählt werden
                                      • info text hinzugefügt

                                      bei den beiden Stations IDs kann eine kommagetrennte liste verwendet werden. 02345,01111 das ist eine prioritäten liste nicht eine anzeige liste 🙂
                                      Die ID's sind 5 stellig, bei Bedarf mit 0 vorne auffüllen.
                                      Koordinaten und die Stationen sind ein entweder oder - ist ein station ausgefüllt wird diese verwendet, wenn nicht die Koordinaten.

                                      EDIT: der DWD Link wurde getauscht, im ersten Link haben ein paar 100/1000 Stationen gefehlt.

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @ticaki last edited by

                                        @ticaki sagte in Betatest Bright Sky v0.2.x:

                                        Kurzzusammengefasst:
                                        v0.2.0

                                        Läuft. Info ist da aber nicht Richtig? Current habe ich abgewählt.

                                        brightsky.0
                                        	2025-08-20 11:38:26.377	info	Adapter brightsky.0 is now ready. Weather data will be updated every 30 minutes for current weather and every 1 hours for hourly weather. Daily weather data will also be created.
                                        brightsky.0
                                        	2025-08-20 11:38:17.641	info	starting. Version 0.2.0 (non-npm: ticaki/ioBroker.brightsky#6547eca25fd5fd367f7a8918c6c91cedb52ff00c) in C:/SmartHome/node_modules/iobroker.brightsky, node: v22.18.0, js-controller: 7.0.7
                                        brightsky.0
                                        	2025-08-20 11:36:45.774	info	terminating
                                        brightsky.0
                                        	2025-08-20 11:36:45.267	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        brightsky.0
                                        	2025-08-20 11:36:45.266	info	terminating
                                        brightsky.0
                                        	2025-08-20 11:36:45.260	info	Got terminate signal TERMINATE_YOURSELF 
                                        
                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          ticaki Developer @sigi234 last edited by

                                          @sigi234
                                          Ja info ist noch alt - das mache ich dann noch richtig 🙂

                                          sigi234 1 Reply Last reply Reply Quote 0
                                          • sigi234
                                            sigi234 Forum Testing Most Active @ticaki last edited by

                                            @ticaki sagte in Betatest Bright Sky v0.2.x:

                                            @sigi234
                                            Ja info ist noch alt - das mache ich dann noch richtig 🙂

                                            Ok, bin ein wenig pingelig. 😀

                                            Habe noch einige Null Werte:

                                            Screenshot (1262).png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            498
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            57
                                            209
                                            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