NEWS
Test Coronavirus Statistics for ioBroker
-
Moin,
bei mir sind einige Knöpfe nicht klickbar (mobiler Safari Browser).
Habe ich etwas übersehen?

@muuulle said in Test Coronavirus Statistics for ioBroker:
Moin,
bei mir sind einige Knöpfe nicht klickbar (mobiler Safari Browser).
Habe ich etwas übersehen?

Hat jemand eine Idee, was ich falsch mache oder nicht probieren kann? Ich bin überfragt 😬
-
@muuulle said in Test Coronavirus Statistics for ioBroker:
Moin,
bei mir sind einige Knöpfe nicht klickbar (mobiler Safari Browser).
Habe ich etwas übersehen?

Hat jemand eine Idee, was ich falsch mache oder nicht probieren kann? Ich bin überfragt 😬
@muuulle sagte in Test Coronavirus Statistics for ioBroker:
Hat jemand eine Idee, was ich falsch mache oder nicht probieren kann? Ich bin überfragt
Länderauswahl durchgelaufen?
-
@muuulle sagte in Test Coronavirus Statistics for ioBroker:
Hat jemand eine Idee, was ich falsch mache oder nicht probieren kann? Ich bin überfragt
Länderauswahl durchgelaufen?
-
Hallo,
fragen dazu:-
Muss der Adapter komplett jedes mal neu starten alle 15 Minuten um zu aktuallisieren? Bekomme immer alle 15 Minten die Infos, das der Adapter jetzt dann wieder erreichbar ist.
-
Komme aus der Region Hannover, die Region ist ja in einzelen Größer Städte eingeteilt, über die lokale Zeitung bekommen wir immer die Zahlen der einzelnen Städte in der Region. Ist das auch irgendwie noch aufschlüsselbar?
-
-
Hallo,
fragen dazu:-
Muss der Adapter komplett jedes mal neu starten alle 15 Minuten um zu aktuallisieren? Bekomme immer alle 15 Minten die Infos, das der Adapter jetzt dann wieder erreichbar ist.
-
Komme aus der Region Hannover, die Region ist ja in einzelen Größer Städte eingeteilt, über die lokale Zeitung bekommen wir immer die Zahlen der einzelnen Städte in der Region. Ist das auch irgendwie noch aufschlüsselbar?
@deta Bekommst du denn alle 15 Minuten neue Daten?
Ich starte den Adapter nur alle 5 oder 6 Stunden.Die Daten für Deutschland kommen vom Dashboard der RKI, und die gehen nur bis Landkreisebene.
Alle weiteren Daten innerhalb der Landkreise stellen diese selber zur Verfügung, aber ohne gemeinsame API. Bei meinem Landkreis nur als täglich aktualisiertes PDF :( -
-
@deta Bekommst du denn alle 15 Minuten neue Daten?
Ich starte den Adapter nur alle 5 oder 6 Stunden.Die Daten für Deutschland kommen vom Dashboard der RKI, und die gehen nur bis Landkreisebene.
Alle weiteren Daten innerhalb der Landkreise stellen diese selber zur Verfügung, aber ohne gemeinsame API. Bei meinem Landkreis nur als täglich aktualisiertes PDF :(@stan23 sagte in Test Coronavirus Statistics for ioBroker:
@deta Bekommst du denn alle 15 Minuten neue Daten?
Ich starte den Adapter nur alle 5 oder 6 Stunden.ja ist default. Bei der Adapter installation so.
Die Daten für Deutschland kommen vom Dashboard der RKI, und die gehen nur bis Landkreisebene.
Alle weiteren Daten innerhalb der Landkreise stellen diese selber zur Verfügung, aber ohne gemeinsame API. Bei meinem Landkreis nur als täglich aktualisiertes PDF :(Das kann ich dir nicht sagen, bin leider da nicht so im Thema drinnen. Wir haben von Mo bis Fr immer jeden Tag die Zahlen. Werde mal versuchen das herauszubekommen wo die Zahlen herkommen. Weil es ja auch Interessant ist was gerade in meiner Stadt im Landkeis los ist.
-
Hallo,
fragen dazu:-
Muss der Adapter komplett jedes mal neu starten alle 15 Minuten um zu aktuallisieren? Bekomme immer alle 15 Minten die Infos, das der Adapter jetzt dann wieder erreichbar ist.
-
Komme aus der Region Hannover, die Region ist ja in einzelen Größer Städte eingeteilt, über die lokale Zeitung bekommen wir immer die Zahlen der einzelnen Städte in der Region. Ist das auch irgendwie noch aufschlüsselbar?
@deta sagte in Test Coronavirus Statistics for ioBroker:
Hallo,
fragen dazu:- Muss der Adapter komplett jedes mal neu starten alle 15 Minuten um zu aktuallisieren? Bekomme immer alle 15 Minten die Infos, das der Adapter jetzt dann wieder erreichbar ist.
Ja es ist ein sheduled adapter, der ist immer aus ausser wen er die daten abfraget den Intervall kannst du in der Instanz selber bestimmen.
15 minuten ist standard.
Vorteil daran is das er nicht unnötig Speicher reserviert und nur aktiv ist wen es noetig ist.- Komme aus der Region Hannover, die Region ist ja in einzelen Größer Städte eingeteilt, über die lokale Zeitung bekommen wir immer die Zahlen der einzelnen Städte in der Region. Ist das auch irgendwie noch aufschlüsselbar?
Siehe adapter Einstellungen, das ist die Lister welche per API zur verfuegung steht.

-
-
@deta sagte in Test Coronavirus Statistics for ioBroker:
Hallo,
fragen dazu:- Muss der Adapter komplett jedes mal neu starten alle 15 Minuten um zu aktuallisieren? Bekomme immer alle 15 Minten die Infos, das der Adapter jetzt dann wieder erreichbar ist.
Ja es ist ein sheduled adapter, der ist immer aus ausser wen er die daten abfraget den Intervall kannst du in der Instanz selber bestimmen.
15 minuten ist standard.
Vorteil daran is das er nicht unnötig Speicher reserviert und nur aktiv ist wen es noetig ist.- Komme aus der Region Hannover, die Region ist ja in einzelen Größer Städte eingeteilt, über die lokale Zeitung bekommen wir immer die Zahlen der einzelnen Städte in der Region. Ist das auch irgendwie noch aufschlüsselbar?
Siehe adapter Einstellungen, das ist die Lister welche per API zur verfuegung steht.

-
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,@deta Region Hannover findest du unter "Landkreise"
-
@deta Region Hannover findest du unter "Landkreise"
@Feuersturm sagte in Test Coronavirus Statistics for ioBroker:
@deta Region Hannover findest du unter "Landkreise"
Das ist klar, aber nicht die Aufschlüsselung des Landkreises so z.b.:

-
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
-
@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
@Dutchman sagte in Test Coronavirus Statistics for ioBroker:
@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist? -
@Dutchman sagte in Test Coronavirus Statistics for ioBroker:
@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman sagte in Test Coronavirus Statistics for ioBroker:
@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?weil ich nicht einschätzen kan wan die APi daten liefert, das jeden tag unterschiedlich ist und der shedule halt so aufgebaut werden kan.
Is die default setting, kan und darf jeder aendern wie er es mag .... -
@Dutchman sagte in Test Coronavirus Statistics for ioBroker:
@deta sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman
wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis
Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist? -
@deta kann man nicht fest sagen. Hier als Beispiel kamen in 24 Stunden 12 neue Zahlen (BRD neue Fälle) rein:

Edit: Italien schickt meist nur einmal am Tag seine Daten. -
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@latestAdapter 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.comAdvanced 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.countryTranslatoryou can assign a country yourself. Look for the name of the corresponding country here: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
Habt Ihr mal Lust eure Umsetzungen für VIS hier zu Posten.
Wäre klasse.
[https://forum.iobroker.net/topic/38895/coronavirus-statistics-for-iobroker-vis-umsetzung](Link Adresse) -
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@latestAdapter 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.comAdvanced 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.countryTranslatoryou can assign a country yourself. Look for the name of the corresponding country here: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
-
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@latestAdapter 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.comAdvanced 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.countryTranslatoryou can assign a country yourself. Look for the name of the corresponding country here: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
Hat sich erledigt, hatte falsch gedacht.
Was mir noch fehlt ist der Vergleich zum Vortag
-
@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)
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 "😊"; if (+value > 35 && +value < 50) return "🔥"; return "🆘"; }@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
