Navigation

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

    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

    Adapter: Weatherunderground 24h Prognose

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

      FYIhttps://forum.iobroker.net/topic/21154/weatherunderground-reborn-3-0-0-alpha

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • D
          derrapf last edited by

          @apollon77 sagte in Adapter: Weatherunderground 24h Prognose:

          https://forum.iobroker.net/topic/21154/weatherunderground-reborn-3-0-0-alpha

          Danke!

          1 Reply Last reply Reply Quote 0
          • P
            podex last edited by

            I like this adapter, but I have a problem with the icons in my VIS.

            There is a GIF available with URL https://icons.wxug.com/i/c/c/chanceflurries.gif but the VIS asks for a different URL via the ObjectID weatherunderground.0.forecast.0d.iconURL: https://icons.wxug.com/i/c/c/30.svg. What do I have to change where to get the name instead of the number?

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

              @podex The images are taken over from the API response ... so very strange because it seems that the defined new images but themself do not stick to how they out images on their servers 😞

              Crete a GitHub Issue in the adapter repo and add as much infos as avaliable (maybe try to check other imcon setst or such)

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

                Hi,
                sometimes some of the objects contain "null".

                Example of today:
                weatherunderground.0.forecast.0d.tempMax (null)°C

                Does anybody have an idea why this happens and how to fix/avoid it?
                In the log everything look normal.
                My version is 3.4.2

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

                  @homeuser sometimes on the evening wu do not provide a 0d max temp or such because the day is nearly over I assume. Enable debug log and you see which data come back.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Waldmensch last edited by

                    Hallo, gibt es ein Git zum Adapter?
                    Ich hätte einen Pullrequest oder halt Feature request. Die API liefert im 5 Tages Forecast den Wert cloudCover den Bewölkungsgrad in Prozent angibt. Ich würde den gern für eine rudimentäre PV Ertragsvorhersage nutzen (Wasserwärmepumpe soll sich zum billigen Tibber Tarif einschalten, wenn morgen 90% Wolken sind und die PV nichts bringt)

                    Ich habe das bei mir lokal im Adapter Code schon zugefügt, aber andere haben ja vielleicht auch interesse

                    Pfad:
                    /opt/iobroker/node_modules/iobroker.weatherunderground/main.js:

                    bei Zeile 1299 einfügen

                                        // cloudCover
                                        await adapter.setStateAsync(`forecast.${i}d.cloudCover`, {
                                            ack: true,
                                            val: body.daily_forecast.daypart[0].cloudCover[i * 2]
                                        });
                    

                    bei Zeile 2419 einfügen (Datenpunkt Imperial)

                                    // cloudCover
                                    await adapter.setObjectNotExistsAsync(id + 'cloudCover', {
                                        type: 'state',
                                        common: {
                                            name: 'cloudCover day forecast',
                                            role: 'value.cloudcover.day.forecast.' + p,
                                            unit: '%',
                                            type: 'number',
                                            read: true,
                                            write: false
                                        },
                                        native: {id: id + 'cloudCover'}
                                    });
                    

                    bei original Zeile 2555 einfügen (Datenpunkt Metric):

                                    // cloudCover
                                    await adapter.setObjectNotExistsAsync(id + 'cloudCover', {
                                        type: 'state',
                                        common: {
                                            name: 'cloudCover day forecast',
                                            role: 'value.cloudcover.day.forecast.' + p,
                                            unit: '%',
                                            type: 'number',
                                            read: true,
                                            write: false
                                        },
                                        native: {id: id + 'cloudCover'}
                                    });
                    
                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @Waldmensch last edited by

                      @waldmensch sagte in Adapter: Weatherunderground 24h Prognose:

                      Hallo, gibt es ein Git zum Adapter?

                      Na klar https://github.com/iobroker-community-adapters/ioBroker.weatherunderground

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

                        @apollon77 Super! Pull request ist gemacht https://github.com/iobroker-community-adapters/ioBroker.weatherunderground/pull/178

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

                          @waldmensch Danke, checke die Tage

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

                            Hallo Forum!
                            In meinem Logs steht: State value to set for "weatherunderground.1.forecastHourly.32h.precipitation" has to be type "value.precipitation" but received type "number"
                            Ich möchte nun manuell die Objektdaten auf "number" ändern, da ist wohl mal ein Schreibfehler passiert, weil da bei "type": eben "value.precipitation" steht:
                            {
                            "type": "state",
                            "common": {
                            "name": "Quantitative precipitation forecast",
                            "type": "value.precipitation",
                            "role": "value.rain",
                            "unit": "mm",
                            "read": true,
                            "write": false
                            },
                            Zur Sicherheit meine Frage, stimmt der Eintrag bei "role": mit "value.rain", oder gehört da "value.precipitation" rein (das was falsch bei "type": steht)?

                            Vielen Dank für die Hilfe & beste Grüße
                            Annotator

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

                              @annotator am besten lösche mal das Objekt was komisch ist. Sollte beim nächsten Lauf neu angelegt werden. Falls dann immer noch falsch bitte das Thema in ein github issue packen.

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

                                @apollon77

                                @apollon77 said in Adapter: Weatherunderground 24h Prognose:

                                @annotator am besten lösche mal das Objekt was komisch ist. Sollte beim nächsten Lauf neu angelegt werden. Falls dann immer noch falsch bitte das Thema in ein github issue packen.

                                Hallo, danke für den Tipp, das hat geholfen.

                                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

                                521
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                41
                                166
                                40318
                                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