0.9.0 • Published 5 months ago

iobroker.coronavirus-statistics v0.9.0

Weekly downloads
306
License
MIT
Repository
github
Last release
5 months ago

ioBroker.coronavirus-statistics

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Known Vulnerabilities

NPM

Test and Release Dependency Status

Coronavirus Live Statistics adapter for ioBroker

Adapter to show Global Coronavirus 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 :

DatapointDetails
activeAmount of current infected people
casesAmount of totally known cases
casesPerOneMillionAmount of totally known cases per million citizen
criticalAmount of critical situation (Hospitalized)
deathsAmount of current registered deaths
deathsPerOneMillionAmount of current registered deaths per million citizen
flagCountry flag, link to github location
recoveredAmount of totally known recovered cases
todayCasesNew Cases by Today
todayDeathsAmount of totally known people died today
testTotal number of COVID-19 tests taken globally
tests per one million countiesTotal 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 a 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

OptionDescription
All CountriesGet data for all countries World-Wide (Default: false)
ContinentsGroup total amounts by a continent in separate state (Default: false)
Delete unused StatesDelete data when countries are deselected (Default: false)
## For Germany only
| Option | Description |
|--|--|
| Federal states| Get federal state data for Germany (Selected only, Default false) |
| counties | Get data for Germany counties (Selected only, Default false) |
| Cities | Get data for Germany cities (Selected only, Default false) |
| All federal states | All Germany federal states  (Default false) |
| All cities | All Germany cities (Default false) |
| All counties | All Germany counties (Default false) |

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

<span style="color:red">Vaccination data is currently only available for Germany and will only be retrieved when *"Bundesländer"* is activated</span>

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

0.9.0 (2023-11-16) - Remove unsupported APIs

  • (DutchmanNL) Remove specific data regarding germany as APIs are not available anymore
  • (DutchmanNL) Data source dedicated for https://coronavirus-19-api.herokuapp.com, we are unable to support more APIs due to changes, complexity and available development capacity. But please feel free to provide PR's!

0.8.8-0 (2021-11-19)

  • (jlssmt) added hospital index for germany and federal states of germany

0.8.7 (2021-11-17)

  • (DutchmanNL) Bugfix: Added missing definitions
  • (jlssmt) Error handling for missing state attribute definitions Optimized

0.8.6 (2021-11-15)

  • (Simatec) Design Fix for Admin >=5.1.28 Dark/Blue Theme

0.8.5 (2021-10-29)

  • (jlssmt) Error handling for bundesländer api implemented

License

MIT License

Copyright (c) 2023 DrozmotiX Holding B.V. OSS@DrozmotiX.eu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0.9.0

5 months ago

0.8.7

2 years ago

0.8.6

2 years ago

0.8.5

2 years ago

0.8.4

3 years ago

0.8.3-0

3 years ago

0.8.3

3 years ago

0.8.1

3 years ago

0.8.2

3 years ago

0.8.0-3

3 years ago

0.8.0-2

3 years ago

0.8.0-1

3 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.7.0-5

3 years ago

0.7.0-4

3 years ago

0.7.0-3

3 years ago

0.7.0-2

3 years ago

0.6.9

3 years ago

0.7.0-1

3 years ago

0.6.8

3 years ago

0.6.7

3 years ago

0.6.6

3 years ago

0.6.5

3 years ago

0.6.4

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.9

4 years ago

0.4.7

4 years ago

0.4.5

4 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.5

4 years ago

0.1.2-test

4 years ago