Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Coronavirus Statistics for ioBroker

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Coronavirus Statistics for ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dutchman
      Dutchman Developer Most Active Administrators last edited by 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

      sigi234 Chaot Neuschwansteini D A 27 Replies Last reply Reply Quote 4
      • sigi234
        sigi234 Forum Testing Most Active @Dutchman last edited by sigi234

        @Dutchman

        Hallo, wie kann ich das Widget anwenden?
        Erledigt, ein Neustart hat geholfen.

        Latzi 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @Dutchman last edited by

          @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

          COVID-19

          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at endReadableNT (_stream_readable.js:1145:12)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at IncomingMessage.emit (events.js:203:15)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Object.onceWrapper (events.js:286:20)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at IncomingMessage.<anonymous> (C:\Program Files\iobroker\Test\node_modules\request\request.js:1076:12)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.emit (events.js:198:13)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.<anonymous> (C:\Program Files\iobroker\Test\node_modules\request\request.js:1154:10)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.emit (events.js:198:13)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.self.callback (C:\Program Files\iobroker\Test\node_modules\request\request.js:185:22)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.request [as _callback] (C:\Program Files\iobroker\Test\node_modules\iobroker.coronavirus-statistics\main.js:51:26)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at JSON.parse (<anonymous>)
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	(14256) SyntaxError: Unexpected end of JSON input
          coronavirus-statistics.0	2020-03-16 13:29:07.148	error	(14256) uncaught exception: Unexpected end of JSON input
          
          Dutchman 1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators @sigi234 last edited by

            @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

            @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

            COVID-19

            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at endReadableNT (_stream_readable.js:1145:12)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at IncomingMessage.emit (events.js:203:15)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Object.onceWrapper (events.js:286:20)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at IncomingMessage.<anonymous> (C:\Program Files\iobroker\Test\node_modules\request\request.js:1076:12)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.emit (events.js:198:13)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.<anonymous> (C:\Program Files\iobroker\Test\node_modules\request\request.js:1154:10)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.emit (events.js:198:13)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.self.callback (C:\Program Files\iobroker\Test\node_modules\request\request.js:185:22)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at Request.request [as _callback] (C:\Program Files\iobroker\Test\node_modules\iobroker.coronavirus-statistics\main.js:51:26)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	at JSON.parse (<anonymous>)
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	(14256) SyntaxError: Unexpected end of JSON input
            coronavirus-statistics.0	2020-03-16 13:29:07.148	error	(14256) uncaught exception: Unexpected end of JSON input
            

            das passiert wen die API nicht erreichbar ist, keine sorge nach 15 min probieren wir es nochmal.
            Ich spiele mit dem Gedanken direkt einen retry ein zu bauen aber denke mal 15 min ist ok damit die API auch nicht überlastet wird

            1 Reply Last reply Reply Quote 1
            • Dutchman
              Dutchman Developer Most Active Administrators last edited by

              sollte mit 0.2.0 nicht mehr passieren

              1 Reply Last reply Reply Quote 1
              • sigi234
                sigi234 Forum Testing Most Active @Dutchman last edited by sigi234

                @Dutchman

                Test:

                In der Land Liste sind undefinierbare Länder drinnen

                Wünsche:

                Ein DP als Table
                Land ein/aus blendbar
                Zahlen konfigurierbar

                Screenshot (2048).png

                Dutchman K 2 Replies Last reply Reply Quote 1
                • Dutchman
                  Dutchman Developer Most Active Administrators @sigi234 last edited by

                  @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                  Ein DP als Table

                  gerne gitissue erstellen, kan ich es abarbeiten

                  Land ein/aus blendbar

                  same here

                  Zahlen konfigurierbar

                  sie meinen ?

                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Dutchman last edited by

                    @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                    sie meinen ?

                    Größe änderbar

                    Dutchman 1 Reply Last reply Reply Quote 0
                    • Dutchman
                      Dutchman Developer Most Active Administrators @sigi234 last edited by

                      @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                      @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                      sie meinen ?

                      Größe änderbar

                      welche Größe ?

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @Dutchman last edited by

                        @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                        @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                        @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                        sie meinen ?

                        Größe änderbar

                        welche Größe ?

                        Screenshot (2049)_LI.jpg

                        Dutchman 1 Reply Last reply Reply Quote 0
                        • Dutchman
                          Dutchman Developer Most Active Administrators @sigi234 last edited by

                          @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                          @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                          @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                          @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                          sie meinen ?

                          Größe änderbar

                          welche Größe ?

                          Screenshot (2049)_LI.jpg

                          da bin ich raus @Bluefox war so nett die zu machen front-end ist nicht meine stärke

                          1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @Dutchman last edited by

                            @Dutchman

                            
                            coronavirus-statistics.0	2020-03-16 15:18:59.329	info	(13556) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                            coronavirus-statistics.0	2020-03-16 15:18:55.508	warn	(13556) State attribute definition missing for + updated
                            coronavirus-statistics.0	2020-03-16 15:18:50.119	info	(13556) starting. Version 0.2.0 in C:/Program Files/iobroker/Test/node_modules/iobroker.coronavirus-statistics, node: v10.16.3
                            
                            Homoran 1 Reply Last reply Reply Quote 0
                            • Latzi
                              Latzi @sigi234 last edited by

                              @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                              Hallo, wie kann ich das Widget anwenden?

                              Die Frage stellt sich mir auch, dummerweise hat ein Neustart mir nicht die Augen geöffnet. Kannst du mir bitte weiterhelfen?

                              sigi234 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @sigi234 last edited by

                                @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                                @Dutchman

                                
                                coronavirus-statistics.0	2020-03-16 15:18:59.329	info	(13556) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                coronavirus-statistics.0	2020-03-16 15:18:55.508	warn	(13556) State attribute definition missing for + updated
                                coronavirus-statistics.0	2020-03-16 15:18:50.119	info	(13556) starting. Version 0.2.0 in C:/Program Files/iobroker/Test/node_modules/iobroker.coronavirus-statistics, node: v10.16.3
                                

                                Habe das WARN auch

                                Dutchman 1 Reply Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active @Latzi last edited by

                                  @Latzi sagte in Test Coronavirus Statistics for ioBroker:

                                  @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                                  Hallo, wie kann ich das Widget anwenden?

                                  Die Frage stellt sich mir auch, dummerweise hat ein Neustart mir nicht die Augen geöffnet. Kannst du mir bitte weiterhelfen?

                                  Screenshot (2051)_LI.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tobias last edited by

                                    Habt ihr auch ein Problem mit der Darstellung?

                                    Bildschirmfoto 2020-03-16 um 20.12.28.png

                                    Unterste Zeile...

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @Tobias last edited by

                                      @Tobias

                                      CSS Font und Text

                                      T 1Topf 2 Replies Last reply Reply Quote 0
                                      • S
                                        stimezo Forum Testing last edited by

                                        Kann man sich aber auch schnell selber basteln 🙂 :

                                        Unbenannt-1.jpg

                                        Gruß
                                        Christian

                                        sigi234 C P A 4 Replies Last reply Reply Quote 1
                                        • sigi234
                                          sigi234 Forum Testing Most Active @stimezo last edited by

                                          @stimezo

                                          Kannst du die Icons zur Verfügung stellen?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            stimezo Forum Testing @sigi234 last edited by

                                            @sigi234 sagte in Test Coronavirus Statistics for ioBroker:

                                            @stimezo

                                            Kannst du die Icons zur Verfügung stellen?

                                            Per mail?

                                            Gruß
                                            Christian

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            608
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter installation adapterentwicklung testen
                                            120
                                            1177
                                            231397
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo