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.
    • sigi234
      sigi234 Forum Testing Most Active @etv last edited by

      @etv sagte in Weatherunderground Adapter Reborn 3.0:

      node: v6.12.3

      Liegt es an der Node Version?

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

        Moin moin,

        ich habe 2 Installationen von ioBroker. Beide node 8.16.0 und weatherunderground 3.0.9.
        Bei einer Installation (Raspi3) läuft der Adapter, bei der anderen Installation (VM) läuft dieser nicht.
        Gleiche Einstellungen, aber dennoch keine Daten und nur Fehler im LOG.

        weatherunderground.0 2019-05-26 20:51:55.020 error TypeError: Cannot read property 'replace' of undefined at modifyExtractedUrl (/opt/iobroker/node_modules/iobroker.weatherunderground/main.js:1464:15) at getNewWuDataDailyForcast (/opt/iobroker
        weatherunderground.0 2019-05-26 20:51:55.020 error uncaught exception: Cannot read property 'replace' of undefined
        weatherunderground.0 2019-05-26 20:51:55.019 error Key rejected, reset webkey and try again
        weatherunderground.0 2019-05-26 20:51:54.874 error Unable to get WU weather page: 403/null
        weatherunderground.0 2019-05-26 20:51:54.744 error Unable to get PWS dashboard page: null
        weatherunderground.0 2019-05-26 20:51:54.617 error Key rejected, reset webkey and try again
        weatherunderground.0 2019-05-26 20:51:54.526 error Unable to get WU weather page: 403/null
        weatherunderground.0 2019-05-26 20:51:54.399 error Unable to get PWS dashboard page: null
        weatherunderground.0 2019-05-26 20:51:54.259 error Key rejected, reset webkey and try again
        weatherunderground.0 2019-05-26 20:51:54.121 error Unable to get WU weather page: 403/null
        weatherunderground.0 2019-05-26 20:51:53.932 error Unable to get PWS dashboard page: null
        weatherunderground.0 2019-05-26 20:51:53.688 info starting. Version 3.0.9 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v8.16.0

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

          @etv sagte in Weatherunderground Adapter Reborn 3.0:

          https://www.wunderground.com/personal-weather-station/dashboard?ID=pws%3AISTEIERM52

          Lass bitte das pws: vor der Station-ID weg! Die gehört da nicht hin

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

            @abg0002 sagte in Weatherunderground Adapter Reborn 3.0:

            weatherunderground.0 2019-05-26 20:51:54.526 error Unable to get WU weather page: 403/null

            Bitte mal Debug Log schicken

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

              weatherunderground.0 2019-05-26 23:48:03.129 error TypeError: Cannot read property 'replace' of undefined at modifyExtractedUrl (/opt/iobroker/node_modules/iobroker.weatherunderground/main.js:1464:15) at getNewWuDataDailyForcast (/opt/iobroker
              weatherunderground.0 2019-05-26 23:48:03.129 error uncaught exception: Cannot read property 'replace' of undefined
              weatherunderground.0 2019-05-26 23:48:03.128 error Key rejected, reset webkey and try again
              weatherunderground.0 2019-05-26 23:48:03.043 debug get current observation data: https://api.weather.com/v2/pws/observations/current?stationId=IHORN16&format=json&units=m&apiKey=
              weatherunderground.0 2019-05-26 23:48:03.043 debug Use new API Key
              weatherunderground.0 2019-05-26 23:48:03.043 debug Use New API
              weatherunderground.0 2019-05-26 23:48:03.041 error Unable to get WU weather page: 403/null
              weatherunderground.0 2019-05-26 23:48:02.903 debug get WU weather page: https://www.wunderground.com/hourly/DE/Hamburg
              weatherunderground.0 2019-05-26 23:48:02.903 error Unable to get PWS dashboard page: null
              weatherunderground.0 2019-05-26 23:48:02.775 debug get PWS dashboard page: https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
              weatherunderground.0 2019-05-26 23:48:02.774 error Key rejected, reset webkey and try again
              weatherunderground.0 2019-05-26 23:48:02.683 debug get current observation data: https://api.weather.com/v2/pws/observations/current?stationId=IHORN16&format=json&units=m&apiKey=
              weatherunderground.0 2019-05-26 23:48:02.683 debug Use new API Key
              weatherunderground.0 2019-05-26 23:48:02.683 debug Use New API
              weatherunderground.0 2019-05-26 23:48:02.682 error Unable to get WU weather page: 403/null
              weatherunderground.0 2019-05-26 23:48:02.560 debug get WU weather page: https://www.wunderground.com/hourly/DE/Hamburg
              weatherunderground.0 2019-05-26 23:48:02.559 error Unable to get PWS dashboard page: null
              weatherunderground.0 2019-05-26 23:48:02.433 debug get PWS dashboard page: https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
              weatherunderground.0 2019-05-26 23:48:02.432 error Key rejected, reset webkey and try again
              weatherunderground.0 2019-05-26 23:48:02.231 debug get current observation data: https://api.weather.com/v2/pws/observations/current?stationId=IHORN16&format=json&units=m&apiKey=undefined
              weatherunderground.0 2019-05-26 23:48:02.231 debug Use new API Key undefined
              weatherunderground.0 2019-05-26 23:48:02.231 debug Use New API
              weatherunderground.0 2019-05-26 23:48:02.230 error Unable to get WU weather page: 403/null
              weatherunderground.0 2019-05-26 23:48:02.104 debug get WU weather page: https://www.wunderground.com/hourly/DE/Hamburg
              weatherunderground.0 2019-05-26 23:48:02.103 error Unable to get PWS dashboard page: null
              weatherunderground.0 2019-05-26 23:48:01.843 debug get PWS dashboard page: https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
              weatherunderground.0 2019-05-26 23:48:01.841 debug location has not changed, reuse extracted URLs
              weatherunderground.0 2019-05-26 23:48:01.710 debug init forecast objects
              weatherunderground.0 2019-05-26 23:48:01.710 debug init conditions objects
              weatherunderground.0 2019-05-26 23:48:01.710 debug on ready: DL true true true true
              weatherunderground.0 2019-05-26 23:48:01.710 info starting. Version 3.0.9 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v8.16.0

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

                crazy scheint mir, dass er bereits diese Seiten nicht abrufen kann
                https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
                https://www.wunderground.com/hourly/DE/Hamburg

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

                  bei mir das gleiche, bekomme auch die Fehlermeldung, egal was ich eingebe. Ort Koordinaten, Stations-ID, nächstgrößerer Ort, Geokoordinaten. Funktioniert leider nicht.

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

                    Habe mal mit wget auf dem Host, auf dem ioBroker läuft, versucht die Seite abzurufen.
                    Da schau her, es erfolgt ein Redirect (301) zu einer anderen Adresse:

                    https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
                    wird per 301 weitergeleitet zu
                    https://www.wunderground.com/dashboard/pws/IHORN16

                    wget https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
                    --2019-05-27 20:39:24-- https://www.wunderground.com/personal-weather-station/dashboard?ID=IHORN16
                    Auflösen des Hostnamens »www.wunderground.com (www.wunderground.com)« … 23.51.108.33
                    Verbindungsaufbau zu www.wunderground.com (www.wunderground.com)|23.51.108.33|:443 … verbunden.
                    HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
                    Platz: https://www.wunderground.com/dashboard/pws/IHORN16 [folgend]
                    --2019-05-27 20:39:24-- https://www.wunderground.com/dashboard/pws/IHORN16
                    Wiederverwendung der bestehenden Verbindung zu www.wunderground.com:443.
                    HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
                    Länge: nicht spezifiziert [text/html]
                    Wird in »»dashboard?ID=IHORN16«« gespeichert.

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

                      Der Adapter folgt an sich genau diesen Redirects. Ok, kann es nachvollziehen. Ich schaue mal

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

                        WU ist etwas schärfer bei den Abfragen geworden. Habe eine 3.0.10 auf GitHub die bei mir wieder tut. Bitte mal testen und Feedback geben.

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

                          @apollon77 sagte in Weatherunderground Adapter Reborn 3.0:

                          Habe eine 3.0.10 auf GitHub die bei mir wieder tut. Bitte mal testen und Feedback geben.

                          Ich komm nur auf die 3.0.9

                          Habs über die Katze mit https://github.com/dschaedl/ioBroker.weatherunderground versucht.

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

                            https://github.com/iobroker-community-adapters/ioBroker.weatherunderground (wobei sollten beide URLs gleich funktionieren).
                            ggf danach manuell ein iobroker upload weatherundergound? Bei mir tat das update auf einem zweiten System auch per dschaedl URL ...

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

                              @apollon77 sagte in Weatherunderground Adapter Reborn 3.0:

                              https://github.com/iobroker-community-adapters/ioBroker.weatherunderground (wobei sollten beide URLs gleich funktionieren).
                              ggf danach manuell ein iobroker upload weatherundergound? Bei mir tat das update auf einem zweiten System auch per dschaedl URL ...

                              Bleibt auch auf 3.0.9

                              Bekomme NPM Errors

                              $ ./iobroker url "https://github.com/iobroker-community-adapters/ioBroker.weatherunderground"
                              install https://github.com/iobroker-community-adapters/ioBroker.weatherunderground/tarball/master
                              npm install https://github.com/iobroker-community-adapters/ioBroker.weatherunderground/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                              npm
                               WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/arr-swap/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/choices-separator/package.json'
                              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/clone-deep/package.json'
                              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-actions/package.json'
                              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-choices/package.json'
                              
                              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-question/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/shallow-clone/package.json'
                              
                              
                              npm ERR! path /opt/iobroker/node_modules/iobroker.weatherunderground/node_modules/.bin/uuidnpm ERR! 
                              code EEXISTnpm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.weatherunderground/node_modules/.bin/uuid: is outside /opt/iobroker/node_modules/iobroker.weatherunderground/node_modules/uuid and not a link
                              npm ERR! File exists: /opt/iobroker/node_modules/iobroker.weatherunderground/node_modules/.bin/uuid
                              npm ERR! Move it away, and try again.
                              
                              
                              npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2019-05-27T22_10_15_876Z-debug.log
                              
                              process exited with code 0
                              

                              Upload danach läuft ohne Fehler durch

                              $ ./iobroker upload weatherunderground
                              got /opt/iobroker/node_modules/iobroker.weatherunderground/admin
                              upload [2] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/wu.png wu.png image/png
                              upload [1] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/words.js words.js application/javascript
                              upload [0] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/index_m.html index_m.html text/html
                              process exited with code 0
                              
                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by apollon77

                                Naja der NPM Fehler bedeutet das er nichts installiert hat. Lösch mal das File was er anmeckert. Kann es sein das Du irgendwie dinge aus nem Backup zurückgespielt hast oder sowas? Oder durch die Gegend kopiert hast mit "cp"?

                                Ich hatte diesen Fehler als ich mal was mit cp kopiert habe ohne symbolische Links zu beachten und damit hat er alle Links in Files verwandelt und genau das führte zu diesem Fehler weil er an der Stelle nur Links erwartet!

                                Hat mit dem Adapter nix zu tun ... da ist irgendwas in deiner Verzeichnisstruktur komisch

                                A 1 Reply Last reply Reply Quote 0
                                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            771
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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