NEWS
Test Coronavirus Statistics for ioBroker
-
@dutchman
Zum Aufräumen ist mir auch was aufgefallen:
Ich finde die häufigen localDeleteStates() machen das ganze sehr unübersichtlich. Kann man nicht einfach den ganzen übergeordneten State löschen?Also das hier:
await this.localDeleteState(`${channelName}._Impfungen.rkiImpfungenProTausend`); await this.localDeleteState(`${channelName}._Impfungen.rkiDifferenzVortag`); await this.localDeleteState(`${channelName}._Impfungen.rkiIndikationAlter`); await this.localDeleteState(`${channelName}._Impfungen.rkiIndikationBeruf`); await this.localDeleteState(`${channelName}._Impfungen.rkiIndikationMedizinisch`); await this.localDeleteState(`${channelName}._Impfungen.rkiImpfungePflegeheim`);zu dem hier:
await this.localDeleteState(`${channelName}._Impfungen`);So hab ichs bei Vaccination gemacht und das könnte man im Projekt an vielen Stellen so machen.
@jlssmt sagte in Test Coronavirus Statistics for ioBroker:
Ich finde die häufigen localDeleteStates() machen das ganze sehr unübersichtlich. Kann man nicht einfach den ganzen übergeordneten State löschen?
genau das baue ich gerade um, momentan werden nur ordner erstellt in der neuen version sind das schön devices und channel Strukturen und kan ich das komplette land mi einen Befehl aufräumen.
Der localDelete geht dafuer nicht der er nur states löscht keinen verschachtelten order.Habs fast fertig pushe gleich auf git
-
@jlssmt sagte in Test Coronavirus Statistics for ioBroker:
Ich finde die häufigen localDeleteStates() machen das ganze sehr unübersichtlich. Kann man nicht einfach den ganzen übergeordneten State löschen?
genau das baue ich gerade um, momentan werden nur ordner erstellt in der neuen version sind das schön devices und channel Strukturen und kan ich das komplette land mi einen Befehl aufräumen.
Der localDelete geht dafuer nicht der er nur states löscht keinen verschachtelten order.Habs fast fertig pushe gleich auf git
Also braucht der User selbst nichts machen?
-
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Also braucht der User selbst nichts machen?
nope, die næste version räumt meinen Fehler wieder auf

-
-
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
coronavirus-statistics.0 2021-08-12 11:25:21.908 info Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment coronavirus-statistics.0 2021-08-12 11:25:01.336 info starting. Version 0.8.0-3 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.15 -
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
coronavirus-statistics.0 2021-08-12 11:25:21.908 info Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment coronavirus-statistics.0 2021-08-12 11:25:01.336 info starting. Version 0.8.0-3 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.15@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
super danke dir !
-
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
super danke dir !
@dutchman sagte in Test Coronavirus Statistics for ioBroker:
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
super danke dir !
Bitte sehr, gibt es eigentlich eine Ausgabe der Wichtigsten Daten als Json Table pro Land?
-
@dutchman sagte in Test Coronavirus Statistics for ioBroker:
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Schaut gut aus. Objekte sind ident mit der Länderauswahl, alte Länder wurden gelöscht.
super danke dir !
Bitte sehr, gibt es eigentlich eine Ausgabe der Wichtigsten Daten als Json Table pro Land?
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
Bitte sehr, gibt es eigentlich eine Ausgabe der Wichtigsten Daten als Json Table pro Land?
nope, wird auch noch nicht nach gefragt mach mal bitte. n git issue dazu und was fuer Daten da drin sein sollen
-
so die 0.8.0 ist jetzt final und released, have fun !
-
Was meint ihr, reif für stable ?
-
@dutchman sagte in Test Coronavirus Statistics for ioBroker:
Was meint ihr, reif für stable ?
Schaut gut aus.

