Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  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.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Test Coronavirus Statistics for ioBroker

Scheduled Pinned Locked Moved Tester
adapter installationadapterentwicklungtesten
1.2k Posts 120 Posters 340.4k Views 94 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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
    wrote on last edited by
    #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 Reply Last reply
    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
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by
        #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 Reply Last reply
        0
        • NashraN Offline
          NashraN Offline
          Nashra
          Most Active Forum Testing
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by 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 Reply Last reply
            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
              wrote on last edited by 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 Reply Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                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
                  wrote on last edited by
                  #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 Reply Last reply
                  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
                    wrote on last edited by
                    #735

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

                    1 Reply Last reply
                    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
                      wrote on last edited by deta
                      #736

                      hat sich erledigt

                      1 Reply Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Supermicha
                          wrote on last edited by
                          #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 Reply Last reply
                          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
                            wrote on last edited by
                            #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 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              bauerpower
                              wrote on last edited by
                              #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 Reply Last reply
                              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
                                wrote on last edited by
                                #741

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

                                B 1 Reply Last reply
                                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
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    deta
                                    Most Active
                                    wrote on last edited by 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 Reply Last reply
                                    0
                                    • D deta

                                      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 Offline
                                      lobomauL Offline
                                      lobomau
                                      wrote on last edited by
                                      #744

                                      @deta ja, ich habe bei BRD oft gegen 3:00 Uhr den Nullabgleich. Dann wirst du eine Differenz haben, wenn es um 00:00 Uhr machst. Ich würde öfter updaten. Warum nicht einmal pro Stunde?
                                      Hier siehst du einen Beispielhaften Verlauf:
                                      c20035bc-7120-4d96-bcad-88943222c949-image.png

                                      Host: NUC8i3 mit Proxmox:

                                      • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                                      • Slave: Pi4
                                      D 1 Reply Last reply
                                      0
                                      • lobomauL lobomau

                                        @deta ja, ich habe bei BRD oft gegen 3:00 Uhr den Nullabgleich. Dann wirst du eine Differenz haben, wenn es um 00:00 Uhr machst. Ich würde öfter updaten. Warum nicht einmal pro Stunde?
                                        Hier siehst du einen Beispielhaften Verlauf:
                                        c20035bc-7120-4d96-bcad-88943222c949-image.png

                                        D Offline
                                        D Offline
                                        deta
                                        Most Active
                                        wrote on last edited by
                                        #745

                                        @lobomau Hab mir mal jetzt alle Punkte angeschaut, das ist zwischen 3 und 4 Uhr wo der Punkt gesetzt wird. Und da vor 5 Uhr nix passiert immer, hab ich das mal jetzt auf 5 Uhr gesetzt, werde es jetzt mal beobachten.

                                        1 Reply Last reply
                                        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
                                          wrote on last edited by
                                          #746

                                          @Dutchman gibt es auch die Möglichkeit, der Genesenen in den Regionen und Städten abzurufen?
                                          Oder stehen die Daten nicht zur Verfügung?
                                          Damit man eine Zahl hat, was jetzt aktuell noch Erkrankt ist.

                                          DutchmanD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          573

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe