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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Weather-Warnings

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

      Version 0.6.11

      Von eslint 8 auf 9

      Ausser neue Fehler hat sich nix geändert, bitte mal schauen ob alles noch so geht wie vorher, wenn nicht bitte auf github issue erstellen. Danke.

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

        v0.7.0

        • Gotify hinzugefügt https://gotify.net
        1 Reply Last reply Reply Quote 1
        • Fenriswolf
          Fenriswolf last edited by Homoran

          Hallo,

          ich habe seit dem letzten Update ein Problem mit den Statusmeldungen über WhatsApp. Die meiste Zeit läuft alles problemlos, aber hin und wieder kommt es vor, das nach einer Wetterwarnung / Entwarnung eine Unmenge an Meldungen über WhatsApp kommen. Teilweise sogar, so, das mit der Adapter gesperrt wurde.

          2025-01-09 15:33:00.066 - info: whatsapp-cmb.0 (277573) Send Amtliche WARNUNG vor GLÄTTE für Landsberg ab 2:00, Informationen: Es besteht Glättegefahr. to +49172xxxxxxx
          2025-01-09 15:33:00.066 - debug: whatsapp-cmb.0 (277573) Call https://api.callmebot.com/whatsapp.php?phone=+491....&text=Amtliche%20WARNUNG%20vor%20GL%C3%84TTE%20f%C3%BCr%20Landsberg%20ab%202%3A00%2C%20Informationen%3A%20Es%20besteht%20Gl%C3%A4ttegefahr.&apikey=xxxxxx&source=iobroker
          2025-01-09 15:33:05.439 - debug: whatsapp-cmb.0 (277573)
          
          Message to: +49172xxxxxxx
          
          Text to send: Amtliche WARNUNG vor GLÄTTE für Landsberg ab 2:00, Informationen: Es besteht Glättegefahr.
          
          Message queued. You will receive it in a few seconds.
          2025-01-09 15:33:05.442 - info: whatsapp-cmb.0 (277573) Send unknown message to +49172xxxxxxxx
          2025-01-09 15:33:05.443 - debug: whatsapp-cmb.0 (277573) Call https://api.callmebot.com/whatsapp.php?phone=+49172541184....&text=unknown%20message&apikey=xxxxxx&source=iobroker
          2025-01-09 15:33:05.499 - debug: whatsapp-cmb.0 (277573)
          
          Message to: +49172xxxxxxx
          
          Text to send: unknown message
          
          Message queued. You will receive it in a few seconds.
          2025-01-09 15:33:05.500 - info: whatsapp-cmb.0 (277573) Send unknown message to +49172xxxxxxx
          2025-01-09 15:33:05.500 - debug: whatsapp-cmb.0 (277573) Call https://api.callmebot.com/whatsapp.php?phone=....&text=unknown%20message&apikey=xxxxxxx&source=iobroker
          2025-01-09 15:33:05.525 - debug: whatsapp-cmb.0 (277573)
          
          Oops! Too many requests...
          
          You have called to the API to often. Please review your script/code/app.
          
          

          weather-warnings.0.json

          Ich hoffe es hilft ein bißchen. Habe den Adapter nun mal debug gestellt, und wenn es wieder vorkommt, werde ich auch das Log posten.

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

            @fenriswolf
            Leider nicht, ich sehe nicht was da falsch laufen könnte ausser das er mit der Meldung nicht anfangen kann. Wüsste aber jetzt nicht wirklich wieso.

            Debug wird helfen.

            @Homoran wäre nett wenn du die Telefonnummer oben noch raus löschen würdest. Zeile 20 und 11 Und das json, da stehen die alexa ids drin, keine ahnung ob man damit blödsinn anstellen kann. Danke.

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @ticaki last edited by Homoran

              @ticaki erledigt!
              habe hoffentlich alles erwischt

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

                Moin, wie sieht es eigentlich mit UWZ aus, streiken die immer noch 😁

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

                  v0.7.1
                  Telegram - ChatId wurde von (CrEaK) gefixt.

                  @nashra
                  Bildschirmfoto 2025-01-10 um 13.22.10.png

                  sieht aus als wenn ich da am 25.12 ne Warnung hatte... Ich hab da jetzt mal influx aktiviert.

                  EDIT1: Ja ne kenn mich mit meinem eigenen Adapter net aus 😄 .

                  EDIT2: Meine History geht leider nur bis zum 28.12 - aber seit dem war keine Meldung von uwz da.

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

                    @ticaki sagte in Test Adapter Weather-Warnings:

                    v0.7.1
                    Telegram - ChatId wurde von (CrEaK) gefixt.

                    @nashra
                    Bildschirmfoto 2025-01-10 um 13.22.10.png

                    sieht aus als wenn ich da am 25.12 ne Warnung hatte... Ich hab da jetzt mal influx aktiviert.

                    EDIT1: Ja ne kenn mich mit meinem eigenen Adapter net aus 😄 .

                    EDIT2: Meine History geht leider nur bis zum 28.12 - aber seit dem war keine Meldung von uwz da.

                    @ticaki
                    Hm, bekomme seit Monaten keine Meldungen mehr sowie einige andere auch.
                    Oder ist mein Eintrag falsch der lautet: UWZDE47xxx

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

                      @nashra

                      Ich hab nur geguckt wann der Datenpunkt das letzte mal geändert wurde. UWZDE + PLZ passt

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

                        @ticaki sagte in Test Adapter Weather-Warnings:

                        @bergjet
                        Mit Vis kenne ich mich leider nicht aus

                        Ein Datenpunkt als Beispiel wie man eine Json Tabelle anzeigen kann.

                        [{"Event":"<font color=\"#fffb00\"><b>Müll","Zeit":"","Datum":"","W_tag":"","Tage":""},{"Event":"Verp-M","Zeit":"07:30","Datum":"13.01.2025","W_tag":"Mo","Tage":3},{"Event":"Rest-M","Zeit":"07:30","Datum":"16.01.2025","W_tag":"Do","Tage":6},{"Event":"Bio-M","Zeit":"07:30","Datum":"16.01.2025","W_tag":"Do","Tage":6},{"Event":"Bio-M","Zeit":"07:30","Datum":"30.01.2025","W_tag":"Do","Tage":20}]
                        
                        

                        Im Vergleich, so sehen deine Daten aus, die nicht richtig angezeigt werden beim Datenpunkt "weather-warnings.0.provider.activeWarnings_json".

                        ["{ \"action\\\": \"Gültige Warnung\", \"start\": \"14:00\", \"ende“: \"22:00\", \"type\": \"Gewitter\" }"]
                        

                        Offensichtlich gehört das Backslash nicht hinein.

                        T 2 Replies Last reply Reply Quote 0
                        • Nashra
                          Nashra Most Active Forum Testing @ticaki last edited by

                          @ticaki sagte in Test Adapter Weather-Warnings:

                          @nashra

                          Ich hab nur geguckt wann der Datenpunkt das letzte mal geändert wurde. UWZDE + PLZ passt

                          OK, denn das hatte ich früher in deinem Skript und das hat immer funktioniert obwohl nicht
                          oft etwas kam, DWD war da schneller sag ich mal. Aber ich aktiviere mal dein altes Skript
                          und beobachte.

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

                            @bergjet sagte in Test Adapter Weather-Warnings:

                            @ticaki sagte in Test Adapter Weather-Warnings:

                            @bergjet
                            Mit Vis kenne ich mich leider nicht aus

                            Ein Datenpunkt als Beispiel wie man eine Json Tabelle anzeigen kann.

                            [{"Event":"<font color=\"#fffb00\"><b>Müll","Zeit":"","Datum":"","W_tag":"","Tage":""},{"Event":"Verp-M","Zeit":"07:30","Datum":"13.01.2025","W_tag":"Mo","Tage":3},{"Event":"Rest-M","Zeit":"07:30","Datum":"16.01.2025","W_tag":"Do","Tage":6},{"Event":"Bio-M","Zeit":"07:30","Datum":"16.01.2025","W_tag":"Do","Tage":6},{"Event":"Bio-M","Zeit":"07:30","Datum":"30.01.2025","W_tag":"Do","Tage":20}]
                            
                            

                            Im Vergleich, so sehen deine Daten aus, die nicht richtig angezeigt werden beim Datenpunkt "weather-warnings.0.provider.activeWarnings_json".

                            ["{ \"action\\\": \"Gültige Warnung\", \"start\": \"14:00\", \"ende“: \"22:00\", \"type\": \"Gewitter\" }"]
                            

                            Offensichtlich gehört das Backslash nicht hinein.

                            Schaue ich mir an.

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

                              @bergjet

                              Zeig mal deine Vorlage Screenshot im Admin.

                              Bei mir ist kein zusätzlicher \

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

                                @ticaki sagte in Test Adapter Weather-Warnings:

                                Zeig mal deine Vorlage Screenshot im Admin.

                                Was genau meinst du damit?

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

                                  @bergjet sagte in Test Adapter Weather-Warnings:

                                  @ticaki sagte in Test Adapter Weather-Warnings:

                                  Zeig mal deine Vorlage Screenshot im Admin.

                                  Was genau meinst du damit?

                                  Bildschirmfoto 2025-01-10 um 21.51.25.png

                                  Dann kann ich die Vorlage checken.

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

                                    @ticaki Bildschirmfoto 2025-01-10 um 21.54.18.png

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

                                      @bergjet

                                      Mach den backslash hinter action raus 🙂 Du kannst dir da selbst das Json zusammenbauen wie du es gerne möchtest. Nur der Backslash vor dem letzten \} muß bleiben.

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

                                        @ticaki Im Datenpunkt "weather-warnings.0.provider.activeWarnings_json" steht jetzt das drinnen:

                                        {"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[536428,452665],[536227,453057],[534337,452025],[534243,452385],[533600,452220],[533067,453083],[533581,453336],[533520,454102],[533841,454254],[533247,455068],[533403,455865],[532641,455709],[532642,456938],[532006,457365],[533005,458329],[532654,459179],[534077,459359],[534045,459918],[534938,459666],[535169,459963],[535175,460881],[535750,460367],[535850,461122],[537117,461284],[537436,461882],[537923,461717],[537975,460976],[538241,461018],[540144,457980],[539933,457755],[539815,457236],[540386,456378],[539661,456390],[539007,455727],[538218,456171],[537704,455929],[538073,454184],[536428,452665]]]]},"properties":{"location":{"type":"Municipal","properties":{"gemeindenr":32013,"name":"Scheibbs","urlname":"scheibbs"}},"warnings":[]}}
                                        
                                        T 2 Replies Last reply Reply Quote 0
                                        • T
                                          ticaki Developer @bergjet last edited by ticaki

                                          @bergjet

                                          Muß mal schauen wenn ich keine Warnung habe was da drin steht.

                                          EDIT: Da stimmt was nicht, ich komme zwar nicht auf deinen Fehler da oben aber bei mir aktualisiert sich das nicht. Gucke ich mir an, wenn es nicht so schön ist wie heute 🙂

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

                                            @ticaki sagte in Test Adapter Weather-Warnings:

                                            wenn es nicht so schön ist wie heute

                                            IMG_0123.jpg

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            840
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            34
                                            1074
                                            259515
                                            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