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. Tester
  4. Test Coronavirus Statistics for ioBroker

NEWS

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

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

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

Test Coronavirus Statistics for ioBroker

Geplant Angeheftet Gesperrt Verschoben Tester
adapter installationadapterentwicklungtesten
1.2k Beiträge 120 Kommentatoren 337.4k Aufrufe 94 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.
  • Uli977U Uli977

    @sigi234 wieso habe ich keine Icons?

    sigi234S Online
    sigi234S Online
    sigi234
    Forum Testing Most Active
    schrieb am zuletzt editiert von
    #75

    @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

    @sigi234 wieso habe ich keine Icons?

    Musst du @stimezo fragen, vielleicht stellt er sie Online.

    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Immer Daten sichern!

    Uli977U 1 Antwort Letzte Antwort
    0
    • ScroungerS Scrounger

      Da mich schon immer die Werte pro Kontinent intressiert haben, aber ich dazu nix brauchbares im Netz finden kann, hab ich mal ein kleines Skript geschrieben, dass die Daten dieses Adapters verwendet.

      Voraussetzung:

      • Javascript NPM-Module: country-list-js

      Unter der Javascript instanz wird folgende Struktur automatisch angelegt:
      c7461f3c-0149-4062-817f-b195e9a6c3a6-grafik.png

      Skript:

      const countryJs = require("country-list-js");
      
      let selector = `[id=coronavirus-statistics.0.*.cases]`
      let allCountries = $(selector);
      
      // Fehlermeldung ausgeben, wenn selector kein result liefert
      if (allCountries.length === 0) {
          console.error(`no result for selector '${selector}'`)
      }
      
      on({ id: 'coronavirus-statistics.0.global_totals.updated', change: 'any' }, statsForContinents);
      
      function statsForContinents() {
          setTimeout(function () {
              console.log('Corona Statistik für Kontinente wird erstellt');
      
              let countryTranslator = {
                  // https://github.com/i-rocky/country-list-js/blob/master/data/names.json
                  "Vatican_City": "Vatican",
                  "USA": "United States",
                  "UK": "United Kingdom",
                  "UAE": "United Arab Emirates",
                  "US_Virgin_Islands": "U.S. Virgin Islands",
                  "St_Vincent_Grenadines": "Saint Vincent and the Grenadines",
                  "St_Barth": "Saint Barthelemy",
                  "S_Korea": "South Korea",
                  "Palestine": "Palestinian Territory",
                  "North_Macedonia": "Macedonia",
                  "Faeroe_Islands": "Faroe Islands",
                  "Eswatini": "Swaziland",
                  "Czechia": "Czech Republic",
                  "Congo": "Republic of the Congo",
                  "CAR": "Central African Republic",
                  "DRC": "Democratic Republic of the Congo",
                  "Channel_Islands": "France"                             // gehört zu Europa, deshalb Frankreich einfach vergeben
              }
      
              var continentsStats = {};
              countryJs.continents().forEach(function (continent, index) {
                  continentsStats[continent] = {
                      cases: 0,
                      critical: 0,
                      deaths: 0,
                      recovered: 0,
                      todayCases: 0,
                      todayDeaths: 0,
                  }
              });
      
              for (var i = 0; i <= allCountries.length - 1; i++) {
                  let idCases = allCountries[i];
                  let idCritical = idCases.replace('.cases', '.critical');
                  let idDeaths = idCases.replace('.cases', '.deaths');
                  let idRecovered = idCases.replace('.cases', '.recovered');
                  let idTodayCases = idCases.replace('.cases', '.todayCases');
                  let idTodayDeaths = idCases.replace('.cases', '.todayDeaths');
      
                  let countryName = idCases.split('.')[2];
      
                  let country = countryJs.findByName(countryName.replace(/_/g, ' ').replace('é', 'e').replace('ç', 'c'));
                  if (country) {
                      calcStats(country);
                  } else {
                      country = countryJs.findByName(countryTranslator[countryName]);
                      if (country) {
                          calcStats(country);
                      } else {
                          if (countryName !== 'global_totals' && countryName !== 'Diamond_Princess') {
                              console.warn(`${countryName} nicht in gefunden. Korrekter Name muss im skript manuell hinzugefügt werden!`);
                          }
                      }
                  }
      
                  function calcStats(country) {
                      if (country.continent) {
                          continentsStats[country.continent].cases = continentsStats[country.continent].cases + getState(idCases).val;
                          continentsStats[country.continent].critical = continentsStats[country.continent].critical + getState(idCritical).val;
                          continentsStats[country.continent].deaths = continentsStats[country.continent].deaths + getState(idDeaths).val;
                          continentsStats[country.continent].recovered = continentsStats[country.continent].recovered + getState(idRecovered).val;
                          continentsStats[country.continent].todayCases = continentsStats[country.continent].todayCases + getState(idTodayCases).val;
                          continentsStats[country.continent].todayDeaths = continentsStats[country.continent].todayDeaths + getState(idTodayDeaths).val;
                      } else {
                          console.warn(`Für ${countryName} existiert kein Kontinent!`);
                      }
                  }
              }
      
              for (var continent in continentsStats) {
                  for (var prop in continentsStats[continent]) {
                      let dpId = `corona.continents.${continent}.${prop}`
      
                      if (existsState(dpId)) {
                          setState(dpId, continentsStats[continent][prop], true);
                      } else {
                          createState(dpId, continentsStats[continent][prop], {
                              name: `${continent} ${prop}`,
                              read: true,
                              write: false,
                              desc: `${continent} ${prop}`,
                              type: "number",
                              def: 0,
                          });
                      }
                  }
              }
          }, 30000);
      }
      
      // Bei JS Start ausführen
      statsForContinents();
      
      
      Uli977U Online
      Uli977U Online
      Uli977
      schrieb am zuletzt editiert von
      #76

      @Scrounger Wäre ja noch toll, wenn man ein Land seiner Wahl noch etwas detaillieren könnte.... Meinst du das geht?

      sigi234S 1 Antwort Letzte Antwort
      0
      • ScroungerS Scrounger

        Hier noch mein IconList Widget mit Material Design Icons:

        50c14e97-b238-4d0c-b829-630d5e9ece87-grafik.png

        Widget:

        [{"tpl":"tplVis-materialdesign-Icon-List","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","wrapItems":false,"listItemDataMethod":"inputPerEditor","countListItems":"5","vibrateOnMobilDevices":"50","listLayout":"standard","itemLayout":"vertical","buttonLayout":"round","autoLockAfter":"10","lockIconTop":"5","lockIconLeft":"5","lockFilterGrayscale":"30","lockApplyOnlyOnImage":"true","listType0":"text","showValueLabel0":true,"listType1":"text","showValueLabel1":"true","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"listType2":"text","showValueLabel2":"true","listType3":"text","showValueLabel3":"true","listType4":"text","showValueLabel4":"true","listType5":"text","showValueLabel5":"true","listType6":"text","showValueLabel6":"true","listImage0":"biohazard","label0":"<div class=\"my-corona-title\">Infiziert</div>","subLabel0":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.cases}</div>","listImage1":"heart-pulse","label1":"<div class=\"my-corona-title\">Genesen</div>","subLabel1":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.recovered}</div>","listImage2":"seat-flat","label2":"<div class=\"my-corona-title\">Kritisch</div>","valueAppendix2":"","subLabel2":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.critical}</div>","label3":"<div class=\"my-corona-title\">Todesfälle</div>","listImage3":"grave-stone","subLabel3":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.deaths}</div>","listImage4":"hospital-box","valueAppendix4":"","label4":"<div class=\"my-corona-title\">Heute<br>Infiziert</div>","subLabel4":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.todayCases}</div>","listImage5":"skull-crossbones","label5":"<div class=\"my-corona-title\">Heute<br>Todesfälle</div>","subLabel5":"<div class=\"my-corona-value\">{javascript.0.corona.continents.Oceania.todayDeaths}</div>","iconHeight":"35","verticalIconContainerHeight":"","labelFontSize":"10","labelFontFamily":"RobotoCondensed-Regular","subLabelFontSize":"12","subLabelFontFamily":"RobotoCondensed-LightItalic","oid0":"","itemGaps":"0","valueFontSize":"","listImageColor0":"Firebrick","listImageColor1":"green","listImageColor2":"darkorange","listImageColor3":"","listImageColor4":"Firebrick","listImageColor5":"","lockEnabled0":false,"itemBackgroundColor0":""},"style":{"left":"0","top":"60px","width":"100%","height":"96px"},"widgetSet":"materialdesign"}]
        

        benötigte CSS Klassen:

        .my-corona-title {
            display: flex;
            align-items: center; 
            justify-content: center;
            height: 24px;
        }
        
        .my-corona-value {
            margin-top: 4px;
        }
        
        DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        schrieb am zuletzt editiert von
        #77

        @Scrounger sagte in Test Coronavirus Statistics for ioBroker:

        Hier noch mein IconList Widget mit Material Design Icons:

        nice, haste lust das als widget setzt hinzuzufügen im adapter ?

        hier ein beispiel wie wir die anderen gemacht haben :

        https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/commit/df292cd56e351c6a3bed4ab93d31144b7ade1c4e

        1 Antwort Letzte Antwort
        0
        • Uli977U Uli977

          @Scrounger Wäre ja noch toll, wenn man ein Land seiner Wahl noch etwas detaillieren könnte.... Meinst du das geht?

          sigi234S Online
          sigi234S Online
          sigi234
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #78

          @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

          @Scrounger Wäre ja noch toll, wenn man ein Land seiner Wahl noch etwas detaillieren könnte.... Meinst du das geht?

          Screenshot (2077).png

          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Immer Daten sichern!

          Uli977U 1 Antwort Letzte Antwort
          1
          • sigi234S sigi234

            @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

            @Scrounger Wäre ja noch toll, wenn man ein Land seiner Wahl noch etwas detaillieren könnte.... Meinst du das geht?

            Screenshot (2077).png

            Uli977U Online
            Uli977U Online
            Uli977
            schrieb am zuletzt editiert von
            #79

            @sigi234 kannst du das exportieren?

            sigi234S 1 Antwort Letzte Antwort
            0
            • Uli977U Uli977

              @sigi234 kannst du das exportieren?

              sigi234S Online
              sigi234S Online
              sigi234
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #80

              @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

              @sigi234 kannst du das exportieren?

              View_Corona_Sigi234.txt

              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Immer Daten sichern!

              Uli977U 2 Antworten Letzte Antwort
              1
              • sigi234S sigi234

                @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

                @sigi234 kannst du das exportieren?

                View_Corona_Sigi234.txt

                Uli977U Online
                Uli977U Online
                Uli977
                schrieb am zuletzt editiert von
                #81

                @sigi234 Danke! Das habe ich wohl übersehen...

                1 Antwort Letzte Antwort
                0
                • ScroungerS Offline
                  ScroungerS Offline
                  Scrounger
                  Developer
                  schrieb am zuletzt editiert von Scrounger
                  #82

                  Sorry hab leider in dem Skript echt nen Schnitzer drin gehabt - bei North / South America ist ein Leerzeichen drin, was bei Ids nicht empfohlen ist.
                  Bitte nehmt das folgende Skript und löscht alle DPs von North / South America.

                  const countryJs = require("country-list-js");
                  
                  let selector = `[id=coronavirus-statistics.0.*.cases]`
                  let allCountries = $(selector);
                  
                  // Fehlermeldung ausgeben, wenn selector kein result liefert
                  if (allCountries.length === 0) {
                      console.error(`no result for selector '${selector}'`)
                  }
                  
                  on({ id: 'coronavirus-statistics.0.global_totals.updated', change: 'any' }, statsForContinents);
                  
                  function statsForContinents() {
                      setTimeout(function () {
                          console.log('Corona Statistik für Kontinente wird erstellt');
                  
                          let countryTranslator = {
                              // https://github.com/i-rocky/country-list-js/blob/master/data/names.json
                              "Vatican_City": "Vatican",
                              "USA": "United States",
                              "UK": "United Kingdom",
                              "UAE": "United Arab Emirates",
                              "US_Virgin_Islands": "U.S. Virgin Islands",
                              "St_Vincent_Grenadines": "Saint Vincent and the Grenadines",
                              "St_Barth": "Saint Barthelemy",
                              "S_Korea": "South Korea",
                              "Palestine": "Palestinian Territory",
                              "North_Macedonia": "Macedonia",
                              "Faeroe_Islands": "Faroe Islands",
                              "Eswatini": "Swaziland",
                              "Czechia": "Czech Republic",
                              "Congo": "Republic of the Congo",
                              "CAR": "Central African Republic",
                              "DRC": "Democratic Republic of the Congo",
                              "Channel_Islands": "France"                             // gehört zu Europa, deshalb Frankreich einfach vergeben
                          }
                  
                          var continentsStats = {};
                          countryJs.continents().forEach(function (continent, index) {
                              continentsStats[continent.replace(" ", "_")] = {
                                  cases: 0,
                                  critical: 0,
                                  deaths: 0,
                                  recovered: 0,
                                  todayCases: 0,
                                  todayDeaths: 0,
                              }
                          });
                  
                          continentsStats['America'] = {
                              cases: 0,
                              critical: 0,
                              deaths: 0,
                              recovered: 0,
                              todayCases: 0,
                              todayDeaths: 0,
                          };
                  
                          continentsStats['World'] = {
                              critical: 0,
                              todayCases: 0,
                              todayDeaths: 0,
                          };
                  
                  
                          for (var i = 0; i <= allCountries.length - 1; i++) {
                              let idCases = allCountries[i];
                              let idCritical = idCases.replace('.cases', '.critical');
                              let idDeaths = idCases.replace('.cases', '.deaths');
                              let idRecovered = idCases.replace('.cases', '.recovered');
                              let idTodayCases = idCases.replace('.cases', '.todayCases');
                              let idTodayDeaths = idCases.replace('.cases', '.todayDeaths');
                  
                              let countryName = idCases.split('.')[2];
                  
                              let country = countryJs.findByName(countryName.replace(/_/g, ' ').replace('é', 'e').replace('ç', 'c'));
                              if (country) {
                                  calcStats(country);
                              } else {
                                  country = countryJs.findByName(countryTranslator[countryName]);
                                  if (country) {
                                      calcStats(country);
                                  } else {
                                      if (countryName !== 'global_totals' && countryName !== 'Diamond_Princess') {
                                          console.warn(`${countryName} nicht in gefunden. Korrekter Name muss im skript manuell hinzugefügt werden!`);
                                      }
                                  }
                              }
                  
                              function calcStats(country) {
                                  if (country.continent) {
                                      let continent = country.continent.replace(" ", "_");
                                      continentsStats[continent].cases = continentsStats[continent].cases + getState(idCases).val;
                                      continentsStats[continent].critical = continentsStats[continent].critical + getState(idCritical).val;
                                      continentsStats[continent].deaths = continentsStats[continent].deaths + getState(idDeaths).val;
                                      continentsStats[continent].recovered = continentsStats[continent].recovered + getState(idRecovered).val;
                                      continentsStats[continent].todayCases = continentsStats[continent].todayCases + getState(idTodayCases).val;
                                      continentsStats[continent].todayDeaths = continentsStats[continent].todayDeaths + getState(idTodayDeaths).val;
                  
                                      if (country.continent === 'South America' || country.continent === 'North America') {
                                          continentsStats['America'].cases = continentsStats['America'].cases + getState(idCases).val;
                                          continentsStats['America'].critical = continentsStats['America'].critical + getState(idCritical).val;
                                          continentsStats['America'].deaths = continentsStats['America'].deaths + getState(idDeaths).val;
                                          continentsStats['America'].recovered = continentsStats['America'].recovered + getState(idRecovered).val;
                                          continentsStats['America'].todayCases = continentsStats['America'].todayCases + getState(idTodayCases).val;
                                          continentsStats['America'].todayDeaths = continentsStats['America'].todayDeaths + getState(idTodayDeaths).val;
                                      }
                  
                                      continentsStats['World'].critical = continentsStats['World'].critical + getState(idCritical).val;
                                      continentsStats['World'].todayCases = continentsStats['World'].todayCases + getState(idTodayCases).val;
                                      continentsStats['World'].todayDeaths = continentsStats['World'].todayDeaths + getState(idTodayDeaths).val;
                                  } else {
                                      console.warn(`Für ${countryName} existiert kein Kontinent!`);
                                  }
                              }
                          }
                  
                          for (var continent in continentsStats) {
                              for (var prop in continentsStats[continent]) {
                                  let dpId = `corona.continents.${continent}.${prop}`
                  
                                  if (existsState(dpId)) {
                                      setState(dpId, continentsStats[continent][prop], true);
                                  } else {
                                      createState(dpId, continentsStats[continent][prop], {
                                          name: `${continent} ${prop}`,
                                          read: true,
                                          write: false,
                                          desc: `${continent} ${prop}`,
                                          type: "number",
                                          def: 0,
                                      });
                                  }
                              }
                          }
                      }, 30000);
                  }
                  
                  // Bei JS Start ausführen
                  statsForContinents();
                  

                  <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

                  <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

                  1 Antwort Letzte Antwort
                  1
                  • sigi234S sigi234

                    @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

                    @sigi234 kannst du das exportieren?

                    View_Corona_Sigi234.txt

                    Uli977U Online
                    Uli977U Online
                    Uli977
                    schrieb am zuletzt editiert von Uli977
                    #83

                    @sigi234

                    was ist mir hier passiert...
                    be7f8c9b-566a-49cf-a516-364b0fa8ac95-image.png
                    warum fehlen die daten der länder

                    Habe das View auch nochmal neu importiert... trotzdem so....

                    ScroungerS 1 Antwort Letzte Antwort
                    0
                    • Uli977U Uli977

                      @sigi234

                      was ist mir hier passiert...
                      be7f8c9b-566a-49cf-a516-364b0fa8ac95-image.png
                      warum fehlen die daten der länder

                      Habe das View auch nochmal neu importiert... trotzdem so....

                      ScroungerS Offline
                      ScroungerS Offline
                      Scrounger
                      Developer
                      schrieb am zuletzt editiert von
                      #84

                      @Uli977
                      API liefert aktuell keine Daten https://coronavirus-19-api.herokuapp.com/countries

                      <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

                      <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

                      Uli977U 2 Antworten Letzte Antwort
                      0
                      • ScroungerS Scrounger

                        @Uli977
                        API liefert aktuell keine Daten https://coronavirus-19-api.herokuapp.com/countries

                        Uli977U Online
                        Uli977U Online
                        Uli977
                        schrieb am zuletzt editiert von
                        #85

                        @Scrounger Ah ok... also nicht mein Fehler..

                        1 Antwort Letzte Antwort
                        0
                        • sigi234S sigi234

                          @Uli977 sagte in Test Coronavirus Statistics for ioBroker:

                          @sigi234 wieso habe ich keine Icons?

                          Musst du @stimezo fragen, vielleicht stellt er sie Online.

                          Uli977U Online
                          Uli977U Online
                          Uli977
                          schrieb am zuletzt editiert von
                          #86

                          @stimezo gibst du deine icons raus?

                          1 Antwort Letzte Antwort
                          0
                          • ScroungerS Scrounger

                            @Uli977
                            API liefert aktuell keine Daten https://coronavirus-19-api.herokuapp.com/countries

                            Uli977U Online
                            Uli977U Online
                            Uli977
                            schrieb am zuletzt editiert von
                            #87

                            @Scrounger Jetzt haben sich gerade die Anzahl der Fälle in Deutschland halbiert.... sehr merkwürdig alles

                            1 Antwort Letzte Antwort
                            0
                            • D Offline
                              D Offline
                              dos1973
                              schrieb am zuletzt editiert von
                              #88

                              ist mir auch aufgefallen - und jetzt wieder auf knapp 12000?!

                              1 Antwort Letzte Antwort
                              0
                              • crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #89

                                Laut Livestream sind die 14.000 schon erreicht

                                umgestiegen von Proxmox auf Unraid

                                1 Antwort Letzte Antwort
                                0
                                • N Offline
                                  N Offline
                                  norman1991
                                  schrieb am zuletzt editiert von
                                  #90

                                  @Scrounger kannst du mir (uns allen) die Icons zur Verfügung stellen?

                                  ScroungerS sigi234S 2 Antworten Letzte Antwort
                                  0
                                  • N norman1991

                                    @Scrounger kannst du mir (uns allen) die Icons zur Verfügung stellen?

                                    ScroungerS Offline
                                    ScroungerS Offline
                                    Scrounger
                                    Developer
                                    schrieb am zuletzt editiert von
                                    #91

                                    @norman1991

                                    Das geht leider nicht ganz so einfach, weil das eine Schriftart ist, die im Material Design Widgets Adapter implementiert ist. Am einfachsten ist es die Widgets von meinem Adapter zu nutzen.

                                    Alterntiv könnt ihr Euch die icons auf https://materialdesignicons.com/ heraussuchen und herunterladen.

                                    50c14e97-b238-4d0c-b829-630d5e9ece87-grafik.png

                                    Namen der verwendeten icons von links nach rechts:

                                    • biohazard
                                    • heart-pulse
                                    • seat-flat
                                    • grave-stone
                                    • hospital-box
                                    • skull-crossbones

                                    <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

                                    <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

                                    Uli977U 1 Antwort Letzte Antwort
                                    0
                                    • N norman1991

                                      @Scrounger kannst du mir (uns allen) die Icons zur Verfügung stellen?

                                      sigi234S Online
                                      sigi234S Online
                                      sigi234
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von
                                      #92

                                      @norman1991 sagte in Test Coronavirus Statistics for ioBroker:

                                      @Scrounger kannst du mir (uns allen) die Icons zur Verfügung stellen?

                                      seat-flat.png hospital-box.png skull-crossbones.png biohazard.png heart-pulse.png grave-stone.png

                                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Immer Daten sichern!

                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        SaiBot1981
                                        schrieb am zuletzt editiert von
                                        #93

                                        Moin, ich hab leider das Problem das ich mit dem ipad2 leider keine Schrift oder Symbole angezeigt bekomme.

                                        Auf meinem MediaTab T3 klappt es ohne Probleme. Ich lasse mir die Vis via iqontrol per Safari anzeigen.

                                        Gibts da evtl noch jemanden der n ipad2 nutzt und es gegen testen könnte?

                                        Oder evtl eine kleine Anpassung damit auch ein altes ipad es anzeigen kann?

                                        1 Antwort Letzte Antwort
                                        0
                                        • DutchmanD Dutchman
                                          Aktuelle Test Version 0.6.9
                                          Veröffentlichungsdatum 22-03-2021
                                          Github Link https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/blob/master/README.md
                                          NPM npm i ioBroker.coronavirus-statistics@latest

                                          Adapter to show Global Corona Virus information and current reports

                                          Coronavirus Live Statistics adapter for ioBroker

                                          Adapter to show Global Corona Virus information and current reports

                                          There is no configuration required, after installation it will :

                                          • Receive global information world-wide and write it to "global_totals"
                                          • Create a folder for each country with all relevant information regarding COVID-19
                                          • Update the information every 15 minutes

                                          The following information is available :

                                          Datapoint Details
                                          active Amount of current infected people
                                          cases Amount of totally known cases
                                          casesPerOneMillion Amount of totally known cases per million citizen
                                          critical Amount of critical situation (Hospitalized)
                                          deaths Amount of current registered deaths
                                          deathsPerOneMillion Amount of current registered deaths per million citizen
                                          recovered Amount of totally known recovered cases
                                          todayCases New Cases by Today
                                          todayDeaths Amount of totally known people died today
                                          test Total number of covid-19 tests taken globally
                                          tests per one million counties Total number of covid-19 tests taken globally per one million

                                          Please be aware this adapter uses as much as possible up-to-date information but there can be an delay of several hours depending on the country's report.
                                          German Federal States : https://npgeo-corona-npgeo-de.hub.arcgis.com/ s
                                          Generic Source : https://coronavirus-19-api.herokuapp.com

                                          Advanced settings

                                          Option Description
                                          All Countries Get data for all countries World-Wide (Default: false)
                                          Continents Group total amounts by continent in seperate state (Default: false)
                                          Delete unused States Delete data when countries are deselected (Default: false)
                                          German counties Get counties data for Germany (Selected only, Default false)
                                          German federal states Get federal state data for Germany (Selected only, Default false)
                                          Get all German federal states Get federal state data for Germany (Default false)
                                          Get all German counties Get all counties data for Germany (Default false)

                                          For Germany only

                                          It's possible to get data for federal states (Bundesländer) and counties (Landeskreise).
                                          You can choose to recieve all data or just select specific regions in advanced settings.

                                          Please note : After activation the the adapter must run 1 time to get all federal states and counties before table loads !

                                          Add missing countries

                                          It may happen that countries are not recognized correctly because the API delivers some country names not ISO conform. In such a case you will get a warning message in the log, which looks like this

                                          coronavirus-statistics.0	2020-03-21 09:05:31.328	warn	(22937) Timor-Leste not found in lib! Must be added to the country name translator.
                                          

                                          Using the datapoint coronavirus-statistics.0.countryTranslator you can assign a country yourself. Look for the name of the corresponding country here:

                                          List with country names

                                          With the selected country name you have to create a JSON string and enter it in the datapoint coronavirus-statistics.0.countryTranslator.
                                          The JSON string then looks like this, for example:

                                          {
                                          	"Cabo_Verde": "Cape Verde",
                                          	"Timor-Leste": "East Timor"
                                          }
                                          

                                          As first value the name from the warning message must be taken from the log. The name of the country from the List with country names is then assigned to this.

                                          Changelog

                                          https://github.com/iobroker-community-adapters/ioBroker.coronavirus-statistics/blob/master/README.md

                                          ChaotC Offline
                                          ChaotC Offline
                                          Chaot
                                          schrieb am zuletzt editiert von
                                          #94

                                          @Dutchman
                                          Seit heute morgen diese Warnung:

                                          coronavirus-statistics.0	2020-03-19 07:30:47.800	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          coronavirus-statistics.0	2020-03-19 07:30:47.677	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          coronavirus-statistics.0	2020-03-19 07:30:47.543	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          coronavirus-statistics.0	2020-03-19 07:30:47.362	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          coronavirus-statistics.0	2020-03-19 07:30:47.102	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          coronavirus-statistics.0	2020-03-19 07:30:46.955	warn	(31245) State attribute definition missing for + casesPerOneMillion
                                          

                                          ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                                          cvidalC KnallochseK DutchmanD 3 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          744

                                          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