Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Weather-Warnings

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Weather-Warnings

    This topic has been deleted. Only users with topic management privileges can see it.
    • bergjet
      bergjet last edited by

      Was nicht funktioniert, wenn keine Warnung vorhanden ist, wird der Eintrag nicht geändert.
      Bildschirmfoto 2025-01-16 um 09.30.22.png

      T 1 Reply Last reply Reply Quote 0
      • T
        ticaki Developer @bergjet last edited by ticaki

        @bergjet

        Ja, Fehler gefunden - hoffe ich.

        War ein Tippfehler - die beiden States enthalten jedoch entgegen der Beschreibung keine Entwarnungsmeldungen. Um die hinzuzufügen muß ich deutlich mehr Zeit invenstieren. Und auch noch ne gute Idee haben wie ich es am besten mache.

        bergjet 1 Reply Last reply Reply Quote 0
        • bergjet
          bergjet @ticaki last edited by

          @ticaki sagte in Test Adapter Weather-Warnings:

          keine Entwarnungsmeldungen

          Das stört mich wenig. Wenn keine Warnung vorhanden ist, ist das JSON leer und daher die Tabelle nicht sichtbar.

          T 1 Reply Last reply Reply Quote 0
          • T
            ticaki Developer @bergjet last edited by

            @bergjet

            Gut dann lass ich das erstmal so, verstecke aber am Wochenende noch die Möglichkeit das im Admin auszuwählen.

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

              Hallo,

              bezugnehmend auf meinen Post vom 09.01.2025 habe ich inzwischen neue Infos und auch die debug-Logs.
              Der Fehler ist wieder - nach langer Zeit - mal aufgetreten.
              Ich nutze ein Multihostsystem, auf dem die beiden Adapter auf unterschiedlichen Hosts laufen.

              hier die beiden Logfiles.

              Weather-Warnings

              2025-02-03 11:05:47.466 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:05:48.005 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:05:48.454 - debug: weather-warnings.0 (140830) [whatsapp-cmb.0] Send the message: Entwarnung!
              2025-02-03 11:05:48.461 - debug: weather-warnings.0 (140830) [email.0] start email sending! Messagecount: 1
              2025-02-03 11:05:48.461 - debug: weather-warnings.0 (140830) [email.0] Send the message: {"subject":"Entwarnung für Ploessnitz, Plößnitz","html":"
              Entwarnung:
              "}
              2025-02-03 11:05:48.662 - debug: weather-warnings.0 (140830) [alexa2.0] Send to alexa2: ;Euer freundlicher Wettergeist teilt euch mit, das alle Warnungen aufgehoben wurden.
              2025-02-03 11:05:48.664 - debug: weather-warnings.0 (140830) [alexa2.0] Send to alexa2: ;Euer freundlicher Wettergeist teilt euch mit, das alle Warnungen aufgehoben wurden.;Euer freundlicher Wettergeist teilt euch mit, das alle Warnungen aufgehoben wurden.
              2025-02-03 11:05:48.710 - debug: weather-warnings.0 (140830) [dwd-815088195] Remove a warning from db.
              2025-02-03 11:05:48.711 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 11:15:48.812 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:15:49.392 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:15:49.647 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 11:25:49.772 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:25:50.173 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:25:50.428 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 11:35:50.503 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:35:50.912 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:35:51.168 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 11:45:51.266 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:45:51.644 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:45:51.899 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 11:55:52.127 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 11:55:52.615 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 11:55:52.872 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 12:05:52.947 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 12:05:53.315 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 12:05:53.569 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 12:15:53.926 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 0 warnings from server
              2025-02-03 12:15:54.331 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 12:15:54.588 - debug: weather-warnings.0 (140830) [provider] We have 0 active messages.
              2025-02-03 12:25:54.667 - debug: weather-warnings.0 (140830) [dwd-815088195] Got 1 warnings from server
              2025-02-03 12:25:55.226 - debug: weather-warnings.0 (140830) [uwz-UWZDE06188] Got 0 warnings from server
              2025-02-03 12:25:57.484 - warn: weather-warnings.0 (140830) [whatsapp-cmb.0] Error sending a notification: whatsapp-cmb.0 does not react in the given time.
              2025-02-03 12:25:57.485 - debug: weather-warnings.0 (140830) [history] write message: { "action\": "Neue Warnung", "start": "17:00", "ende“: "12:00", "type": "Frost" }
              2025-02-03 12:25:57.493 - debug: weather-warnings.0 (140830) [email.0] start email sending! Messagecount: 1
              2025-02-03 12:25:57.493 - debug: weather-warnings.0 (140830) [email.0] Send the message: {"subject":"Neue Warnung für Ploessnitz","html":"
              Neue Warnung Amtliche WARNUNG vor FROST
              Es tritt leichter Frost zwischen -2 °C und -5 °C auf. In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 °C.
              "}
              2025-02-03 12:25:57.694 - debug: weather-warnings.0 (140830) [alexa2.0] Send to alexa2: ;Euer freundlicher Wettergeist teilt euch mit, das eine neue Amtliche WARNUNG vor FROST für Landsberg ab 17:00 vorliegt, Informationen: Es tritt leichter Frost zwischen -2 Grad Celsius und -5 Grad Celsius auf; In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 Grad Celsius.
              2025-02-03 12:25:57.697 - debug: weather-warnings.0 (140830) [alexa2.0] Send to alexa2: ;Euer freundlicher Wettergeist teilt euch mit, das eine neue Amtliche WARNUNG vor FROST für Landsberg ab 17:00 vorliegt, Informationen: Es tritt leichter Frost zwischen -2 Grad Celsius und -5 Grad Celsius auf; In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 Grad Celsius.;Euer freundlicher Wettergeist teilt euch mit, das eine neue Amtliche WARNUNG vor FROST für Landsberg ab 17:00 vorliegt, Informationen: Es tritt leichter Frost zwischen -2 Grad Celsius und -5 Grad Celsius auf; In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 Grad Celsius.
              2025-02-03 12:25:57.743 - debug: weather-warnings.0 (140830) [provider] We have 1 active messages.
              2025-02-03 12:26:00.735 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"result":"Message sent"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.780 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"result":"Message sent"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.806 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.831 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.857 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.882 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.908 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              2025-02-03 12:26:00.932 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"error":"
              Oops! Too many requests...
              \n
              
              You have called to the API to often. Please review your script/code/app.
              \n"} from system.adapter.whatsapp-cmb.0
              
              

              WhatsApp

              2025-02-03 12:25:55.485  - info: whatsapp-cmb.0 (xxxxxx) Send Amtliche WARNUNG vor FROST für Landsberg ab 17:00, Informationen: Es tritt leichter Frost zwischen -2 °C und -5 °C auf. In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 °C. to +491234567890
              2025-02-03 12:25:55.485  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=Amtliche%20WARNUNG%20vor%20FROST%20f%C3%BCr%20Landsberg%20ab%2017%3A00%2C%20Informationen%3A%20Es%20tritt%20leichter%20Frost%20zwischen%20-2%20%C2%B0C%20und%20-5%20%C2%B0C%20auf.%20In%20Tal-%20und%20Muldenlagen%20sinken%20die%20Temperaturen%20auf%20Werte%20bis%20-8%20%C2%B0C.&apikey=178942&source=iobroker
              2025-02-03 12:26:00.732  - debug: whatsapp-cmb.0 (xxxxxx) <p>Message to: +491234567890<p>Text to send: Amtliche WARNUNG vor FROST für Landsberg ab 17:00, Informationen: Es tritt leichter Frost zwischen -2 °C und -5 °C auf. In Tal- und Muldenlagen sinken die Temperaturen auf Werte bis -8 °C.<p><b>Message queued.</b> You will receive it in a few seconds.
              2025-02-03 12:26:00.736  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.736  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.778  - debug: whatsapp-cmb.0 (xxxxxx) <p>Message to: +491234567890<p>Text to send: unknown message<p><b>Message queued.</b> You will receive it in a few seconds.
              2025-02-03 12:26:00.780  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.780  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.804  - debug: whatsapp-cmb.0 (xxxxxx) <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.804  - error: whatsapp-cmb.0 (xxxxxx) Cannot send message: <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.806  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.806  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.830  - debug: whatsapp-cmb.0 (xxxxxx) <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.830  - error: whatsapp-cmb.0 (xxxxxx) Cannot send message: <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.832  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.832  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.855  - debug: whatsapp-cmb.0 (xxxxxx) <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.855  - error: whatsapp-cmb.0 (xxxxxx) Cannot send message: <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.857  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.857  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.881  - debug: whatsapp-cmb.0 (xxxxxx) <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.881  - error: whatsapp-cmb.0 (xxxxxx) Cannot send message: <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              2025-02-03 12:26:00.883  - info: whatsapp-cmb.0 (xxxxxx) Send unknown message to +491234567890
              2025-02-03 12:26:00.883  - debug: whatsapp-cmb.0 (xxxxxx) Call https://api.callmebot.com/whatsapp.php?phone=+491234567890&text=unknown%20message&apikey=178942&source=iobroker
              2025-02-03 12:26:00.906  - debug: whatsapp-cmb.0 (xxxxxx) <h1>Oops! Too many requests...</h1>
              <p>You have called to the API to often. Please review your script/code/app.</p>
              
              

              Aufgrund der Meldung:

              2025-02-03 12:25:57.484 - warn: weather-warnings.0 (140830) [whatsapp-cmb.0] Error sending a notification: whatsapp-cmb.0 does not react in the given time.
              

              Die Nachricht wird aber gesendet, wie man im zweiten Log sehen kann. Ggf. müsste hier der TimeOut oder ähnliches etwas erhöht werden.

              Gehe ich davon aus, das der Adapter es immer wieder versucht.

              2025-02-03 12:26:00.735 - debug: weather-warnings.0 (140830) Retrieve unknown command send messsage: {"result":"Message sent"} from system.adapter.whatsapp-cmb.0
              

              Für Hilfen wäre ich sehr dankbar, denn so, wird mein WhatsApp-Bot immer gesperrt, aufgrund to many requests 😉

              Bildschirmfoto 2025-02-03 um 13.11.48.png

              Bis denne

              T 1 Reply Last reply Reply Quote 0
              • T
                ticaki Developer @Fenriswolf last edited by

                @fenriswolf

                Es sieht aus als wenn WhatsApp nicht korrekt auf sendToAsync reagiert - ich verstehe nämlich nicht wo mein Adapter da mit der 1 Nachricht zuviele Requests erzeugen kann.

                Ich schau mal nachher ob ich da sendToAync() verwende, wenn ja ändere ich das zu sendTo() und mache ne neue Version. Weiß aber nicht ob das hilft, Feedback ob positiv oder negativ ist erwünscht. 🙂

                Fenriswolf 1 Reply Last reply Reply Quote 0
                • Fenriswolf
                  Fenriswolf @ticaki last edited by

                  @ticaki

                  das mit dem Feedback bekommen wir hin. Danke dir erstmal das du es dir überhaupt anguckst.
                  Da stand doch auch etwas, von "does not react in the given time". Kann es damit zusammenhängen? da es auf zwei unterschiedlichen Hosts läuft ?

                  T 2 Replies Last reply Reply Quote 0
                  • T
                    ticaki Developer @Fenriswolf last edited by

                    @fenriswolf

                    Die Funktion wartet 2 Sekunden darauf das whatsapp die Meldung verarbeitet, tut der whatsapp-adapter das nicht erzeugt mein Adapter diese Fehlermeldung Mit dem nächsten Release sende ich einfach die Nachricht an den Adapter und was der dann damit tut ist sein Bier. Ich warte dann nicht mehr auf ihn.

                    Release wird heute nacht wohl im repo sein und in 30 Minuten auf npm

                    1 Reply Last reply Reply Quote 0
                    • T
                      ticaki Developer @Fenriswolf last edited by

                      @fenriswolf

                      Neue Version ist da.

                      Falls das nochmal passiert erstelle bitte ebenso ein Issue auf Github, ich mache dann verweisendes Issue beim Whatsapp Adapter auf. Sowas sollte imho der Adapter behandeln der fürs versenden zuständig ist.

                      Fenriswolf Chris76e 2 Replies Last reply Reply Quote 0
                      • Fenriswolf
                        Fenriswolf @ticaki last edited by Fenriswolf

                        @ticaki sagte in Test Adapter Weather-Warnings:

                        @fenriswolf

                        Neue Version ist da.

                        Falls das nochmal passiert erstelle bitte ebenso ein Issue auf Github, ich mache dann verweisendes Issue beim Whatsapp Adapter auf. Sowas sollte imho der Adapter behandeln der fürs versenden zuständig ist.

                        Habe ich installiert, schauen wir mal, ob es wieder auftritt.

                        1 Reply Last reply Reply Quote 0
                        • Chris76e
                          Chris76e @ticaki last edited by

                          @ticaki

                          Hi, beim DWD ist seit heute diese Sache dazugekommen, kann man das in den Adapter mit aufnehmen?

                          https://www.naturgefahrenportal.de

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            ticaki Developer @Chris76e last edited by ticaki

                            @chris76e

                            Wenn du auch die API dazu findest, kann ich mal schauen ob ich es nebenbei einbaue. Ansonsten muß es warten bis ich mit dem nspanel adapter durch bin.

                            EDIT: mache aber auf jeden FAll ein Issue dazu auf, wenn du infos hast. Hier im Forum und in meinem nicht vorhandenen Gedächtnis gehts sonst unter 😉

                            Chris76e 1 Reply Last reply Reply Quote 0
                            • Chris76e
                              Chris76e @ticaki last edited by

                              @ticaki

                              habe diese Antwort vom DWD erhalten:

                              vielen Dank für Ihre E-Mail an den Deutschen Wetterdienst.
                              
                              Aktuell gibt es noch keine API. Mittelfristig wird aber eine entwickelt werden.
                              
                              

                              Dann heißt es halt warten...

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                ticaki Developer @Chris76e last edited by

                                @chris76e

                                Danke das du dich drum gekümmert hat, schade da hat sich bei mir auch Interesse entwickelt 🙂

                                Chris76e 1 Reply Last reply Reply Quote 0
                                • Chris76e
                                  Chris76e @ticaki last edited by

                                  @ticaki

                                  Mal schaun was die unter Mittelfristig verstehen...😊

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

                                    Moin, mit den Farben bei Warnungen stimmt was nicht d.h.
                                    es wird Dunkellila (Stufe 2) angezeigt in der VIS1, aber Alexa sagt Stufe Rot 😀
                                    Genau gesagt, alles was mit Temperatur zu tun hat wird bei der Ansage
                                    mit gelb, rot usw. angesagt. Bei eMails stimmen die Farben.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      ticaki Developer @Nashra last edited by

                                      @nashra

                                      Mach bitte ein issue, ganz am Anfang hat das mal gestimmt und dann „korrigiert“ man das irgendwo 😂

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

                                        Angelegt
                                        https://github.com/ticaki/ioBroker.weather-warnings/issues/220

                                        Nashra-ioB created this issue in ticaki/ioBroker.weather-warnings

                                        open Falsche Farbe (Temperatur) bei Ansage Alexa #220

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        808
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        34
                                        1077
                                        264909
                                        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