coronavirus-statistics.0 2021-08-14 18:07:13.789 info Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment coronavirus-statistics.0 2021-08-14 18:07:01.162 info starting. Version 0.8.0 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.15 -
Die Warnungen bekomme ich.
2021-08-15 22:59:25.532 - warn: coronavirus-statistics.0 (15992) State attribute definition missing for total_boosters 2021-08-15 22:59:25.649 - warn: coronavirus-statistics.0 (15992) State attribute definition missing for total_boosters_per_hundred 2021-08-15 23:00:00.035 - warn: host.iobroker instance system.adapter.coronavirus-statistics.0 already running with pid 15992Vaccinatio wird von allen Länder angezeigt, auch bei nicht ausgewählte.

Bei _Impfungen stimmen auch so ein paar Daten nicht entweder fehlen Komma oder % Zeichen oder die Daten.

und hier stimmt der Name nichtID Name coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenDifferenzVortag Zweit Impfungen Differenz zum VortagGruß Michael
-
Ich finds geil, dass hier so gut getestet wird

Zum Bug "Vaccinatio wird von allen Länder angezeigt, auch bei nicht ausgewählte.": Hast du sicher Version 0.8.0 installiert und deinen State Ordner für die Instanz mal gelöscht? Der Fehler bestand bei früheren Versionen, aber mMn. nicht bei 0.8.0. Gerade nochmal getestet.@Dutchman: Booster sind Dritt-Impfungen.
-
Ich finds geil, dass hier so gut getestet wird

Zum Bug "Vaccinatio wird von allen Länder angezeigt, auch bei nicht ausgewählte.": Hast du sicher Version 0.8.0 installiert und deinen State Ordner für die Instanz mal gelöscht? Der Fehler bestand bei früheren Versionen, aber mMn. nicht bei 0.8.0. Gerade nochmal getestet.@Dutchman: Booster sind Dritt-Impfungen.
-
@jlssmt
Hallo,
ich habe die 0.8.0-2 installiert, aber die Objekte hatte ich noch nicht gelöscht da hast du recht.
Wollte mir das neu auswählen der ganzen History Einträge sparen.
Teste ich heute Abend mal.Gruß Michael
-
Ich finds geil, dass hier so gut getestet wird

Zum Bug "Vaccinatio wird von allen Länder angezeigt, auch bei nicht ausgewählte.": Hast du sicher Version 0.8.0 installiert und deinen State Ordner für die Instanz mal gelöscht? Der Fehler bestand bei früheren Versionen, aber mMn. nicht bei 0.8.0. Gerade nochmal getestet.@Dutchman: Booster sind Dritt-Impfungen.
@jlssmt sagte in Test Coronavirus Statistics for ioBroker:
@Dutchman: Booster sind Dritt-Impfungen.
danke! Implementiert in 0.8.1
-
@jlssmt
Danke alle Objekte gelöscht hab es dann mitnpm i iobroker.coronavirus-statistics@latest --productionInstalliert und so auch direkt die 0.8.1 bekommen, sieht viel besser aus.unter global_continents sind noch ein paar Fehler in continent
ID Name Wert coronavirus-statistics.0.global_continents.Africa.continent Continent name 0AfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfricaAfrica@Dutchman @jlssmt
vielen Dank für die Klasse Arbeit und das nachbessern, RKI macht es euch ja nicht gerade einfach mit seinen andauernden Änderungen.Gruß Michael
-
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
Hallo, bekomme keine Today Werte außer bei Aut? Bei dir auch so?

starting. Version 0.8.2 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.15 -
Hallo, bekomme keine Today Werte außer bei Aut? Bei dir auch so?

starting. Version 0.8.2 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.15@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
starting. Version 0.8.2 in
ziehe bitte mal auf neuste version und probieren nochmal

-
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
starting. Version 0.8.2 in
ziehe bitte mal auf neuste version und probieren nochmal

@dutchman sagte in Test Coronavirus Statistics for ioBroker:
@sigi234 sagte in Test Coronavirus Statistics for ioBroker:
starting. Version 0.8.2 in
ziehe bitte mal auf neuste version und probieren nochmal

Leider nein