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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Coronavirus Statistics for ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Dutchman last edited by

      @dutchman hab grad mal von Git gezogen, sehe allerdings nun diese Meldung

      2021-10-19 16:51:32.790 - error: coronavirus-statistics.0 (25294) Cannot write hospital data for Germany.Bundesland.Baden-Württemberg: Error: Cannot get hospital data for Baden-Württemberg from divi: Error
      2021-10-19 16:51:37.352 - error: coronavirus-statistics.0 (25294) Cannot write hospital data for Germany.Bundesland.Thüringen: Error: Cannot get hospital data for Thüringen from divi: Error
      
      J 1 Reply Last reply Reply Quote 0
      • Kusselin
        Kusselin last edited by

        bekomme auch wieder fehlermeldung:

        coronavirus-statistics.0
        	2021-10-21 15:15:18.150	warn	[germanyBundesland] Unable to contact api.corona-zahlen.org : Error: Request failed with status code 502
        
        O 1 Reply Last reply Reply Quote 0
        • O
          obakuhl Developer @Kusselin last edited by

          @kusselin said in Test Coronavirus Statistics for ioBroker:

          bekomme auch wieder fehlermeldung:

          coronavirus-statistics.0
          	2021-10-21 15:15:18.150	warn	[germanyBundesland] Unable to contact api.corona-zahlen.org : Error: Request failed with status code 502
          

          Ist das denn von permanenter Dauer? Ab und zu kann schon mal der 502 (Bad Gateway) Fehler auftreten, weil zu viele Leute gleichzeitig auf den Server zugreifen. Evtl. mal das Abfrageintervall anpassen. Ist es wirklich notwendig, dass z.B. der Adapter alle 15 min bei der Quelle den letzten Stand abfragt?

          J 1 Reply Last reply Reply Quote 0
          • J
            jlssmt @crunchip last edited by

            @crunchip
            Sorry bin aus Bayern 😉 Liegt an den Umlauten im Bundesland.

            @Dutchman
            Habs im latest PR gefixt.

            1 Reply Last reply Reply Quote 1
            • J
              jlssmt @obakuhl last edited by jlssmt

              @obakuhl @Kusselin
              Es gibt schon eine Randomisierung um die Last zu verteilen.
              Es fragen nicht alle gleichzeitig um genau 15:15:00 Uhr an.
              Mein Adapter läuft bspw. nur 1x pro Tag. Ich bekomme den Fehler auch nicht.

              @Dutchman
              Gibts einen Grund, warum der Adapter standardmäßig alle 15min läuft? Ist das nötig? Neue Daten gibts doch eh nur 3x pro Tag oder so (wenn überhaupt).
              Ansonsten sollten wir die Randomisierung vllt noch ausweiten und wenn das alles nichts bringt, dann die API wechseln.
              hab mal nen PR mit erweitertem Timer gestellt. Man muss halt jetzt dann bis zu 30sek warten (bisher max 10sek), bis man die neuen Daten erhält. das ist wichtig zu wissen beim manuellen restart des adapters durch den user und als developer ists vllt auch nervig beim testen.
              überlegs dir ob du den PR mergen willst. aber wenn, dann bitte den anderen hospital PR zuerst. danke 😉

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

                @jlssmt sagte in Test Coronavirus Statistics for ioBroker:

                Gibts einen Grund, warum der Adapter standardmäßig alle 15min läuft? Ist das nötig? Neue Daten gibts doch eh nur 3x pro Tag oder so (wenn überhaupt).

                der Grund ist teils diese Ausfälle der API und das die Daten aktualisiert werden darum haben wir uns initial fuer einen Intervall von 15 Minuten entschieden welcher random bij jeder installation einen x factor hinzufügt damit nicht alle gleichzeitig die API abfragen.

                Selbstverständlich ist es jedem frei dieses abfrage Intervall zu erhöhen, mar als 4 abfrage pro stunden von der API rate ich ab und halte ich auch fuer unnötig.

                Vielen dank fuer deinen PR, ich habe die Sachen kombiniert und damit Version 0.8.4 released welches, nach positiven feedback, innerhalb der naschten tage auch in stable verfügbar sein wird

                ~Dutch

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

                  0.8.4 ist ab heut mittag im stable

                  ChrisNett 1 Reply Last reply Reply Quote 0
                  • ChrisNett
                    ChrisNett @Dutchman last edited by

                    @dutchman

                    Sag mal die hospitalisierungsrate hast du doch hinzugefügt? Ich sehe die nicht in den Objekten.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jlssmt @ChrisNett last edited by jlssmt

                      @christian-sandkaulen
                      Die Hospitalisierungsrate habe ich hinzugefügt.
                      Was genau suchst du denn?
                      Das hier? Die Daten gibts nur auf Bundesland Ebene. Tiefer ergibt keinen Sinn.

                      a553e665-9b40-4e05-aebc-1858c85402be-image.png

                      ChrisNett 1 Reply Last reply Reply Quote 0
                      • ChrisNett
                        ChrisNett @jlssmt last edited by

                        @jlssmt

                        das habe ich eingestellt.

                        e9504867-b61d-4960-9954-67b7cd3aab2a-image.png

                        bein den obj habe ich aber beim Bundesland nur das

                        b02127e9-adbb-4a92-b5b6-38798c7b2652-image.png

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jlssmt @ChrisNett last edited by

                          @christian-sandkaulen
                          Da du noch nicht mal die Impfungen hast, würde ich sagen du nutzt eine sehr alte Version. Welche hast du denn?
                          Installier mal die aktuelle Github/NPM Version.
                          Oder Alternativ bis Nachmittag warten, dann sollte es ein Stable Update geben.

                          ChrisNett 1 Reply Last reply Reply Quote 0
                          • ChrisNett
                            ChrisNett @jlssmt last edited by

                            @jlssmt

                            eigentlich nichts altes oder?

                            f35f6643-1fd9-4c8b-8bcc-b6992d5ea893-image.png

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jlssmt @ChrisNett last edited by

                              @christian-sandkaulen
                              Puuuuuuuuuhhhhhh.
                              Ne sollte eigentlich funktionieren...
                              Restarte mal den Adapter und schau in die Logs ob du irgendwelche Warnings bekommst.
                              Sonst weiß ich grad nicht weiter. Vllt mal Adapter löschen und neu installieren.

                              ChrisNett 1 Reply Last reply Reply Quote 0
                              • ChrisNett
                                ChrisNett @jlssmt last edited by

                                @jlssmt sagte in Test Coronavirus Statistics for ioBroker:

                                @christian-sandkaulen
                                Puuuuuuuuuhhhhhh.
                                Ne sollte eigentlich funktionieren...
                                Restarte mal den Adapter und schau in die Logs ob du irgendwelche Warnings bekommst.
                                Sonst weiß ich grad nicht weiter. Vllt mal Adapter löschen und neu installieren.

                                
                                coronavirus-statistics.0	2021-10-27 11:01:13.046	info	(5130) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
                                coronavirus-statistics.0	2021-10-27 11:00:32.943	warn	(5130) [germanyBundesland] Unable to contact api.corona-zahlen.org : Error: Request failed with status code 502
                                coronavirus-statistics.0	2021-10-27 11:00:04.576	info	(5130) starting. Version 0.8.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.18
                                coronavirus-statistics.0	2021-10-27 10:59:58.408	info	(4962) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
                                coronavirus-statistics.0	2021-10-27 10:59:21.227	warn	(4962) [germanyBundesland] Unable to contact api.corona-zahlen.org : Error: Request failed with status code 502
                                coronavirus-statistics.0	2021-10-27 10:59:03.250	info	(4962) starting. Version 0.8.3 in /opt/iobroker/node_modules/iobroker.coronavirus-statistics, node: v12.22.5, js-controller: 3.3.18
                                coronavirus-statistics.0	2021-10-27 10:45:19.929	info	(1225) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
                                coronavirus-statistics.0	2021-10-27 10:45:10.604	info	(1016) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
                                

                                mal ein log, ich habe mal eine 2. Instanz installiert mal sehen was die macht.

                                ChrisNett 1 Reply Last reply Reply Quote 0
                                • ChrisNett
                                  ChrisNett @ChrisNett last edited by

                                  b35866b9-139f-4683-b990-e1c5aa8adf1c-image.png @christian-sandkaulen

                                  die Impfungen habe ich jetzt schon mal...

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jlssmt last edited by

                                    @christian-sandkaulen
                                    Die zwei Warnings bekommen wir hoffentlich mit der 0.8.4 raus.
                                    Aber sonst sieht es bei dir eigentlich gut aus.
                                    Mir fällt da ehrlich gesagt nichts ein, außer Adapter zu löschen und die Stable heute Nachmittag zu installieren.
                                    Vllt weiß @Dutchman noch was, was im ioBroker falsch sein könnte, da bin ich nicht so tief drin. Der Adapter selbst sollte eigentlich funktionieren.

                                    Zu deinem zweiten Screenshot:
                                    Die Impfungen sind jetzt aus der zweiten Instanz? Installier mal bitte die 0.8.4
                                    Aber eigentlich sollten auch in der 0.8.3 die Krankenhausdaten da sein.
                                    Hier mein Screenshot mit 0.8.4
                                    e6e9b3ed-de2d-493c-8a54-2b29184b62f4-image.png

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

                                      @jlssmt sagte in Test Coronavirus Statistics for ioBroker:

                                      Aber eigentlich sollten auch in der 0.8.3 die Krankenhausdaten da sein.

                                      nein, die waren erst ab der 0.8.4-0 dabei (wobei -0 bzw -X Nummer die alpha Versionen sind)

                                      Changelog

                                      0.8.4 (2021-10-26)
                                      (DutchmanNL) Bugfix: New DNS entry for COVID api
                                      (jlssmt) Hospital data for Germany added
                                      (jlssmt) fix umlauts in hospital service
                                      (jlssmt) extend api timer to fix 502 errors
                                      0.8.3 (2021-08-20)
                                      (jlssmt) Code refactoring
                                      (DutchmanNL) Bugfix: Unwanted deletion of data points for Germany solved

                                      ChrisNett 1 Reply Last reply Reply Quote 1
                                      • ChrisNett
                                        ChrisNett @Dutchman last edited by

                                        @dutchman sagte in Test Coronavirus Statistics for ioBroker:

                                        @jlssmt sagte in Test Coronavirus Statistics for ioBroker:

                                        Aber eigentlich sollten auch in der 0.8.3 die Krankenhausdaten da sein.

                                        nein, die waren erst ab der 0.8.4-0 dabei

                                        Changelog

                                        0.8.4 (2021-10-26)
                                        (DutchmanNL) Bugfix: New DNS entry for COVID api
                                        (jlssmt) Hospital data for Germany added
                                        (jlssmt) fix umlauts in hospital service
                                        (jlssmt) extend api timer to fix 502 errors
                                        0.8.3 (2021-08-20)
                                        (jlssmt) Code refactoring
                                        (DutchmanNL) Bugfix: Unwanted deletion of data points for Germany solved

                                        danke dann warte ich mal bis heute abend. über github geht es bei mir gerade irgtnwie nicht

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          jlssmt @ChrisNett last edited by

                                          Ah sorry. Zu viele releases und zu lange her 😄

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

                                            @dutchman

                                            Hallo, die Warn kommt immer

                                            coronavirus-statistics.0
                                            2021-11-17 10:14:42.439	warn	State attribute definition missing for daily_people_vaccinated_per_hundred
                                            
                                            coronavirus-statistics.0
                                            2021-11-17 10:14:42.439	debug	Create_state called for : United_Kingdom.Vaccination.daily_people_vaccinated_per_hundred with value : 0.067
                                            
                                            coronavirus-statistics.0
                                            2021-11-17 10:14:42.383	debug	Write value : false
                                            
                                            coronavirus-statistics.0
                                            2021-11-17 10:14:42.383	warn	State attribute definition missing for daily_people_vaccinated
                                            
                                            coronavirus-statistics.0
                                            2021-11-17 10:14:42.383	debug	Create_state called for : United_Kingdom.Vaccination.daily_people_vaccinated with value : 45681
                                            

                                            Version 0.8.6 in C:/Program Files/iobroker/Home/node_modules/iobroker.coronavirus-statistics, node: v12.22.7, js-controller: 3.3.18

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter installation adapterentwicklung testen
                                            120
                                            1177
                                            257554
                                            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