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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. JavaScript
  5. [GELÖST] - JSON Parse mit Objekten und Arrays

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    457

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

[GELÖST] - JSON Parse mit Objekten und Arrays

Geplant Angeheftet Gesperrt Verschoben JavaScript
7 Beiträge 3 Kommentatoren 566 Aufrufe 3 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.
  • nukleuzN Offline
    nukleuzN Offline
    nukleuz
    schrieb am zuletzt editiert von nukleuz
    #1

    Hallo zusammen,

    ich werde einfach nicht schlau, wie ich mit dem folgenden Skript umgehen soll.
    Der Aufbau bzw. die Reihenfolge/Positionierung der Städte ändert sich aber täglich...

    Ich hole mir ein JSON vom DWD mit den UV-Index Werten - erhalten tue ich das hier:

    {"name":"UV-Gefahrenindex","content":[{"forecast":{"today":3,"dayafter_to":6,"tomorrow":5},"city":"Konstanz"},{"forecast":{"dayafter_to":4,"today":1,"tomorrow":1},"city":"Großer Arber"},{"forecast":{"dayafter_to":4,"today":1,"tomorrow":1},"city":"Waren"},{"forecast":{"tomorrow":3,"dayafter_to":5,"today":2},"city":"Stuttgart"},{"city":"Bremen","forecast":{"tomorrow":5,"dayafter_to":4,"today":3}},{"city":"Kiel","forecast":{"dayafter_to":2,"today":3,"tomorrow":1}},{"city":"Weimar","forecast":{"dayafter_to":6,"today":1,"tomorrow":2}},{"city":"Hahn","forecast":{"today":5,"dayafter_to":5,"tomorrow":3}},{"city":"Marienleuchte","forecast":{"tomorrow":2,"today":3,"dayafter_to":3}},{"forecast":{"dayafter_to":5,"today":2,"tomorrow":2},"city":"Neubrandenburg"},{"city":"Ulm","forecast":{"today":2,"dayafter_to":5,"tomorrow":3}},{"forecast":{"tomorrow":1,"dayafter_to":2,"today":2},"city":"Hamburg"},{"city":"Arkona","forecast":{"today":3,"dayafter_to":3,"tomorrow":3}},{"city":"Kahler Asten","forecast":{"dayafter_to":4,"today":2,"tomorrow":2}},{"forecast":{"dayafter_to":3,"today":4,"tomorrow":4},"city":"Sankt Peter-Ording"},{"city":"Osnabrück","forecast":{"dayafter_to":5,"today":3,"tomorrow":5}},{"forecast":{"today":1,"dayafter_to":3,"tomorrow":1},"city":"Leipzig"},{"city":"Seehausen","forecast":{"tomorrow":1,"dayafter_to":1,"today":2}},{"city":"Norderney","forecast":{"today":4,"dayafter_to":4,"tomorrow":5}},{"forecast":{"tomorrow":1,"dayafter_to":3,"today":1},"city":"Dresden"},{"forecast":{"today":4,"dayafter_to":4,"tomorrow":5},"city":"Düsseldorf"},{"forecast":{"tomorrow":2,"today":3,"dayafter_to":3},"city":"List auf Sylt"},{"city":"Cottbus","forecast":{"today":3,"dayafter_to":2,"tomorrow":1}},{"forecast":{"tomorrow":3,"today":2,"dayafter_to":4},"city":"Zugspitze"},{"city":"Berlin","forecast":{"dayafter_to":1,"today":2,"tomorrow":1}},{"city":"Bonn","forecast":{"tomorrow":4,"today":4,"dayafter_to":4}},{"city":"Wernigerode","forecast":{"today":2,"dayafter_to":3,"tomorrow":2}},{"city":"Würzburg","forecast":{"dayafter_to":5,"today":3,"tomorrow":3}},{"forecast":{"tomorrow":2,"today":1,"dayafter_to":5},"city":"Nürnberg"},{"city":"Freiburg","forecast":{"tomorrow":5,"today":4,"dayafter_to":5}},{"city":"Rostock","forecast":{"dayafter_to":3,"today":3,"tomorrow":2}},{"forecast":{"today":1,"dayafter_to":4,"tomorrow":3},"city":"München"},{"forecast":{"tomorrow":4,"dayafter_to":5,"today":3},"city":"Frankfurt/Main"},{"forecast":{"today":1,"dayafter_to":4,"tomorrow":2},"city":"Regensburg"},{"forecast":{"tomorrow":1,"dayafter_to":5,"today":2},"city":"Magdeburg"},{"forecast":{"tomorrow":4,"today":2,"dayafter_to":3},"city":"Hannover"},{"forecast":{"tomorrow":4,"today":3,"dayafter_to":5},"city":"Weinbiet"},{"forecast":{"tomorrow":4,"today":3,"dayafter_to":4},"city":"Kassel"}],"last_update":"2021-05-12T07:00:00","sender":"Deutscher Wetterdienst - Medizin-Meteorologie","next_update":"2021-05-13T07:00:00","forecast_day":"2021-05-12"}
    

    HIer mein Skript:

    schedule('{"time":{"exactTime":true,"start":"13:56"},"period":{"days":1}}', async function () {
      try {
        require("request")('https://opendata.dwd.de/climate_environment/health/alerts/uvi.json', async function (error, response, result) {
          setState("0_userdata.0.DWD.UV-Index.json-string", result, true);
          console.log(result);
        }).on("error", function (e) {console.error(e);});
      } catch (e) { console.error(e); }
    
        getUVIndexData();
    
    });
    
    function getUVIndexData() {
        var resultUVIndex, res;
        var obj, heuteUVI, cityUVI, morgenUVI, uemorgenUVI, lastUpdate;
    
    // Datum formatieren
        var deDate = new Date(Date());
        deDate.toLocaleDateString('de-DE', {
            year: "numeric",
            month: "2-digit",
            day: "2-digit",
            hour: "2-digit",
            minute: "2-digit",
            second: "2-digit",
        });
    
    //Verarbeiten des JSON-Arrays
        setTimeout(function() {
        // Code, der erst nach 2 Sekunden ausgeführt wird
    
        resultUVIndex = getState("0_userdata.0.DWD.UV-Index.json-string").val;
        res = JSON.parse(getState("0_userdata.0.DWD.UV-Index.json-string").val);
    
            try {obj = JSON.parse(resultUVIndex);
            } catch (e) {
                    console.error('Cannot parse:');
                    return;
            }
    
            // TEST -------------------------------
            for (const key in res) {
                if(obj.hasOwnProperty(key)){
                console.log(`${key} : ${res[key]}`)
                }
            }   
            // TEST --------------------------------   
    
            // Objektvariablen
            heuteUVI        = obj.content[9].forecast.today;  
            morgenUVI       = obj.content[9].forecast.tomorrow;
            uemorgenUVI     = obj.content[9].forecast.dayafter_to;        
            cityUVI         = obj.content[9].city;     
            lastUpdate      = obj.last_update;
            console.log(cityUVI);
    
            // Datenpunkte werden mit Inhalt gefüllt
            setState('0_userdata.0.DWD.UV-Index.uvindex-heute', (heuteUVI)); 
            setState('0_userdata.0.DWD.UV-Index.uvindex-morgen', (morgenUVI)); 
            setState('0_userdata.0.DWD.UV-Index.uvindex-uebermorgen', (uemorgenUVI));                
            setState('0_userdata.0.DWD.UV-Index.region', (cityUVI));
            setState('0_userdata.0.DWD.UV-Index.timestamp', (deDate));
            setState('0_userdata.0.DWD.UV-Index.lastupdated', (lastUpdate));
    
        }, 2000);
    };
    

    Ziel ist es die Werte der Stadt "Hannover" zu erhalten egal wo diese im JSON positioniert sind.

    Vielleicht kann das jemand von euch - ich wäre dankbar :)

    Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2

    paul53P 1 Antwort Letzte Antwort
    0
    • nukleuzN nukleuz

      Hallo zusammen,

      ich werde einfach nicht schlau, wie ich mit dem folgenden Skript umgehen soll.
      Der Aufbau bzw. die Reihenfolge/Positionierung der Städte ändert sich aber täglich...

      Ich hole mir ein JSON vom DWD mit den UV-Index Werten - erhalten tue ich das hier:

      {"name":"UV-Gefahrenindex","content":[{"forecast":{"today":3,"dayafter_to":6,"tomorrow":5},"city":"Konstanz"},{"forecast":{"dayafter_to":4,"today":1,"tomorrow":1},"city":"Großer Arber"},{"forecast":{"dayafter_to":4,"today":1,"tomorrow":1},"city":"Waren"},{"forecast":{"tomorrow":3,"dayafter_to":5,"today":2},"city":"Stuttgart"},{"city":"Bremen","forecast":{"tomorrow":5,"dayafter_to":4,"today":3}},{"city":"Kiel","forecast":{"dayafter_to":2,"today":3,"tomorrow":1}},{"city":"Weimar","forecast":{"dayafter_to":6,"today":1,"tomorrow":2}},{"city":"Hahn","forecast":{"today":5,"dayafter_to":5,"tomorrow":3}},{"city":"Marienleuchte","forecast":{"tomorrow":2,"today":3,"dayafter_to":3}},{"forecast":{"dayafter_to":5,"today":2,"tomorrow":2},"city":"Neubrandenburg"},{"city":"Ulm","forecast":{"today":2,"dayafter_to":5,"tomorrow":3}},{"forecast":{"tomorrow":1,"dayafter_to":2,"today":2},"city":"Hamburg"},{"city":"Arkona","forecast":{"today":3,"dayafter_to":3,"tomorrow":3}},{"city":"Kahler Asten","forecast":{"dayafter_to":4,"today":2,"tomorrow":2}},{"forecast":{"dayafter_to":3,"today":4,"tomorrow":4},"city":"Sankt Peter-Ording"},{"city":"Osnabrück","forecast":{"dayafter_to":5,"today":3,"tomorrow":5}},{"forecast":{"today":1,"dayafter_to":3,"tomorrow":1},"city":"Leipzig"},{"city":"Seehausen","forecast":{"tomorrow":1,"dayafter_to":1,"today":2}},{"city":"Norderney","forecast":{"today":4,"dayafter_to":4,"tomorrow":5}},{"forecast":{"tomorrow":1,"dayafter_to":3,"today":1},"city":"Dresden"},{"forecast":{"today":4,"dayafter_to":4,"tomorrow":5},"city":"Düsseldorf"},{"forecast":{"tomorrow":2,"today":3,"dayafter_to":3},"city":"List auf Sylt"},{"city":"Cottbus","forecast":{"today":3,"dayafter_to":2,"tomorrow":1}},{"forecast":{"tomorrow":3,"today":2,"dayafter_to":4},"city":"Zugspitze"},{"city":"Berlin","forecast":{"dayafter_to":1,"today":2,"tomorrow":1}},{"city":"Bonn","forecast":{"tomorrow":4,"today":4,"dayafter_to":4}},{"city":"Wernigerode","forecast":{"today":2,"dayafter_to":3,"tomorrow":2}},{"city":"Würzburg","forecast":{"dayafter_to":5,"today":3,"tomorrow":3}},{"forecast":{"tomorrow":2,"today":1,"dayafter_to":5},"city":"Nürnberg"},{"city":"Freiburg","forecast":{"tomorrow":5,"today":4,"dayafter_to":5}},{"city":"Rostock","forecast":{"dayafter_to":3,"today":3,"tomorrow":2}},{"forecast":{"today":1,"dayafter_to":4,"tomorrow":3},"city":"München"},{"forecast":{"tomorrow":4,"dayafter_to":5,"today":3},"city":"Frankfurt/Main"},{"forecast":{"today":1,"dayafter_to":4,"tomorrow":2},"city":"Regensburg"},{"forecast":{"tomorrow":1,"dayafter_to":5,"today":2},"city":"Magdeburg"},{"forecast":{"tomorrow":4,"today":2,"dayafter_to":3},"city":"Hannover"},{"forecast":{"tomorrow":4,"today":3,"dayafter_to":5},"city":"Weinbiet"},{"forecast":{"tomorrow":4,"today":3,"dayafter_to":4},"city":"Kassel"}],"last_update":"2021-05-12T07:00:00","sender":"Deutscher Wetterdienst - Medizin-Meteorologie","next_update":"2021-05-13T07:00:00","forecast_day":"2021-05-12"}
      

      HIer mein Skript:

      schedule('{"time":{"exactTime":true,"start":"13:56"},"period":{"days":1}}', async function () {
        try {
          require("request")('https://opendata.dwd.de/climate_environment/health/alerts/uvi.json', async function (error, response, result) {
            setState("0_userdata.0.DWD.UV-Index.json-string", result, true);
            console.log(result);
          }).on("error", function (e) {console.error(e);});
        } catch (e) { console.error(e); }
      
          getUVIndexData();
      
      });
      
      function getUVIndexData() {
          var resultUVIndex, res;
          var obj, heuteUVI, cityUVI, morgenUVI, uemorgenUVI, lastUpdate;
      
      // Datum formatieren
          var deDate = new Date(Date());
          deDate.toLocaleDateString('de-DE', {
              year: "numeric",
              month: "2-digit",
              day: "2-digit",
              hour: "2-digit",
              minute: "2-digit",
              second: "2-digit",
          });
      
      //Verarbeiten des JSON-Arrays
          setTimeout(function() {
          // Code, der erst nach 2 Sekunden ausgeführt wird
      
          resultUVIndex = getState("0_userdata.0.DWD.UV-Index.json-string").val;
          res = JSON.parse(getState("0_userdata.0.DWD.UV-Index.json-string").val);
      
              try {obj = JSON.parse(resultUVIndex);
              } catch (e) {
                      console.error('Cannot parse:');
                      return;
              }
      
              // TEST -------------------------------
              for (const key in res) {
                  if(obj.hasOwnProperty(key)){
                  console.log(`${key} : ${res[key]}`)
                  }
              }   
              // TEST --------------------------------   
      
              // Objektvariablen
              heuteUVI        = obj.content[9].forecast.today;  
              morgenUVI       = obj.content[9].forecast.tomorrow;
              uemorgenUVI     = obj.content[9].forecast.dayafter_to;        
              cityUVI         = obj.content[9].city;     
              lastUpdate      = obj.last_update;
              console.log(cityUVI);
      
              // Datenpunkte werden mit Inhalt gefüllt
              setState('0_userdata.0.DWD.UV-Index.uvindex-heute', (heuteUVI)); 
              setState('0_userdata.0.DWD.UV-Index.uvindex-morgen', (morgenUVI)); 
              setState('0_userdata.0.DWD.UV-Index.uvindex-uebermorgen', (uemorgenUVI));                
              setState('0_userdata.0.DWD.UV-Index.region', (cityUVI));
              setState('0_userdata.0.DWD.UV-Index.timestamp', (deDate));
              setState('0_userdata.0.DWD.UV-Index.lastupdated', (lastUpdate));
      
          }, 2000);
      };
      

      Ziel ist es die Werte der Stadt "Hannover" zu erhalten egal wo diese im JSON positioniert sind.

      Vielleicht kann das jemand von euch - ich wäre dankbar :)

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von paul53
      #2

      @nukleuz sagte: Ziel ist es die Werte der Stadt "Hannover" zu erhalten egal wo diese im JSON positioniert sind.

      Ansatz:

      let content = obj.content; // Array
      for(let i = 0; i < content.length; i++) {
          if(content[i].city == 'Hannover') {
              let heuteUVI = content[i].forecast.today; 
              // usw.
          }
      }
      

      Ohne den "Umweg" über den JSON-Datenpunkt kann auf die Verzögerung verzichtet werden. Zeile 9:

          getUVIndexData(result);
      

      Zeile 13:

      function getUVIndexData(res) {
      

      Zeile 35:

              try {obj = JSON.parse(res);
      

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      nukleuzN 1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @nukleuz sagte: Ziel ist es die Werte der Stadt "Hannover" zu erhalten egal wo diese im JSON positioniert sind.

        Ansatz:

        let content = obj.content; // Array
        for(let i = 0; i < content.length; i++) {
            if(content[i].city == 'Hannover') {
                let heuteUVI = content[i].forecast.today; 
                // usw.
            }
        }
        

        Ohne den "Umweg" über den JSON-Datenpunkt kann auf die Verzögerung verzichtet werden. Zeile 9:

            getUVIndexData(result);
        

        Zeile 13:

        function getUVIndexData(res) {
        

        Zeile 35:

                try {obj = JSON.parse(res);
        
        nukleuzN Offline
        nukleuzN Offline
        nukleuz
        schrieb am zuletzt editiert von
        #3

        @paul53

        Super - der Ansatz funktioniert perfekt 👌

        Für den direkten Weg muss ich mal heute Abend schauen. Eben auf die Schnelle hab ich einen Parse error erhalten.

        Melde mich nochmal - die Kinder rufen 🤷‍♂️😂

        Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2

        paul53P 1 Antwort Letzte Antwort
        0
        • nukleuzN nukleuz

          @paul53

          Super - der Ansatz funktioniert perfekt 👌

          Für den direkten Weg muss ich mal heute Abend schauen. Eben auf die Schnelle hab ich einen Parse error erhalten.

          Melde mich nochmal - die Kinder rufen 🤷‍♂️😂

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #4

          @nukleuz sagte: Für den direkten Weg

          Versuche es mal so:

          const url  = 'https://opendata.dwd.de/climate_environment/health/alerts/uvi.json';
          const path = '0_userdata.0.DWD.UV-Index.';
           
          function getUVIndexData(json) {
              let obj = JSON.parse(json);
              let content = obj.content; // Array
              for(let i = 0; i < content.length; i++) {
                  if(content[i].city == 'Hannover') {
                      setState(path + 'uvindex-heute', content[i].forecast.today, true); 
                      setState(path + 'uvindex-morgen', content[i].forecast.tomorrow, true); 
                      setState(path + 'uvindex-uebermorgen', content[i].forecast.dayafter_to, true);                
                      setState(path + 'lastupdated', obj.last_update, true);
                      break;
                  }
              }
          }
          
          schedule('3 9 * * *', function () {
              request(url, function(error, response, result) {
                  if(error) log(error, 'error');
                  else getUVIndexData(result);
              });
          });
          

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          F nukleuzN 2 Antworten Letzte Antwort
          0
          • paul53P paul53

            @nukleuz sagte: Für den direkten Weg

            Versuche es mal so:

            const url  = 'https://opendata.dwd.de/climate_environment/health/alerts/uvi.json';
            const path = '0_userdata.0.DWD.UV-Index.';
             
            function getUVIndexData(json) {
                let obj = JSON.parse(json);
                let content = obj.content; // Array
                for(let i = 0; i < content.length; i++) {
                    if(content[i].city == 'Hannover') {
                        setState(path + 'uvindex-heute', content[i].forecast.today, true); 
                        setState(path + 'uvindex-morgen', content[i].forecast.tomorrow, true); 
                        setState(path + 'uvindex-uebermorgen', content[i].forecast.dayafter_to, true);                
                        setState(path + 'lastupdated', obj.last_update, true);
                        break;
                    }
                }
            }
            
            schedule('3 9 * * *', function () {
                request(url, function(error, response, result) {
                    if(error) log(error, 'error');
                    else getUVIndexData(result);
                });
            });
            
            F Offline
            F Offline
            fastfoot
            schrieb am zuletzt editiert von
            #5

            @paul53 sagte in JSON Parse mit Objekten und Arrays // DWD UV-Index:

            Versuche es mal so:

            Wie immer perfekt. Hier noch eine Alternative mit Jsonata

             
            function getUVIndexData(json) {
                let obj = JSON.parse(json);
                let fltr = `$.content[city.$match(/Hannover./)].{
                    "city":city,
                    "today":forecast.today,
                    "tomorrow":forecast.tomorrow,
                    "dayafter_to":forecast.dayafter_to,
                    "last_update":$$.last_update,
                    "now":$now()
                }`;
                obj = jsonataExpression(obj, fltr);
                setState(path + 'uvindex-heute', obj.today, true); 
                setState(path + 'uvindex-morgen', obj.tomorrow, true); 
                setState(path + 'uvindex-uebermorgen', obj.dayafter_to, true);                
                setState(path + 'lastupdated', obj.last_update, true);
                setState(path + 'now', obj.now, true);
            }
            
            

            iobroker läuft unter Docker auf QNAP TS-451+
            SkriptRecovery: https://forum.iobroker.net/post/930558

            nukleuzN 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @nukleuz sagte: Für den direkten Weg

              Versuche es mal so:

              const url  = 'https://opendata.dwd.de/climate_environment/health/alerts/uvi.json';
              const path = '0_userdata.0.DWD.UV-Index.';
               
              function getUVIndexData(json) {
                  let obj = JSON.parse(json);
                  let content = obj.content; // Array
                  for(let i = 0; i < content.length; i++) {
                      if(content[i].city == 'Hannover') {
                          setState(path + 'uvindex-heute', content[i].forecast.today, true); 
                          setState(path + 'uvindex-morgen', content[i].forecast.tomorrow, true); 
                          setState(path + 'uvindex-uebermorgen', content[i].forecast.dayafter_to, true);                
                          setState(path + 'lastupdated', obj.last_update, true);
                          break;
                      }
                  }
              }
              
              schedule('3 9 * * *', function () {
                  request(url, function(error, response, result) {
                      if(error) log(error, 'error');
                      else getUVIndexData(result);
                  });
              });
              
              nukleuzN Offline
              nukleuzN Offline
              nukleuz
              schrieb am zuletzt editiert von
              #6

              @paul53

              Danke - großes Kino - das funzt!
              Das ist für mich sogar verständlich und gut nachvollziehbar.

              Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2

              1 Antwort Letzte Antwort
              0
              • F fastfoot

                @paul53 sagte in JSON Parse mit Objekten und Arrays // DWD UV-Index:

                Versuche es mal so:

                Wie immer perfekt. Hier noch eine Alternative mit Jsonata

                 
                function getUVIndexData(json) {
                    let obj = JSON.parse(json);
                    let fltr = `$.content[city.$match(/Hannover./)].{
                        "city":city,
                        "today":forecast.today,
                        "tomorrow":forecast.tomorrow,
                        "dayafter_to":forecast.dayafter_to,
                        "last_update":$$.last_update,
                        "now":$now()
                    }`;
                    obj = jsonataExpression(obj, fltr);
                    setState(path + 'uvindex-heute', obj.today, true); 
                    setState(path + 'uvindex-morgen', obj.tomorrow, true); 
                    setState(path + 'uvindex-uebermorgen', obj.dayafter_to, true);                
                    setState(path + 'lastupdated', obj.last_update, true);
                    setState(path + 'now', obj.now, true);
                }
                
                
                nukleuzN Offline
                nukleuzN Offline
                nukleuz
                schrieb am zuletzt editiert von
                #7

                @fastfoot

                Auch das läuft ✊

                Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2

                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

                923

                Online

                32.6k

                Benutzer

                81.9k

                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