Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Ical mehrere Instanzen -> nur bestimmte Termine

    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

    Ical mehrere Instanzen -> nur bestimmte Termine

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @nousefor82 last edited by

      @nousefor82

      muss ertmal nachdenken - dieses teilscript wurde ja hier rausgenommen - https://forum.iobroker.net/post/553690 in dem script brauche ich unbedingt dieses setting in ical:

      Image 1.png

      das "ersetze datum mit worten" darf nicht angklickt sein

      ich habe ein neues script im post oben drin - dort sollte mit dem "setting des bildes" das heute und morgen funktionieren

      @Karel-Puhli
      beim kopieren des scripts die settings (auch schedule) wieder angleichen!

      Image 2.png

      Karel Puhli 1 Reply Last reply Reply Quote 0
      • Karel Puhli
        Karel Puhli @liv-in-sky last edited by Karel Puhli

        @liv-in-sky said in Ical mehrere Instanzen -> nur bestimmte Termine:

        Image 1.png

        das "ersetze datum mit worten" darf nicht angklickt sein

        komisch, habe es bei mir angeklickt... es wird trotzdem korrekt angezeigt. Bezieht sich das nur auf einen der 3 Datenpunkte?

        liv-in-sky 2 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Karel Puhli last edited by

          @karel-puhli

          habe es mit der einstellung bei dem script hier nicht getestet - aber es wäre schon möglich - ich suche ja nach einem bestimmten format und ersetze dann. wenn das format nicht gefunden wird, bleibt der text unverändert und heute bzw morgen wird angezeigt

          ich wollte nur einen standard für die beiden scripte haben - damit gehe ich auf nummer sicher, wenn jmd mal einen fehler hat. damit kann ich sicherstellen., dass der user die selben daten bekommt wie ich. ändert sich da mal was, kann ich das script umschreiben.

          1 Reply Last reply Reply Quote 1
          • liv-in-sky
            liv-in-sky @Karel Puhli last edited by

            @karel-puhli

            hi - ich mußt bei meinem anderen script (https://forum.iobroker.net/post/562178) noch etwas korrigieren , was auch dein script betrifft

            habe es in den post kopiert - vielleicht kannst du bei gelegenheit testen

            Karel Puhli 1 Reply Last reply Reply Quote 0
            • Karel Puhli
              Karel Puhli @liv-in-sky last edited by

              @liv-in-sky

              Hi! Oben im Spoiler ist jetzt ein aktuelleres Skript?

              Grüße!

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Karel Puhli last edited by

                @karel-puhli

                ja - hier: https://forum.iobroker.net/post/557333

                Karel Puhli 2 Replies Last reply Reply Quote 1
                • Karel Puhli
                  Karel Puhli @liv-in-sky last edited by

                  @liv-in-sky

                  Ich teste und sage bescheid. Was hast du denn geändert?

                  Danke und beste Grüße!

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Karel Puhli last edited by

                    @karel-puhli es geht um die anzeige bzw um das erkennen . was der nächste termin ist. der ical adapter hat eine eigenwillige art zu zeigen, welche art der termin ist

                    wenn z.b. ein ganztagestermin heute ist, steht nur ein datum. ist ein ganz tagestermin in einen der folgenden tagen, steht dort: termin 01:00-00:00 und das datum des folgetages.

                    das habe ich versucht besser zu filtern, weil bei bestimmten konstellationen, falsche termine in den datenpunkten stand

                    Karel Puhli N 2 Replies Last reply Reply Quote 1
                    • Karel Puhli
                      Karel Puhli @liv-in-sky last edited by

                      @liv-in-sky

                      Bis dato läuft alles tacko! 👍

                      1 Reply Last reply Reply Quote 1
                      • N
                        nousefor82 @liv-in-sky last edited by

                        @liv-in-sky

                        Hi,

                        seit 1-2 Wochen hängt irgendwas.

                        Und zwar zeigt er mir immer noch im Datenpunkt

                        TerminNextGanzerTag
                        

                        einen Geburtstag an, der schon längst vorbei ist.

                        492b36e0-ca2f-44e8-9ffb-50ae34d8c031-grafik.png

                        7bbef38c-81a4-424e-8de1-a83c363c7e01-grafik.png

                        Am Script habe ich nichts verändert.

                        Kannst du dir einen Reim drauf machen?

                        VG,

                        Jörg

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @nousefor82 last edited by

                          @nousefor82

                          hast du den ical adapter upgedatet ?

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            nousefor82 @liv-in-sky last edited by

                            @liv-in-sky

                            Ist auf dem neusten Stand!

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @nousefor82 last edited by

                              @nousefor82 dann gibt es ein problem - da der ical neue datenpunkt struktur hat

                              teste mal

                              ersetze diese zeile

                              Image 2.png

                              mit dieser - wie im bild gezeigt

                              let myDpInput=JSON.parse((getState(dpTSJson[i]).val)); 
                              
                              N 1 Reply Last reply Reply Quote 0
                              • N
                                nousefor82 @liv-in-sky last edited by

                                @liv-in-sky

                                keine Änderung 😕

                                liv-in-sky 2 Replies Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @nousefor82 last edited by

                                  @nousefor82 welcher version hat der ical-adapter

                                  1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @nousefor82 last edited by

                                    @nousefor82

                                    das script läuft nur zur 0, 15, 30 und 45 minute - hast du das bedacht ?

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nousefor82 @liv-in-sky last edited by

                                      @liv-in-sky

                                      1.11.2

                                      Nur um sicher zu gehen...testen sollte ich die auskommentierung mit //, richtig?

                                      Der Code sieht bzgl. der Klammern so aus:

                                      let myDpInput=(getState(dpTSJson[i]).val);
                                      

                                      Wenn ich die Klammern setze wie du sie hast:

                                      let myDpInput=JSON.parse((getState(dpTSJson[i]).val)); 
                                      

                                      kommt eine Fehlermeldung.

                                      Du hast recht, ich warte kurz ab bis es 15 nach ist ;-).

                                      liv-in-sky 2 Replies Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @nousefor82 last edited by

                                        @nousefor82 sagte in Ical mehrere Instanzen -> nur bestimmte Termine:

                                        let myDpInput=JSON.parse((getState(dpTSJson[i]).val));

                                        anstatt

                                        let myDpInput=(getState(dpTSJson[i]).val);
                                        

                                        sollte das stehen

                                        let myDpInput=JSON.parse((getState(dpTSJson[i]).val));
                                        

                                        du kannst die alte zeile löschen oder auskommentieren " // "

                                        bei mir funktioniert es

                                        N 1 Reply Last reply Reply Quote 1
                                        • liv-in-sky
                                          liv-in-sky @nousefor82 last edited by

                                          @nousefor82 wenn ein fehler kommt, solltest du ihn posten - in code-tags - sonst schwierig

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            nousefor82 @liv-in-sky last edited by

                                            @liv-in-sky sagte in Ical mehrere Instanzen -> nur bestimmte Termine:

                                            let myDpInput=JSON.parse((getState(dpTSJson[i]).val));

                                            Du bist der Beste; das war es!!!

                                            DANKE DANKE DANKE...jetzt herrscht wieder Frieden im Haus 😄

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            961
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            how-to vis
                                            6
                                            84
                                            7048
                                            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