Navigation

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

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter Tagesschau 0.5.x

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

      @ticaki said in Test Adapter Tagesschau 0.2.x:

      @rene55
      Bekannt ist ein schema fehler 🙂

      "params":{"additionalProperty":"unit"}, unit steht nur in einer type: number und da ist es laut doku erlaubt.

      Hast du den Link aufs Issue dazu?
      Und unit gibts eigentlich in allen numerischen Typen (number, slider, state, staticInfo).
      ABER unit erfordert admin >= 7.4.9

      T 1 Reply Last reply Reply Quote 0
      • Armilar
        Armilar Most Active Forum Testing @bahnuhr last edited by Armilar

        @bahnuhr

        Hier nur die VIS-View
        964e1112-1566-4440-9b2d-acb31a14c41c-tagesschau_view.json

        Und hier die Funktionen die ich aktuell in VIS benutze (im Tab Eigenschaften/Skripte)

        function calcDate(datum) {
            if (datum != 'undefined') {
                return '• Datum: ' +
                       datum.slice(8,10)  + '.' +
                       datum.slice(5,7)   + '.' + 
                       datum.slice(0,4)   + ' ' + 
                       datum.slice(11,13) + ':' +
                       datum.slice(14,16) + ' Uhr';
            } else {
                return ''
            }
        }
        
        function toMinSek(laenge) {
            return '• Länge: ' + new Date(laenge * 1000).toISOString().substring(14, 19)
        } 
        
        function checkContent(topline, title) {
            if (topline == 'null' || topline == 'undefined' || topline === '' || title == 'null' || title == 'undefined' || title === '' ) {
                return '<b>Content wird geladen</b>';
            } else {
        topline1 = topline.toString().replaceAll(/"/g, '\\');
        title1 = title.toString().replaceAll(/"/g, '\\');
                
                return '<b>• ' + topline1 + '</b> - ' + title1;
            }
        }
        
        function setState(id, value) {
            this.vis.setValue(id, value);
        }
        

        Evtl. müsst ihr noch an der Auflösung arbeiten, da die mir recht hoch ist.

        Seitdem @ticaki jetzt auch den Date-String aus der API via JS-Date (V.0.2.X) bereitstellt (z.B. tagesschau.0.videos.channels.01.jsDate) ergeben sich in der Formatierung des Datums/Uhrzeit auch neue Möglichkeiten...

        Das hier entspricht noch der ursprünglichen API. Funktioniert natürlich auch weiterhin.

        1 Reply Last reply Reply Quote 2
        • D4vE
          D4vE @ticaki last edited by

          @ticaki sehr stark!

          da hab ich eine frage ich nutze die vis nicht.. kann man da auch was für Telegram oder so was machen? das man einmal am tag die Nachrichten aufs Handy geschickt bekommt? oder ist das nicht möglich lg Dave

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

            @mcm1957 sagte in Test Adapter Tagesschau 0.2.x:

            @ticaki said in Test Adapter Tagesschau 0.2.x:

            @rene55
            Bekannt ist ein schema fehler 🙂

            "params":{"additionalProperty":"unit"}, unit steht nur in einer type: number und da ist es laut doku erlaubt.

            Hast du den Link aufs Issue dazu?
            Und unit gibts eigentlich in allen numerischen Typen (number, slider, state, staticInfo).
            ABER unit erfordert admin >= 7.4.9

            Bildschirmfoto 2025-01-05 um 13.32.26.png

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

              @ticaki
              Ich meinte einen Link aufs Issue wo der Schema Fehler gemeldet wird. Ohne Isse wird den niemand behaben ...

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

                @d4ve

                Ja ne vielleicht 😄 Bin da mit was am rum spinnen. Ich könnte ja meinen anderen adapter mit sendto empfangsmöglichkeiten ausstatten und ein Skript anbieten, dass die Nachrichten als Wetter tarnt und den anderen Adapter zweck entfremdet... Mal sehen wie ich lust bekomme.

                Was aber schnell gehen würde, wäre ein Skript das breaking news überwacht und die per Telegram raushaut.

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

                  @ticaki

                  Exakt so mache ich es auch. Die VIS View ist nur eines von diversen Anwendungsbeispielen und eher bei mir für den Test konzipiert. Lässt sich dennoch für VIS Freunde nutzen...

                  Trigger auf Breaking News (newsCount) und dann die Top-Line mit Titel an das NSPanel im Screensaver oder an Telegram mit dem Link zur Nachricht...

                  0dead0a1-420e-4982-8d3f-5628a7363085-image.png

                  Wenn jetzt eine wichtig eingestufte Meldung kommt, dann direkt weitersenden...

                  Ich denke der Phantasie sollten hier keine Grenzen gesetzt sein... 😊

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

                    @mcm1957 sagte in Test Adapter Tagesschau 0.2.x:

                    @ticaki
                    Ich meinte einen Link aufs Issue wo der Schema Fehler gemeldet wird. Ohne Isse wird den niemand behaben ...

                    https://github.com/ioBroker/adapter-react-v5/issues/502

                    ticaki created this issue in ioBroker/adapter-react-v5

                    open [jsonConfig]: has an invalid jsonConfig: type: 'number' unit:'minutes' #502

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

                      0.3.0 (2025-01-05)

                      • (ticaki) States are only updated when changes are made.
                      • (ticaki) Last update Data point added with timestamp of the last successful data access
                      • (ticaki) Emptying of data points improved
                      • (ticaki) Placeholder images inserted for no news.
                      • (ticaki) User-defined keywords with *
                      • (ticaki) Requires admin version 7.4.9 or higher

                      DeepL meint dazu:

                      0.3.0 (2025-01-05)

                      • (ticaki) Zustände werden nur bei Änderungen aktualisiert.
                      • (ticaki) Letzte Aktualisierung Datenpunkt mit Zeitstempel des letzten erfolgreichen Datenzugriffs hinzugefügt
                      • (ticaki) Leeren von Datenpunkten verbessert
                      • (ticaki) Platzhalterbilder für keine Nachrichten eingefügt.
                      • (ticaki) Benutzerdefinierte Schlüsselwörter mit *
                      • (ticaki) Benötigt Admin-Version 7.4.9 oder höher
                      1 Reply Last reply Reply Quote 1
                      • D4vE
                        D4vE @ticaki last edited by

                        @ticaki 🙂 du bist der beste ! 🙂

                        ja ne aber wer schon echt nice wenn das klappen würde such schon lange sowas ! ja mit Skripte das immer so ding ^^ damit muss Mann sich auskennen
                        und was eine Überraschung ich tut es nicht HHAHAA

                        ❤

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

                          @d4ve
                          Hab was gefunden, das kann aber ne Woche oder 2 dauern und ist dann im Adapter integriert.

                          D4vE 1 Reply Last reply Reply Quote 2
                          • bahnuhr
                            bahnuhr Forum Testing Most Active last edited by

                            @Armilar
                            @ticaki

                            So, spiele gerade mit der Seite von Armilar rum. (Danke nochmal)

                            Die DP, z.B. Meldungen Inland, also DP:
                            tagesschau.0.news.inland.news.00.topline

                            werden mir in runtime angezeigt.
                            Jedoch ist der DP bei den Objekten nicht mehr sichtbar !?

                            e3b9b128-8921-4199-b750-d7ad966e39a4-image.png

                            Auch die anderen DP, z.B. streams funktionieren alle; sind aber bei den Objekten nicht sichtbar !

                            Weiß jemand warum dieses Verhalten auftritt.
                            Hatte ich bisher noch nie.

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

                              @bahnuhr
                              Standardfrage - Version?

                              Ich hatte das einmal gestern abend, adapter neu gestartet oder admin reload hat geholfen.

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

                                @ticaki

                                V 0.1.3

                                Ich starte mal die Instanz neu.

                                Nachtrag:
                                Nach neustart ist wieder alles da.
                                Melde mich wieder wenn es wieder weg sein sollte.

                                1 Reply Last reply Reply Quote 0
                                • Armilar
                                  Armilar Most Active Forum Testing @bahnuhr last edited by

                                  @bahnuhr

                                  mir ist es gestern bei den Versionen kleiner v0.3.x aufgefallen.

                                  Aktuell ist alles korrekt...

                                  bahnuhr 1 Reply Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @Armilar last edited by

                                    @armilar

                                    Schaun wir mal was noch so kommt 😉

                                    1 Reply Last reply Reply Quote 2
                                    • D4vE
                                      D4vE @ticaki last edited by

                                      @ticaki sagte in Test Adapter Tagesschau 0.2.x:

                                      @d4ve
                                      Hab was gefunden, das kann aber ne Woche oder 2 dauern und ist dann im Adapter integriert.

                                      Ich kann warten! weil ich weiß das es gut wird 🙂 vielen Dank!

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

                                        @ticaki
                                        Instanz neu gestartet. Da waren alle DP da.
                                        Nun nach ca. 5 Minuten sind sie wieder alle weg.

                                        Funktionieren tuen sie aber.
                                        Nur halt nicht sichtbar.

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

                                          @bahnuhr
                                          Ich hab im Adapter nur eine Funktion die States löschen könnte und die ist überall "deaktiviert". Ich glaube das ist entweder ein Problem mit der hohen anzahl an States, oder was mit dem Admin. Nix im Log? Mal Admin neugestartet?

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

                                            @ticaki

                                            tagesschau.0
                                            2025-01-05 17:07:02.952	warn	State "tagesschau.0.videos.type" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.903	warn	State "tagesschau.0.videos.channels.07.type" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.860	warn	State "tagesschau.0.videos.channels.07.copyright" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.816	warn	State "tagesschau.0.videos.channels.07.alttext" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.771	warn	State "tagesschau.0.videos.channels.07.streams.adaptivestreaming" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.728	warn	State "tagesschau.0.videos.channels.07.streams.h264xl" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.668	warn	State "tagesschau.0.videos.channels.07.streams.h264m" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.592	warn	State "tagesschau.0.videos.channels.07.streams.h264s" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.544	warn	State "tagesschau.0.videos.channels.07.tracking.01.type" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.499	warn	State "tagesschau.0.videos.channels.07.tracking.01.type_nielsen" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.455	warn	State "tagesschau.0.videos.channels.07.tracking.01.c18" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.412	warn	State "tagesschau.0.videos.channels.07.tracking.01.c16" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.367	warn	State "tagesschau.0.videos.channels.07.tracking.01.c12" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.320	warn	State "tagesschau.0.videos.channels.07.tracking.01.c10" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.275	warn	State "tagesschau.0.videos.channels.07.tracking.01.c9" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.228	warn	State "tagesschau.0.videos.channels.07.tracking.01.c8" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.180	warn	State "tagesschau.0.videos.channels.07.tracking.01.c7" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.136	warn	State "tagesschau.0.videos.channels.07.tracking.01.c5" has no existing object, this might lead to an error in future versions
                                            
                                            tagesschau.0
                                            2025-01-05 17:07:02.092	warn	State "tagesschau.0.videos.channels.07.tracking.01.c2" has no existing object, this might lead to an error in future versions
                                            

                                            Sowas ist im log.
                                            Weiß aber jetzt nicht, ob das vor oder nach dem Neustart war.
                                            Beobachte dies weiter.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            469
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            news videos wetter
                                            8
                                            109
                                            6874
                                            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