Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    275

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Adapter: Weatherunderground 24h Prognose

Scheduled Pinned Locked Moved ioBroker Allgemein
166 Posts 41 Posters 47.7k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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
    wrote on last edited by
    #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 Reply Last reply
    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
      wrote on last edited by
      #162

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

      apollon77A 1 Reply Last reply
      0
      • W Waldmensch

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

        apollon77A Offline
        apollon77A Offline
        apollon77
        wrote on last edited by
        #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 Reply Last reply
        0
        • A Offline
          A Offline
          Annotator
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #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 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

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

              339

              Online

              32.7k

              Users

              82.5k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Home
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe