Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Weatherunderground Adapter Reborn 3.0

    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

    Weatherunderground Adapter Reborn 3.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      abg0002 @apollon77 last edited by

      @apollon77
      Klasse, das funktioniert jetzt! Super Arbeit!
      Was mich nur wundert, dass es auf dem anderen System nach wie vor läuft mit der 3.0.9

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Der Adapter holt sich API keys aus den Webseiten falls keine da sind und genau bei dem Schritt gab es Probleme. Wenn die API Keys extrahiert sind werden Sie gespeichert und dann direkt genutzt um die Daten abzuholen. Nur falls da ein Fehler zurückkommen würde, würden die Keys neu geholt.
        Von daher sind primär neuinstallationen betroffen.

        A 1 Reply Last reply Reply Quote 0
        • A
          abg0002 @apollon77 last edited by

          @apollon77
          hab mir grad mal die Änderungen angesehen. Mit dem Header hätte ich auch drauf kommen können....
          Zeigt ja aber auf, das WU da weiter die Zugriffe eindämmen will, oder?

          1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            We will see ... 🙂 The fight has started

            1 Reply Last reply Reply Quote 1
            • padrino
              padrino Most Active last edited by

              Kann mir jemand sagen, wie man dan Adapter nutzt bzw. gibt es eine Anleitung dafür?
              Hab ihn und eine Instanz installiert, aber eine Objektstruktur legt er nicht an und auch bei Instanzen hat er keine "Status LED"?
              Bin also ratlos... 😞

              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                Alles einstellen, dann hat der Adapter eine "Schedule" (denke im normalfall läuft der einmal die Stunde zu Minute 12, siehe Info unter Instanzen da gibt es eine Spalte mit "12 * * * *" Kannst Du ändern). Die Objekte werden angelegt sobald er das erste mal Daten liesst, kann also dann "verspätet" kommen.

                padrino 1 Reply Last reply Reply Quote 1
                • padrino
                  padrino Most Active @apollon77 last edited by padrino

                  @apollon77

                  Danke, alles klar, damit (also Warten ;)) wurden die Objekte erzeugt. 😃
                  Leider läuft es nicht

                  ohne "Ältere WU-APIs nutzen" spuckt das log

                  2019-06-03 17:56:01.833 - info: weatherunderground.0 starting. Version 3.0.10 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v8.11.4
                  2019-06-03 17:56:05.100 - error: weatherunderground.0 Unable to get PWS dashboard page: null / 503
                  2019-06-03 17:56:05.645 - error: weatherunderground.0 exception in : body.daily_forecast2TypeError: original.lastIndexOf is not a function
                  

                  aus, mit "Ältere WU-APIs nutzen"

                  2019-06-03 17:58:01.823 - info: weatherunderground.0 starting. Version 3.0.10 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v8.11.4
                  2019-06-03 17:58:05.016 - error: weatherunderground.0 Unable to get PWS dashboard page: null / 503
                  2019-06-03 17:58:05.266 - error: weatherunderground.0 Wunderground reported an error: null, 401
                  
                  1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 last edited by

                    Einstellunegn bzw Debug Log bitte.

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

                      @apollon77

                      Leider auch bei mir.............Es kommen keine Daten mehr.

                      weatherunderground.0	2019-06-04 11:43:03.870	error	Wunderground reported an error: null, 401
                      weatherunderground.0	2019-06-04 11:43:03.609	debug	get WU legacy data: http://api.wunderground.com/api/undefined/forecast/hourly/conditions/units:m/lang:DL/q/xx.xxxxxxxxx%xxxxxxxxxxx.json
                      weatherunderground.0	2019-06-04 11:43:03.609	debug	Use legacy API Key undefined
                      weatherunderground.0	2019-06-04 11:43:03.609	debug	Use Legacy API
                      weatherunderground.0	2019-06-04 11:43:03.608	error	Unable to get PWS dashboard page: null / 503
                      weatherunderground.0	2019-06-04 11:43:00.928	debug	get PWS dashboard page: https://www.wunderground.com/personal-weather-station/dashboard
                      weatherunderground.0	2019-06-04 11:43:00.927	debug	location has not changed, reuse extracted URLs
                      weatherunderground.0	2019-06-04 11:43:00.924	debug	initialize Hourly Forecast Url: https://api.weather.com/v1/geocode/48.15/14.24/forecast/hourly/240hour.json?apiKey=xxxxxxxxxxxxxxxxx&units=e&language=en-US
                      weatherunderground.0	2019-06-04 11:43:00.921	debug	initialize Daily Forecast Url: https://api.weather.com/v1/geocode/xx.xx/forecast/daily/5day.json?apiKey=xxxxxxxxxxxxxxxx&units=e&language=en-US
                      weatherunderground.0	2019-06-04 11:43:00.918	debug	initialize Current Observation url: https://api.weather.com/v2/pws/observations/current?apiKey=xxxxxxxxxxxxxxxxxx&units=e&stationId=xxxxxxxxxxxx&format=json
                      weatherunderground.0	2019-06-04 11:43:00.916	debug	initialize Web Key: xxxxxxxxxxxxxxxxxxxxxxx
                      weatherunderground.0	2019-06-04 11:43:00.589	debug	init forecast objects
                      weatherunderground.0	2019-06-04 11:43:00.587	debug	init conditions objects
                      weatherunderground.0	2019-06-04 11:43:00.585	debug	on ready: DL true true true true
                      weatherunderground.0	2019-06-04 11:43:00.573	info	starting. Version 3.0.10 in C:/ioBroker/node_modules/iobroker.weatherunderground, node: v10.16.0
                      weatherunderground.0	2019-06-04 11:43:00.561	debug	statesDB connected
                      weatherunderground.0	2019-06-04 11:43:00.551	debug	objectDB connected
                      weatherunderground.0	2019-06-04 11:41:05.571	error	Wunderground reported an error: null, 401
                      weatherunderground.0	2019-06-04 11:41:05.312	error	Unable to get PWS dashboard page: null / 503
                      weatherunderground.0	2019-06-04 11:41:01.628	info	starting. Version 3.0.10 in C:/ioBroker/node_modules/iobroker.weatherunderground, node: v10.16.0
                      

                      Screenshot (3356)_LI.jpg

                      Platform: Windows
                      Architecture: x64
                      RAM: 7.9 GB
                      Node.js: v10.16.0
                      NPM: 6.9.0
                      Admin: 3.6.3
                      JS: 1.5.12
                      Active instances: 45

                      WU.log

                      crunchip apollon77 2 Replies Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @sigi234 last edited by crunchip

                        @sigi234 DE funktioniert noch😆
                        @apollon77 Messstation ist bei mir angegeben

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @sigi234 last edited by

                          Bitte mal entweder des´n "Legacy API" knopf aus machen oder eine PWS Station-ID angeben. Geht es dann wieder? Scheinbar ist die "Fallback seite um den Legacy key auszulesen wenn keine Station-ID angegeben ist" nicht mehr erreichbar

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

                            @apollon77 sagte in Weatherunderground Adapter Reborn 3.0:

                            Bitte mal entweder des´n "Legacy API" knopf aus machen

                            Ja, Daten kommen jetzt........

                            host.Medion	2019-06-04 13:12:06.510	info	instance system.adapter.weatherunderground.0 terminated with code 0 (OK)
                            weatherunderground.0	2019-06-04 13:12:03.979	debug	all forecast values set
                            weatherunderground.0	2019-06-04 13:12:03.965	debug	all current conditions values set
                            weatherunderground.0	2019-06-04 13:12:03.756	debug	get hourly forecast data: https://api.weather.com/v1/geocode/48.15/14.24/forecast/hourly/48hour.json?apiKey=xxxxxxxxxxxxx&units=m&language=de
                            weatherunderground.0	2019-06-04 13:12:03.581	debug	get daily forecast data: https://api.weather.com/v1/geocode/48.15/14.24/forecast/daily/5day.json?apiKey=xxxxxxxxx&units=m&language=de
                            weatherunderground.0	2019-06-04 13:12:03.121	debug	get current observation data: https://api.weather.com/v2/pws/observations/current?apiKey=xxxxxxxxxx&units=m&stationId=xxxxxxxxx&format=json
                            weatherunderground.0	2019-06-04 13:12:03.121	debug	Use new API Key xxxxxxxxxxxx
                            weatherunderground.0	2019-06-04 13:12:03.121	debug	Use New API
                            weatherunderground.0	2019-06-04 13:12:03.120	error	Unable to get PWS dashboard page: null / 503
                            weatherunderground.0	2019-06-04 13:12:01.067	debug	get PWS dashboard page: https://www.wunderground.com/personal-weather-station/dashboard
                            weatherunderground.0	2019-06-04 13:12:01.067	debug	location has not changed, reuse extracted URLs
                            weatherunderground.0	2019-06-04 13:12:01.066	debug	initialize Hourly Forecast Url: https://api.weather.com/v1/geocode/48.15/14.24/forecast/hourly/240hour.json?apiKey=xxxxxxxxxxxxxx&units=e&language=en-US
                            weatherunderground.0	2019-06-04 13:12:01.064	debug	initialize Daily Forecast Url: https://api.weather.com/v1/geocode/48.15/14.24/forecast/daily/5day.json?apiKey=xxxxxxxxxxxxxxx&units=e&language=en-US
                            weatherunderground.0	2019-06-04 13:12:01.063	debug	initialize Current Observation url: https://api.weather.com/v2/pws/observations/current?apiKey=xxxxxxxxxxxxxxxx&units=e&stationId=xxxxxxxxxxx&format=json
                            weatherunderground.0	2019-06-04 13:12:01.028	debug	initialize Web Key: xxxxxxxxxxxxxxxxxx
                            weatherunderground.0	2019-06-04 13:12:00.611	debug	init forecast objects
                            weatherunderground.0	2019-06-04 13:12:00.610	debug	init conditions objects
                            weatherunderground.0	2019-06-04 13:12:00.608	debug	on ready: DL true true true true
                            weatherunderground.0	2019-06-04 13:12:00.599	info	starting. Version 3.0.10 in C:/ioBroker/node_modules/iobroker.weatherunderground, node: v10.16.0
                            

                            Screenshot (3357)_LI.jpg

                            1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 last edited by

                              Ok, 3.0.11 auf Github 🙂 Es wird jetzt IBERLIN1658 als Fallback PWS ID genutzt falls keine angegeben ist und er sich den Key holen will. Kannst Du bitte mal checken. Dann sollte die "503 Fehler" auch weg sein.

                              sigi234 1 Reply Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator last edited by

                                AT funktioniert bei mir auch noch

                                1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 last edited by

                                  Es wird bei euch immer weiter gehen, wenn die Keys früher extrahiert wurden und noch gehen dann wird das gar nicht abgefragt 🙂

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

                                    @apollon77 sagte in Weatherunderground Adapter Reborn 3.0:

                                    Ok, 3.0.11 auf Github 🙂 Es wird jetzt IBERLIN1658 als Fallback PWS ID genutzt falls keine angegeben ist und er sich den Key holen will. Kannst Du bitte mal checken. Dann sollte die "503 Fehler" auch weg sein.

                                    Ja, Super Fehler 503 weg.....

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      loverz last edited by

                                      Hi zusammen,

                                      hatte das Problem, dass meine Werte sich gestern so um 14:00 ca. "aufgehängt" hatten und nicht mehr aktualisiert wurden.

                                      Hab heute mal von 3.0.9 auf 3.0.10 upgedatet, aber auch da funktionierte es nicht mehr.

                                      Nachdem ich den Adapter neu installiert hatte geht es zwar wieder, aber die aktuelle Temperatur im Objekt Forecast->Current->Temp wird nicht mehr wie bisher immer mit Nachkommastellen, sondern nur noch als Ganze Zahl angezeigt.

                                      Gibt es dafür einen Fix?

                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by apollon77

                                        Debug log bitte zeigen ... bzw bitte vom GitHub die 3.0.11 probieren

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          loverz @apollon77 last edited by

                                          @apollon77 Was hat das mit Debug zu tun? WU speichert die Temperaturen in meinen Objekten einfach nicht mit Komma-Stelle. Ist das bei euch so?
                                          Hat das vielleicht mit der verwendeten Messstelle zu tun? Diese habe ich allerdings nicht gewechselt.

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            Nein das hat meiner Meinung nach mit der verwendetn API zu tun, siehe allererster Post zum neuen Adapter und dem "nicht Legacy" Modus. Ohne 3.0.11 kann sein das der greift und dann ist das ggf genau so weil es in der nur so geliefert wird von WU. Kannst mir da schon glauben.

                                            Ergo: Debug log weil ich sehen will welche URLs er für die Datenabfrage nutzt um genau das mit sicherheit sagen zu können.

                                            L 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

                                            484
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter weatherunderground wetter
                                            34
                                            160
                                            17001
                                            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