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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • J
      jlssmt @ChrisNett last edited by

      @christian-sandkaulen
      Ja ich weiß. Wie gesagt. Sie ist nicht drin. Grund steht auch oben.
      Wir müssten jetzt Deutschland auf ne andere API umbauen. Das ist sicherlich machbar, aber ich weiß nicht obs dem Aufwand gerecht wird, da die Zahl nicht mehr aussagekräftig ist.

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

        @jlssmt
        nee für uns sicher nicht... war mehr die frage ob ich zu doof war sie zu finden... die eine zahl finde auch so noch!

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

          ich muss mich mal mit dem parser beschäftigen dann müsste das ja einfachmit zu holen sein

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

            @christian-sandkaulen
            Parser sind halt instabil. Sobald die Website sich verändert musst du eingreifen.
            APIs sind auch nicht schwieriger, aber stabiler und genau dafür da.

            Hier bekommst du die Zahl, die du willst:
            https://api.corona-zahlen.org/docs/endpoints/germany.html#germany-2

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

              @jlssmt
              danke diw müsste ich dann mit paser abfragen richtig?

              https://api.corona-zahlen.org/germany/history/incidence/3

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

                @christian-sandkaulen
                Kp was parser ist...
                Du fragst das mit nem http-get ab.
                und wie kommst du auf history 3? damit bekommst du die inzidenz von vor drei tagen...

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

                  @jlssmt
                  falscher link sorry.. https://api.corona-zahlen.org/germany/history/incidence/1 müsste der aktuelle sein.

                  oka dann muss ich mich damit mal beschäftigen gibt es einen link zu einer Anleitung ? zur http-get

                  ChrisNett J 2 Replies Last reply Reply Quote 0
                  • ChrisNett
                    ChrisNett @ChrisNett last edited by

                    den string habe ich schon mal ist das ein JSON ?

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

                      hab mir selber geholfen ist zwar sicher nicht der beste weg aber ich habs jetzt

                      1d87c37e-7ccd-42e2-84e4-ce65b149218e-image.png

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

                        @christian-sandkaulen said in Test Coronavirus Statistics for ioBroker:

                        @jlssmt
                        falscher link sorry.. https://api.corona-zahlen.org/germany/history/incidence/1 müsste der aktuelle sein.

                        oka dann muss ich mich damit mal beschäftigen gibt es einen link zu einer Anleitung ? zur http-get

                        ne. du brauchst eigentlich gar keine history. history 1 ist ja auch wieder von gestern.
                        der richtige link ist dieser: https://api.corona-zahlen.org/germany
                        und dort gibts dann das attribut "weekIncidence"

                        @christian-sandkaulen said in Test Coronavirus Statistics for ioBroker:

                        den string habe ich schon mal ist das ein JSON ?

                        ja ist json

                        @christian-sandkaulen said in Test Coronavirus Statistics for ioBroker:

                        @jlssmt
                        falscher link sorry.. https://api.corona-zahlen.org/germany/history/incidence/1 müsste der aktuelle sein.

                        oka dann muss ich mich damit mal beschäftigen gibt es einen link zu einer Anleitung ? zur http-get

                        http-get macht der "request" von unten aus deinem blockly.

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

                          uff okay also muss das JSON zerlegen ja ?

                          ef481a7e-af8e-4753-bb93-3e9fa2d65a61-image.png

                          ?

                          ChrisNett J 2 Replies Last reply Reply Quote 0
                          • ChrisNett
                            ChrisNett @ChrisNett last edited by

                            sorry wenn ich den beitrag spränge

                            aber ich denke so sollte es gehen

                            d221a057-1f0e-42a7-879d-72c4210a2b67-image.png

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

                              @christian-sandkaulen sagte in Test Coronavirus Statistics for ioBroker:

                              sorry wenn ich den Beitrag spränge

                              aber ich denke so sollte es gehen

                              d221a057-1f0e-42a7-879d-72c4210a2b67-image.png

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

                                @christian-sandkaulen
                                ich hab keine ahnung wie blockly funktioniert.
                                in javascript würde es etwa so aussehen:

                                axios.get("https://api.corona-zahlen.org/germany")
                                    .then(result => result.data.weekIncidence);
                                

                                Das wars. Aber axios wird bei dir nicht funktionieren. ich nehm an dafür ist der parser da? ich hab keine ahnung von dem blockly zeug, sorry 😄
                                muss @Dutchman helfen.

                                @christian-sandkaulen said in Test Coronavirus Statistics for ioBroker:

                                @christian-sandkaulen sagte in Test Coronavirus Statistics for ioBroker:

                                sorry wenn ich den Beitrag spränge

                                aber ich denke so sollte es gehen

                                d221a057-1f0e-42a7-879d-72c4210a2b67-image.png

                                Jaaaa. das sieht doch gut aus!

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

                                  wie kann ich neue städte hinzufügen.? Meine stadt ist leider nicht dabei

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Mono990 last edited by

                                    @mono990 gar nicht, es gibt nur was die api hergibt

                                    Mono990 1 Reply Last reply Reply Quote 1
                                    • Mono990
                                      Mono990 @crunchip last edited by

                                      @crunchip Ok schade. Danke

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

                                        moin, ich habe mal wieder probleme mit dem adapter... er holt seit zwei tage keine Daten mehr ein neustart führt zu dem hier..

                                        
                                        host.PI4	2021-12-23 07:41:37.183	error	instance system.adapter.coronavirus-statistics.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
                                        coronavirus-statistics.0	2021-12-23 07:41:36.482	warn	(13096) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                                        coronavirus-statistics.0	2021-12-23 07:41:36.475	error	(13096) coronavirus-statistics.0 already running
                                        host.PI4	2021-12-23 07:41:31.906	info	instance system.adapter.coronavirus-statistics.0 started with pid 13096
                                        host.PI4	2021-12-23 07:41:31.857	info	instance scheduled system.adapter.coronavirus-statistics.0 */16 * * * *
                                        host.PI4	2021-12-23 07:41:28.658	info	stopInstance system.adapter.coronavirus-statistics.0 (force=false, process=false)
                                        host.PI4	2021-12-23 07:41:28.657	info	"system.adapter.coronavirus-statistics.0" enabled
                                        host.PI4	2021-12-23 07:41:17.205	info	stopInstance canceled schedule system.adapter.coronavirus-statistics.0
                                        host.PI4	2021-12-23 07:41:17.204	info	stopInstance system.adapter.coronavirus-statistics.0 (force=false, process=false)
                                        host.PI4	2021-12-23 07:41:17.202	info	"system.adapter.coronavirus-statistics.0" disabled
                                        

                                        woran liegt es?

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active last edited by

                                          @christian-sandkaulen sagte in Test Coronavirus Statistics for ioBroker:

                                          error instance system.adapter.coronavirus-statistics.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)

                                          wurde ein Prozess nicht sauber beendet und läuft daher mehrfach
                                          (pid 13096) beenden bzw nach den jeweiligen weiteren Prozessen suchen und stoppen

                                          ps -A | grep io
                                          

                                          oder mit top aufrufen

                                          sudo kill -KILL pid
                                          

                                          pid durch die jeweilige Nummer ersetzen

                                          Beispiel

                                          sudo kill -KILL 13906

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

                                            @crunchip

                                            pi@PI4:~ $ ps -A | grep io
                                               13 ?        00:01:37 migrat
                                            io
                                            n/0
                                               16 ?        00:01:27 migrat
                                            io
                                            n/1
                                               21 ?        00:01:17 migrat
                                            io
                                            n/2
                                               26 ?        00:01:07 migrat
                                            io
                                            n/3
                                               58 ?        00:00:00 blkcg_punt_b
                                            io
                                            
                                               62 ?        00:00:00 rpc
                                            io
                                            d
                                               64 ?        00:00:00 xprt
                                            io
                                            d
                                               66 ?        00:00:00 nfs
                                            io
                                            d
                                               76 ?        00:00:00 DWC Notificat
                                            io
                                            
                                              522 ?        36-11:56:23 mot
                                            io
                                            n
                                            24629 ?        00:00:00 kworker/u8:0+ext4-rsv-convers
                                            io
                                            n
                                            pi@PI4:~ $ 
                                            
                                            
                                            ChrisNett 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            390
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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