Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  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.3k

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

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

Test Coronavirus Statistics for ioBroker

Geplant Angeheftet Gesperrt Verschoben Tester
adapter installationadapterentwicklungtesten
1.2k Beiträge 120 Kommentatoren 337.2k Aufrufe 94 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D deta

    @Dutchman
    wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
    Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

    FeuersturmF Online
    FeuersturmF Online
    Feuersturm
    schrieb am zuletzt editiert von
    #715

    @deta Region Hannover findest du unter "Landkreise"

    D 1 Antwort Letzte Antwort
    0
    • FeuersturmF Feuersturm

      @deta Region Hannover findest du unter "Landkreise"

      D Offline
      D Offline
      deta
      Most Active
      schrieb am zuletzt editiert von
      #716

      @Feuersturm sagte in Test Coronavirus Statistics for ioBroker:

      @deta Region Hannover findest du unter "Landkreise"

      Das ist klar, aber nicht die Aufschlüsselung des Landkreises so z.b.:
      8284721c-24de-42d2-b571-230c8b87772f-grafik.png

      1 Antwort Letzte Antwort
      0
      • D deta

        @Dutchman
        wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
        Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

        DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        schrieb am zuletzt editiert von
        #717

        @deta sagte in Test Coronavirus Statistics for ioBroker:

        @Dutchman
        wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
        Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

        Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

        D 1 Antwort Letzte Antwort
        0
        • v522533V Offline
          v522533V Offline
          v522533
          schrieb am zuletzt editiert von
          #718

          ich hab nach wie vor das problem, dass der adapter täglich fehler auswirft, weil er doppelt läuft. auch der oben angesprochene "fix" ändert daran nichts.

          Gruß Chris

          1 Antwort Letzte Antwort
          0
          • DutchmanD Dutchman

            @deta sagte in Test Coronavirus Statistics for ioBroker:

            @Dutchman
            wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
            Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

            Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

            D Offline
            D Offline
            deta
            Most Active
            schrieb am zuletzt editiert von
            #719

            @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

            @deta sagte in Test Coronavirus Statistics for ioBroker:

            @Dutchman
            wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
            Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

            Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

            Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
            Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?

            DutchmanD lobomauL 2 Antworten Letzte Antwort
            0
            • D deta

              @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

              @deta sagte in Test Coronavirus Statistics for ioBroker:

              @Dutchman
              wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
              Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

              Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

              Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
              Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?

              DutchmanD Offline
              DutchmanD Offline
              Dutchman
              Developer Most Active Administrators
              schrieb am zuletzt editiert von Dutchman
              #720

              @deta sagte in Test Coronavirus Statistics for ioBroker:

              @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

              @deta sagte in Test Coronavirus Statistics for ioBroker:

              @Dutchman
              wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
              Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

              Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

              Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
              Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?

              weil ich nicht einschätzen kan wan die APi daten liefert, das jeden tag unterschiedlich ist und der shedule halt so aufgebaut werden kan.
              Is die default setting, kan und darf jeder aendern wie er es mag ....

              1 Antwort Letzte Antwort
              0
              • D deta

                @Dutchman sagte in Test Coronavirus Statistics for ioBroker:

                @deta sagte in Test Coronavirus Statistics for ioBroker:

                @Dutchman
                wie oft werden die Daten den aktualliersiert? Wirklich alle 15 Minuten?
                Leider ist Region Hannover nicht dabei. In der Aufschüsselung, der einzelnen Orte von der Region,

                Der Adapter fragt die APi alle 15 minuten ab, daten selber auf der api einmal am Tag soweit ich weis

                Warum soll er default alle 15 Minuten? Wenn die API nur einmal am Tag aktuallisiert wird?
                Ich hab das jetzt mal auf 2 mal am Tag gesetzt. Denke das langt. Weis jemand wann die API aktuell immer ist?

                lobomauL Offline
                lobomauL Offline
                lobomau
                schrieb am zuletzt editiert von lobomau
                #721

                @deta kann man nicht fest sagen. Hier als Beispiel kamen in 24 Stunden 12 neue Zahlen (BRD neue Fälle) rein:
                a3324f17-f705-4fad-aeb7-6fa70950ee3b-image.png
                Edit: Italien schickt meist nur einmal am Tag seine Daten.

                Host: NUC8i3 mit Proxmox:

                • ioBroker CT Debian 13, npm 10.9.3, nodejs 22.20.0
                • Slave: Pi4
                D 1 Antwort Letzte Antwort
                1
                • lobomauL lobomau

                  @deta kann man nicht fest sagen. Hier als Beispiel kamen in 24 Stunden 12 neue Zahlen (BRD neue Fälle) rein:
                  a3324f17-f705-4fad-aeb7-6fa70950ee3b-image.png
                  Edit: Italien schickt meist nur einmal am Tag seine Daten.

                  D Offline
                  D Offline
                  deta
                  Most Active
                  schrieb am zuletzt editiert von
                  #722

                  @lobomau alles klar.

                  1 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von deta
                    #723

                    Habt Ihr mal Lust eure Umsetzungen für VIS hier zu Posten.
                    Wäre klasse.
                    [https://forum.iobroker.net/topic/38895/coronavirus-statistics-for-iobroker-vis-umsetzung](Link Adresse)

                    1 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von deta
                      #724

                      @Dutchman
                      1700603a-bf31-4969-861c-811b65b69c94-grafik.png

                      Kann man irgendwie in dem Widget auch z.b. eine Region anzeigen lassen. Region Hannover oder nur Niedersachsen.
                      Oder ist noch ein anderes Widget was ich noch nicht gesehen habe.

                      cu Deta

                      1 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von deta
                        #725

                        Hat sich erledigt, hatte falsch gedacht.

                        Was mir noch fehlt ist der Vergleich zum Vortag

                        1 Antwort Letzte Antwort
                        0
                        • J jlssmt

                          @Feuersturm
                          Also ich hab die RKI Daten jetzt mal direkt um 9 Uhr (wenn auch meine Auswertung stattfindet) mit meinen verglichen.
                          Ich hab die "8685" 1:1 mit meiner Implementierung berechnet.
                          (Total Cases Today) minus (Total Cases Yesterday)

                          27711799-a630-44ed-9f2a-67f6594c59b9-image.png

                          Falls jemand an meiner Automatisierung Interesse hat: Schickt um 9 eine Nachricht an alle, die beim Bot angemeldet sind (Freunde von mir nutzen es auch mit). Default Stadt/ Landkreis ist in der For Schleife am Ende. Ansonsten müssen die Nutzer bei den IFs und davor angepasst werden.

                          schedule("0 9 * * *", () => {
                          
                              let regensburgCases = getState("coronavirus-statistics.0.Germany.Stadt.Regensburg.cases7_per_100k").val.toFixed(1);
                          
                              let berlinMitteCases = getState("coronavirus-statistics.0.Germany.Stadt.Berlin_Mitte.cases7_per_100k").val.toFixed(1);
                          
                              let germanyCases = (getState("coronavirus-statistics.0.Germany.cases").val - getState("javascript.0.covid.germany").val).toString();
                              let netherlandsCases = (getState("coronavirus-statistics.0.Netherlands.cases").val - getState("javascript.0.covid.netherlands").val).toString();
                          
                              regensburgCases = `<b>Regensburg (Stadt)</b>\n${regensburgCases} ${getSmiley(regensburgCases)}`;
                          
                              berlinMitteCases = `<b>Berlin Mitte</b>\n${berlinMitteCases} ${getSmiley(berlinMitteCases)}`;
                          
                              germanyCases = `<b>Deutschland (Differenz zum Vortag)</b>\n${germanyCases}`;
                              netherlandsCases = `<b>Niederlande (Differenz zum Vortag)</b>\n${netherlandsCases}`;
                          
                              const customUser1 = 7834520085;
                              const customUser2 = 7852254548;
                          
                              for (let user of Object.keys(JSON.parse(getState("telegram.2.communicate.users").val))) {
                                  user = +user;
                                  if (user === customUser1) {
                                      sendTelegramCovid(`${berlinMitteCases}\n\n${germanyCases}`, user);
                                      continue;
                                  }
                                  if (user === customUser2) {
                                      sendTelegramCovid(`${netherlandsCases}\n\n${germanyCases}`, user);
                                      continue;
                                  }
                                  sendTelegramCovid(`${regensburgCases}\n\n${germanyCases}`, user);
                              }
                          
                              setState("javascript.0.covid.germany", getState("coronavirus-statistics.0.Germany.cases").val);
                              setState("javascript.0.covid.netherlands", getState("coronavirus-statistics.0.Netherlands.cases").val);
                          });
                          
                          function getSmiley(value) {
                              if (+value < 35) return "&#x1F60A";
                              if (+value > 35 && +value < 50) return "&#x1F525";
                              return "&#x1F198";
                          }
                          
                          D Offline
                          D Offline
                          deta
                          Most Active
                          schrieb am zuletzt editiert von
                          #726

                          @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 1 Antwort Letzte Antwort
                          0
                          • 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
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                0
                                • NashraN Offline
                                  NashraN Offline
                                  Nashra
                                  Most Active Forum Testing
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                      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
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          392

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe