Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter: Weatherunderground 24h Prognose

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

Adapter: Weatherunderground 24h Prognose

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
166 Beiträge 41 Kommentatoren 45.0k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P podex

    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?

    apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #157

    @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)

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    H 1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      @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 Offline
      H Offline
      HomeUser
      schrieb am zuletzt editiert von HomeUser
      #158

      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

      apollon77A 1 Antwort Letzte Antwort
      0
      • H 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

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #159

        @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.

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • W Offline
          W Offline
          Waldmensch
          schrieb am zuletzt editiert von
          #160

          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'}
                          });
          
          apollon77A 1 Antwort Letzte Antwort
          0
          • W Waldmensch

            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'}
                            });
            
            apollon77A Offline
            apollon77A Offline
            apollon77
            schrieb am zuletzt editiert von
            #161

            @waldmensch sagte in Adapter: Weatherunderground 24h Prognose:

            Hallo, gibt es ein Git zum Adapter?

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

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            W 1 Antwort Letzte Antwort
            0
            • apollon77A apollon77

              @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 Offline
              W Offline
              Waldmensch
              schrieb am zuletzt editiert von
              #162

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

              apollon77A 1 Antwort Letzte Antwort
              0
              • W Waldmensch

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

                apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #163

                @waldmensch Danke, checke die Tage

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                1 Antwort Letzte Antwort
                0
                • A Offline
                  A Offline
                  Annotator
                  schrieb am zuletzt editiert von
                  #164

                  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

                  apollon77A 1 Antwort Letzte Antwort
                  0
                  • A Annotator

                    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

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #165

                    @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.

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    A 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @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 Offline
                      A Offline
                      Annotator
                      schrieb am zuletzt editiert von
                      #166

                      @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 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

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

                      717

                      Online

                      32.4k

                      Benutzer

                      81.4k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe