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
    2.0k

  • 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.7k 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.
  • 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

    D Offline
    D Offline
    deta
    Most Active
    schrieb am zuletzt editiert von deta
    #724

    @Dutchman
    1700603a-bf31-4969-861c-811b65b69c94-grafik.png

    Kann man irgendwie in dem Widget auch z.b. eine Region anzeigen lassen. Region Hannover oder nur Niedersachsen.
    Oder ist noch ein anderes Widget was ich noch nicht gesehen habe.

    cu Deta

    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

      D Offline
      D Offline
      deta
      Most Active
      schrieb am zuletzt editiert von deta
      #725

      Hat sich erledigt, hatte falsch gedacht.

      Was mir noch fehlt ist der Vergleich zum Vortag

      1 Antwort Letzte Antwort
      0
      • J jlssmt

        @Feuersturm
        Also ich hab die RKI Daten jetzt mal direkt um 9 Uhr (wenn auch meine Auswertung stattfindet) mit meinen verglichen.
        Ich hab die "8685" 1:1 mit meiner Implementierung berechnet.
        (Total Cases Today) minus (Total Cases Yesterday)

        27711799-a630-44ed-9f2a-67f6594c59b9-image.png

        Falls jemand an meiner Automatisierung Interesse hat: Schickt um 9 eine Nachricht an alle, die beim Bot angemeldet sind (Freunde von mir nutzen es auch mit). Default Stadt/ Landkreis ist in der For Schleife am Ende. Ansonsten müssen die Nutzer bei den IFs und davor angepasst werden.

        schedule("0 9 * * *", () => {
        
            let regensburgCases = getState("coronavirus-statistics.0.Germany.Stadt.Regensburg.cases7_per_100k").val.toFixed(1);
        
            let berlinMitteCases = getState("coronavirus-statistics.0.Germany.Stadt.Berlin_Mitte.cases7_per_100k").val.toFixed(1);
        
            let germanyCases = (getState("coronavirus-statistics.0.Germany.cases").val - getState("javascript.0.covid.germany").val).toString();
            let netherlandsCases = (getState("coronavirus-statistics.0.Netherlands.cases").val - getState("javascript.0.covid.netherlands").val).toString();
        
            regensburgCases = `<b>Regensburg (Stadt)</b>\n${regensburgCases} ${getSmiley(regensburgCases)}`;
        
            berlinMitteCases = `<b>Berlin Mitte</b>\n${berlinMitteCases} ${getSmiley(berlinMitteCases)}`;
        
            germanyCases = `<b>Deutschland (Differenz zum Vortag)</b>\n${germanyCases}`;
            netherlandsCases = `<b>Niederlande (Differenz zum Vortag)</b>\n${netherlandsCases}`;
        
            const customUser1 = 7834520085;
            const customUser2 = 7852254548;
        
            for (let user of Object.keys(JSON.parse(getState("telegram.2.communicate.users").val))) {
                user = +user;
                if (user === customUser1) {
                    sendTelegramCovid(`${berlinMitteCases}\n\n${germanyCases}`, user);
                    continue;
                }
                if (user === customUser2) {
                    sendTelegramCovid(`${netherlandsCases}\n\n${germanyCases}`, user);
                    continue;
                }
                sendTelegramCovid(`${regensburgCases}\n\n${germanyCases}`, user);
            }
        
            setState("javascript.0.covid.germany", getState("coronavirus-statistics.0.Germany.cases").val);
            setState("javascript.0.covid.netherlands", getState("coronavirus-statistics.0.Netherlands.cases").val);
        });
        
        function getSmiley(value) {
            if (+value < 35) return "&#x1F60A";
            if (+value > 35 && +value < 50) return "&#x1F525";
            return "&#x1F198";
        }
        
        D Offline
        D Offline
        deta
        Most Active
        schrieb am zuletzt editiert von
        #726

        @jlssmt Bei deinen Telegram Skript , bekomme ich noch diese Meldung

        javascript.0	2020-11-28 19:54:00.041	error	(2930) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1291:34)
        javascript.0	2020-11-28 19:54:00.040	error	(2930) at Object.<anonymous> (script.js.Telegramm.Corona-Zahlen:51:13)
        javascript.0	2020-11-28 19:54:00.038	error	(2930) Error in callback: ReferenceError: sendTelegramCovid is not defined
        
        J 1 Antwort Letzte Antwort
        0
        • D deta

          @jlssmt Bei deinen Telegram Skript , bekomme ich noch diese Meldung

          javascript.0	2020-11-28 19:54:00.041	error	(2930) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1291:34)
          javascript.0	2020-11-28 19:54:00.040	error	(2930) at Object.<anonymous> (script.js.Telegramm.Corona-Zahlen:51:13)
          javascript.0	2020-11-28 19:54:00.038	error	(2930) Error in callback: ReferenceError: sendTelegramCovid is not defined
          
          J Offline
          J Offline
          jlssmt
          schrieb am zuletzt editiert von
          #727

          @deta
          Äh, jo.
          Das ist ne Funktion von mir in nem Global Script.
          Also entweder du schreibst dir was eigenes, oder nimmst meins copy paste.
          Musst aber vmtl die 2 in Zeile 12 durch eine 0 ersetzen:

          function generateProperties(message, notification, chatId) {
              const properties =  {
                  text: message,
                  disable_notification: !notification,
                  parse_mode: "HTML"
              };
          
              if(!!chatId) properties.chatId = chatId;
              return properties;
          }
          
          function sendTelegramCovid(message, chatId) {
              sendTo("telegram.2", generateProperties(message, true, chatId));
          }
          
          D 1 Antwort Letzte Antwort
          0
          • J jlssmt

            @deta
            Äh, jo.
            Das ist ne Funktion von mir in nem Global Script.
            Also entweder du schreibst dir was eigenes, oder nimmst meins copy paste.
            Musst aber vmtl die 2 in Zeile 12 durch eine 0 ersetzen:

            function generateProperties(message, notification, chatId) {
                const properties =  {
                    text: message,
                    disable_notification: !notification,
                    parse_mode: "HTML"
                };
            
                if(!!chatId) properties.chatId = chatId;
                return properties;
            }
            
            function sendTelegramCovid(message, chatId) {
                sendTo("telegram.2", generateProperties(message, true, chatId));
            }
            
            D Offline
            D Offline
            deta
            Most Active
            schrieb am zuletzt editiert von
            #728

            @jlssmt Wo muss das genau rein? Hab noch ein JavaScript angelegt extra. Aber trotzdem die Fehlermeldung? Muss das ein bestimmten Namen haben?

            J 1 Antwort Letzte Antwort
            0
            • D deta

              @jlssmt Wo muss das genau rein? Hab noch ein JavaScript angelegt extra. Aber trotzdem die Fehlermeldung? Muss das ein bestimmten Namen haben?

              J Offline
              J Offline
              jlssmt
              schrieb am zuletzt editiert von
              #729

              @deta
              das muss entweder in den global ordner, oder einfach unter das covid script.
              der global ordner war früher standardmäßig sichtbar, jetzt musst du ihn erst einblenden:
              6e311678-2670-44d9-850c-900cd625d30a-image.png
              f92c5098-c8a2-4986-b3e1-5c618a07a794-image.png

              D 1 Antwort Letzte Antwort
              0
              • NashraN Offline
                NashraN Offline
                Nashra
                Most Active Forum Testing
                schrieb am zuletzt editiert von
                #730

                Moin, bei dem Widget gibt es ein kleines Problem mit Netherlands und UK d.h.
                bei Netherlands wird nichts angezeigt und bei UK auch nicht, wobei beim
                letzteren im DP United_Kingdom steht und nicht UK.

                Gruß Ralf
                Mir egal, wer Dein Vater ist! Wenn ich hier angel, wird nicht übers Wasser gelaufen!!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                1 Antwort Letzte Antwort
                0
                • J jlssmt

                  @deta
                  das muss entweder in den global ordner, oder einfach unter das covid script.
                  der global ordner war früher standardmäßig sichtbar, jetzt musst du ihn erst einblenden:
                  6e311678-2670-44d9-850c-900cd625d30a-image.png
                  f92c5098-c8a2-4986-b3e1-5c618a07a794-image.png

                  D Offline
                  D Offline
                  deta
                  Most Active
                  schrieb am zuletzt editiert von deta
                  #731

                  @jlssmt jup geht danke

                  Deutschland (Differenz zum Vortag) Ist doch eigentlich nicht das Ergebniss Covid aktuell - Covid neu gestern, sondern Covid Neu gestern ist die Differenz. Oder versteh ich da was falsch.

                  J 1 Antwort Letzte Antwort
                  0
                  • D deta

                    @jlssmt jup geht danke

                    Deutschland (Differenz zum Vortag) Ist doch eigentlich nicht das Ergebniss Covid aktuell - Covid neu gestern, sondern Covid Neu gestern ist die Differenz. Oder versteh ich da was falsch.

                    J Offline
                    J Offline
                    jlssmt
                    schrieb am zuletzt editiert von jlssmt
                    #732

                    @deta
                    Du verstehst auf jeden Fall die Rechtschreibung von "Differenz" falsch ;-)
                    Spaß beiseite: Der zweite Wert in der Subtraktion ist ein von mir zwischengespeicherter Wert, welcher die Total Cases von Gestern beinhaltet.
                    Damit sind die Total Cases Today minus den eben erwähnten Wert, die für heute neu hinzugekommenen Cases.
                    Weiß nicht, ob es einigermaßen verständlich war, aber du siehst ja morgen (bzw. nach 24h), dass es funktioniert ;-)

                    D 1 Antwort Letzte Antwort
                    0
                    • J jlssmt

                      @deta
                      Du verstehst auf jeden Fall die Rechtschreibung von "Differenz" falsch ;-)
                      Spaß beiseite: Der zweite Wert in der Subtraktion ist ein von mir zwischengespeicherter Wert, welcher die Total Cases von Gestern beinhaltet.
                      Damit sind die Total Cases Today minus den eben erwähnten Wert, die für heute neu hinzugekommenen Cases.
                      Weiß nicht, ob es einigermaßen verständlich war, aber du siehst ja morgen (bzw. nach 24h), dass es funktioniert ;-)

                      D Offline
                      D Offline
                      deta
                      Most Active
                      schrieb am zuletzt editiert von
                      #733

                      @jlssmt ok schau das mir an, werde ich morgen schauen. Es war nur eine Komische Zahl und wenn ich weis ich 1000 Gesamt Infektionen am Tag, den Tag davor Abziehe, 300 Würde das ja 700 Ergeben, das ist aber ja nicht die Differnz. Mh..

                      J 1 Antwort Letzte Antwort
                      0
                      • D deta

                        @jlssmt ok schau das mir an, werde ich morgen schauen. Es war nur eine Komische Zahl und wenn ich weis ich 1000 Gesamt Infektionen am Tag, den Tag davor Abziehe, 300 Würde das ja 700 Ergeben, das ist aber ja nicht die Differnz. Mh..

                        J Offline
                        J Offline
                        jlssmt
                        schrieb am zuletzt editiert von
                        #734

                        @deta
                        Du musst die einfach mal anschauen, was die total cases today sind.
                        Das sind nicht die heutigen neuen Zahlen, sondern die Zahlen seit Ausbruch der Pandemie.

                        D 1 Antwort Letzte Antwort
                        0
                        • J jlssmt

                          @deta
                          Du musst die einfach mal anschauen, was die total cases today sind.
                          Das sind nicht die heutigen neuen Zahlen, sondern die Zahlen seit Ausbruch der Pandemie.

                          D Offline
                          D Offline
                          deta
                          Most Active
                          schrieb am zuletzt editiert von
                          #735

                          @jlssmt Werde ich morgen sehen, hatte noch gesehen, das ich ein Datenpunkt noch nicht angelegt hatte.
                          Danke erst mal

                          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

                            D Offline
                            D Offline
                            deta
                            Most Active
                            schrieb am zuletzt editiert von deta
                            #736

                            hat sich erledigt

                            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

                              D Offline
                              D Offline
                              deta
                              Most Active
                              schrieb am zuletzt editiert von
                              #737

                              @Dutchman Habe gerade diese Seite gefunden, vom RKI Region Hannover,
                              da ist links unten alle einzelenen Orte eingetragen, mit den Zahlen. Sieht doch so aus, als wenn die Daten doch da wo als API zur Verfügung stehen. Ich will jetzt keinen extra Account anlegen wollen um weiter zu Forschen, kannst du das mal bitte Prüfen und wäre toll, diese Unterteilungen auch noch abrufen zu können.
                              https://experience.arcgis.com/experience/7d52c64b899d4d72bde23950dad56ffb
                              b2811f27-1505-42ca-b599-01e27ddab330-grafik.png

                              1 Antwort Letzte Antwort
                              0
                              • S Offline
                                S Offline
                                Supermicha
                                schrieb am zuletzt editiert von
                                #738

                                Moin zusammen

                                mein Corona-Adapter aktualisiert seit ca. einer Woche nicht mehr.

                                Wenn ich ihn neu starte, dann kommen 1-2 mal neue Werte rein, danach nichts mehr.

                                Hier mal das Log von heute Nacht

                                2020-12-06 04:00:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 04:15:04.045  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 04:30:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 04:45:04.048  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 05:00:00.016  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 05:15:04.055  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 05:30:00.015  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 05:45:04.044  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-06 06:00:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                

                                und hier mal von eben, da scheint er aktualisiert zu haben...

                                2020-12-06 14:45:01.173  - debug: coronavirus-statistics.0 (15812) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                2020-12-06 14:45:01.273  - debug: coronavirus-statistics.0 (15812) Objects client ready ... initialize now
                                2020-12-06 14:45:01.280  - debug: coronavirus-statistics.0 (15812) Objects create System PubSub Client
                                2020-12-06 14:45:01.283  - debug: coronavirus-statistics.0 (15812) Objects create User PubSub Client
                                2020-12-06 14:45:01.286  - debug: coronavirus-statistics.0 (15812) Objects client initialize lua scripts
                                2020-12-06 14:45:01.326  - debug: coronavirus-statistics.0 (15812) Objects connected to redis: 127.0.0.1:9001
                                2020-12-06 14:45:01.341  - debug: coronavirus-statistics.0 (15812) objectDB connected
                                2020-12-06 14:45:01.345  - debug: coronavirus-statistics.0 (15812) Redis States: Use Redis connection: 127.0.0.1:9000
                                2020-12-06 14:45:01.363  - debug: coronavirus-statistics.0 (15812) States create User PubSub Client
                                2020-12-06 14:45:01.369  - debug: coronavirus-statistics.0 (15812) States create System PubSub Client
                                2020-12-06 14:45:01.405  - debug: coronavirus-statistics.0 (15812) States connected to redis: 127.0.0.1:9000
                                2020-12-06 14:45:01.407  - debug: coronavirus-statistics.0 (15812) statesDB connected
                                2020-12-06 14:45:02.369  - debug: coronavirus-statistics.0 (15812) Plugin sentry Initialize Plugin (enabled=true)
                                2020-12-06 14:45:02.594  - info: coronavirus-statistics.0 (15812) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                2020-12-06 14:45:02.636  - debug: coronavirus-statistics.0 (15812) Configuration object before config load : {"deleteUnused":true,"getContinents":true,"getGermanyFederalStates":true,"getGermanyCities":true,"getGermanyCounties":false,"getAllGermanyFederalStates":true,"getAllGermanyCities":false,"getAllGermanyCounties":false,"loadAllCountrys":false,"selectedGermanyFederalStates":[],"selectedGermanyCities":["Rostock"],"selectedGermanyCounties":[],"countries":["Australia","Austria","China","Denmark","Germany","Italy","Poland","Russia","Spain","Switzerland","United Kingdom","United States"]}
                                2020-12-06 14:45:07.054  - debug: coronavirus-statistics.0 (15812) Data from COVID-19 API received : [object Object]
                                2020-12-06 14:45:07.055  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.updated with value : 1607261771117
                                2020-12-06 14:45:07.056  - debug: coronavirus-statistics.0 (15812) Write value : false
                                2020-12-06 14:45:07.108  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.cases with value : 66991090
                                2020-12-06 14:45:07.109  - debug: coronavirus-statistics.0 (15812) Write value : false
                                2020-12-06 14:45:07.129  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.todayCases with value : 150887
                                2020-12-06 14:45:07.131  - debug: coronavirus-statistics.0 (15812) Write value : false
                                2020-12-06 14:45:07.151  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.deaths with value : 1536864
                                2020-12-06 14:45:07.153  - debug: coronavirus-statistics.0 (15812) Write value : false
                                2020-12-06 14:45:07.177  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.todayDeaths with value : 3033
                                2020-12-06 14:45:07.177  - debug: coronavirus-statistics.0 (15812) Write value : false
                                2020-12-06 14:45:07.232  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.recovered with value : 46364717
                                2020-12-06 14:45:07.234  - debug: coronavirus-statistics.0 (15812) Write value : false
                                
                                ...
                                
                                2020-12-06 14:46:17.832  - debug: coronavirus-statistics.0 (15812) Plugin sentry destroyed
                                2020-12-06 14:46:17.833  - info: coronavirus-statistics.0 (15812) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                

                                Kann mir da keinen Reim drauf machen, woran es liegen könnte... Sieht für mich unauffällig aus...

                                auch wenn ich ihn jetzt nach dem Adapter-Neustart beobachte, läuft alles glatt, aber irgendwann scheint er sich auszuklinken... habe ihn gestern abend mal komplett deinstalliert und wieder neu installiert, danach lief alles gut. und als ich heute früh geguckt habe, war die letzte Aktualisierung 23:15....

                                das log von gestern abend mal vollständig...
                                (da stand die Log-Stufe allerdings nur auf Info)

                                2020-12-05 22:30:02.380 - info: coronavirus-statistics.0 (22350) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                2020-12-05 22:31:12.416 - info: coronavirus-statistics.0 (22350) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2020-12-05 22:45:07.100 - info: coronavirus-statistics.0 (2844) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                2020-12-05 22:46:11.495 - info: coronavirus-statistics.0 (2844) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2020-12-05 23:00:02.370 - info: coronavirus-statistics.0 (15530) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                2020-12-05 23:01:06.733 - info: coronavirus-statistics.0 (15530) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2020-12-05 23:15:07.221 - info: coronavirus-statistics.0 (28230) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                2020-12-05 23:30:00.029 - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                2020-12-05 23:45:04.050 - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                

                                um 23:30 kommt die erste Warnung...

                                K 1 Antwort Letzte Antwort
                                0
                                • S Supermicha

                                  Moin zusammen

                                  mein Corona-Adapter aktualisiert seit ca. einer Woche nicht mehr.

                                  Wenn ich ihn neu starte, dann kommen 1-2 mal neue Werte rein, danach nichts mehr.

                                  Hier mal das Log von heute Nacht

                                  2020-12-06 04:00:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 04:15:04.045  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 04:30:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 04:45:04.048  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 05:00:00.016  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 05:15:04.055  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 05:30:00.015  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 05:45:04.044  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-06 06:00:00.014  - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  

                                  und hier mal von eben, da scheint er aktualisiert zu haben...

                                  2020-12-06 14:45:01.173  - debug: coronavirus-statistics.0 (15812) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  2020-12-06 14:45:01.273  - debug: coronavirus-statistics.0 (15812) Objects client ready ... initialize now
                                  2020-12-06 14:45:01.280  - debug: coronavirus-statistics.0 (15812) Objects create System PubSub Client
                                  2020-12-06 14:45:01.283  - debug: coronavirus-statistics.0 (15812) Objects create User PubSub Client
                                  2020-12-06 14:45:01.286  - debug: coronavirus-statistics.0 (15812) Objects client initialize lua scripts
                                  2020-12-06 14:45:01.326  - debug: coronavirus-statistics.0 (15812) Objects connected to redis: 127.0.0.1:9001
                                  2020-12-06 14:45:01.341  - debug: coronavirus-statistics.0 (15812) objectDB connected
                                  2020-12-06 14:45:01.345  - debug: coronavirus-statistics.0 (15812) Redis States: Use Redis connection: 127.0.0.1:9000
                                  2020-12-06 14:45:01.363  - debug: coronavirus-statistics.0 (15812) States create User PubSub Client
                                  2020-12-06 14:45:01.369  - debug: coronavirus-statistics.0 (15812) States create System PubSub Client
                                  2020-12-06 14:45:01.405  - debug: coronavirus-statistics.0 (15812) States connected to redis: 127.0.0.1:9000
                                  2020-12-06 14:45:01.407  - debug: coronavirus-statistics.0 (15812) statesDB connected
                                  2020-12-06 14:45:02.369  - debug: coronavirus-statistics.0 (15812) Plugin sentry Initialize Plugin (enabled=true)
                                  2020-12-06 14:45:02.594  - info: coronavirus-statistics.0 (15812) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                  2020-12-06 14:45:02.636  - debug: coronavirus-statistics.0 (15812) Configuration object before config load : {"deleteUnused":true,"getContinents":true,"getGermanyFederalStates":true,"getGermanyCities":true,"getGermanyCounties":false,"getAllGermanyFederalStates":true,"getAllGermanyCities":false,"getAllGermanyCounties":false,"loadAllCountrys":false,"selectedGermanyFederalStates":[],"selectedGermanyCities":["Rostock"],"selectedGermanyCounties":[],"countries":["Australia","Austria","China","Denmark","Germany","Italy","Poland","Russia","Spain","Switzerland","United Kingdom","United States"]}
                                  2020-12-06 14:45:07.054  - debug: coronavirus-statistics.0 (15812) Data from COVID-19 API received : [object Object]
                                  2020-12-06 14:45:07.055  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.updated with value : 1607261771117
                                  2020-12-06 14:45:07.056  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  2020-12-06 14:45:07.108  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.cases with value : 66991090
                                  2020-12-06 14:45:07.109  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  2020-12-06 14:45:07.129  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.todayCases with value : 150887
                                  2020-12-06 14:45:07.131  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  2020-12-06 14:45:07.151  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.deaths with value : 1536864
                                  2020-12-06 14:45:07.153  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  2020-12-06 14:45:07.177  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.todayDeaths with value : 3033
                                  2020-12-06 14:45:07.177  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  2020-12-06 14:45:07.232  - debug: coronavirus-statistics.0 (15812) Create_state called for : global_totals.recovered with value : 46364717
                                  2020-12-06 14:45:07.234  - debug: coronavirus-statistics.0 (15812) Write value : false
                                  
                                  ...
                                  
                                  2020-12-06 14:46:17.832  - debug: coronavirus-statistics.0 (15812) Plugin sentry destroyed
                                  2020-12-06 14:46:17.833  - info: coronavirus-statistics.0 (15812) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  

                                  Kann mir da keinen Reim drauf machen, woran es liegen könnte... Sieht für mich unauffällig aus...

                                  auch wenn ich ihn jetzt nach dem Adapter-Neustart beobachte, läuft alles glatt, aber irgendwann scheint er sich auszuklinken... habe ihn gestern abend mal komplett deinstalliert und wieder neu installiert, danach lief alles gut. und als ich heute früh geguckt habe, war die letzte Aktualisierung 23:15....

                                  das log von gestern abend mal vollständig...
                                  (da stand die Log-Stufe allerdings nur auf Info)

                                  2020-12-05 22:30:02.380 - info: coronavirus-statistics.0 (22350) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                  2020-12-05 22:31:12.416 - info: coronavirus-statistics.0 (22350) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2020-12-05 22:45:07.100 - info: coronavirus-statistics.0 (2844) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                  2020-12-05 22:46:11.495 - info: coronavirus-statistics.0 (2844) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2020-12-05 23:00:02.370 - info: coronavirus-statistics.0 (15530) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                  2020-12-05 23:01:06.733 - info: coronavirus-statistics.0 (15530) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2020-12-05 23:15:07.221 - info: coronavirus-statistics.0 (28230) starting. Version 0.6.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.20.0, js-controller: 3.1.6
                                  2020-12-05 23:30:00.029 - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  2020-12-05 23:45:04.050 - warn: host.ioBroker instance system.adapter.coronavirus-statistics.0 already running with pid 28230
                                  

                                  um 23:30 kommt die erste Warnung...

                                  K Offline
                                  K Offline
                                  kwittig
                                  schrieb am zuletzt editiert von
                                  #739

                                  @Supermicha
                                  Das Problem hatte ich auch, es half nur die Instance zu deinstallieren und neu zu installieren.
                                  Anscheinend wird der Adapter manchmal nach der Abfrage der Daten nicht richtig beendet.
                                  Beim nächsten Startversuch tritt dann der Fehler auf.
                                  Seit dem ich die Abfragezeit auf 30 Minuten eingestellt habe, ist das nicht mehr vorgekommen.
                                  Gruss Klaus

                                  1 Antwort Letzte Antwort
                                  0
                                  • B Offline
                                    B Offline
                                    bauerpower
                                    schrieb am zuletzt editiert von
                                    #740

                                    Hallo zusammen,

                                    kurze Frage ... von der Logik her sollte das Bundesland eigentlich höhere Zahlen haben als
                                    der Kreis... oder !!??

                                    Habe mir die Datenpunkte angesehen und die sind richtig?

                                    18b2b2ee-abc8-470f-860f-b79503180d67-image.jpeg

                                    Liebe Grüsse

                                    Jörg

                                    K 1 Antwort Letzte Antwort
                                    0
                                    • B bauerpower

                                      Hallo zusammen,

                                      kurze Frage ... von der Logik her sollte das Bundesland eigentlich höhere Zahlen haben als
                                      der Kreis... oder !!??

                                      Habe mir die Datenpunkte angesehen und die sind richtig?

                                      18b2b2ee-abc8-470f-860f-b79503180d67-image.jpeg

                                      Liebe Grüsse

                                      Jörg

                                      K Offline
                                      K Offline
                                      kwittig
                                      schrieb am zuletzt editiert von
                                      #741

                                      @bauerpower
                                      Das sind die Fälle je 100K in 7 Tagen. warum sollten diese unbedingt im gesamten Bundesland grösser sein?

                                      B 1 Antwort Letzte Antwort
                                      0
                                      • K kwittig

                                        @bauerpower
                                        Das sind die Fälle je 100K in 7 Tagen. warum sollten diese unbedingt im gesamten Bundesland grösser sein?

                                        B Offline
                                        B Offline
                                        bauerpower
                                        schrieb am zuletzt editiert von
                                        #742

                                        @kwittig
                                        Alles klar Du hast Recht... ich war so mit dem implementieren beschäftigt das ich nur die Zahlen betrachtet habe!

                                        Lieben Dank!

                                        Jörg

                                        1 Antwort Letzte Antwort
                                        0
                                        • D Offline
                                          D Offline
                                          deta
                                          Most Active
                                          schrieb am zuletzt editiert von deta
                                          #743

                                          Kann es sein, das die API hinterher hängt?
                                          Ich update immer immer um 00:00 Uhr die Daten. Denke das ist der Schnittpunkt oder?
                                          Heute z.b.
                                          Deutschlandzahlen lt. Abfrage API 28179,
                                          aber direkt auf der RKi Seite 29.875

                                          Wie kommt das zustande?

                                          767b693d-b41a-4d17-ad21-21ebca8b0a7f-grafik.png

                                          lobomauL 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

                                          738

                                          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