Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IoBroker.vis-history

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    IoBroker.vis-history

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

      Wäre schön wenn mir jemand einen Tipp geben könnte wie man das realisiert.

      Danke schon mal

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Ich denke das so eine „filter“ Option einfach (noch) nicht existiert.

        Gesendet vom Handy …

        1 Reply Last reply Reply Quote 0
        • A
          adarof last edited by

          Hallo

          Würde im vis gerne die Aussentemp der letzten 24h darstellen.

          Das klappt prinzipiell mit dem Sparkline wunderbar - allerdings ohne Achsenbeschriftung ist das ganze auch recht sinnlos.

          Gibts da wirklich nichts? Was kann man mit einem Liniendiagram ohne Beschriftung anfangen?

          Gruss

          1 Reply Last reply Reply Quote 0
          • S
            skokarl last edited by

            Hallo,

            kriegt man über CSS den Hintergrund irgendwie weg ?
            Ich hätte gerne nur die Zahlen.

            1 Reply Last reply Reply Quote 0
            • H
              Hardwearhansi last edited by

              @adarof schon was herausgefunden?

              Und bei mit wird das widget nicht auf meiner vis auf meinem Tablet angezeigt

              1 Reply Last reply Reply Quote 0
              • A
                adarof last edited by adarof

                Über float-Adapter und das in ein basic-iFrame klappt das bei mir.
                Das Reload alle paar Minuten sieht man leider - muss man also so hoch stellen, dass es nicht nervt.

                Edit: Hab ich verwechelt mit anderem Thread ... sorry. Meine Lösung ist etwas weiter unten

                Gruss

                H 1 Reply Last reply Reply Quote 0
                • H
                  Hardwearhansi @adarof last edited by

                  @adarof Tut mir leid versteh ich nicht wie soll ich dass:

                  887.png

                  in Flot bekommen und dann in iFrame?

                  sigi234 A 2 Replies Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Hardwearhansi last edited by sigi234

                    @Hardwearhansi

                    Welchen DP hast du?

                    So:

                    Screenshot (46)_LI.jpg

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      Hardwearhansi @sigi234 last edited by

                      @sigi234 Danke jetzt ist der back ground schon mal weg aber auf meinem Tablet wird dennoch nichts angezeigt auf meinem Handy jedoch schon...

                      1 Reply Last reply Reply Quote 0
                      • A
                        adarof @Hardwearhansi last edited by

                        @Hardwearhansi
                        Oh sorry, da hab ich die Threads durcheinander gewürfelt.

                        Für die letzten Meldungen hab mir ein Script gebaut, was den history abfragt und als HTML-String aufarbeitet:

                        
                        on({id: 'javascript.0.localLoggerMailStripped'/*LoggerMail*/, change: "any"}, function (obj) {
                        
                        setTimeout(function() { // set Timeout of 2sec since db isnt filled before
                        
                        // Get 50 last stored events for all IDs
                        sendTo('sql.0', 'getHistory', {
                            id: 'javascript.0.localLoggerMailStripped'/*LoggerMail*/,
                            options: {
                                end:       new Date().getTime(),
                                count:     3,
                                aggregate: 'onchange'
                            }
                        }, function (result) {
                              var monthNames = [
                            "Jan", "Feb", "Mär",
                            "Apr", "Mai", "Jun", "Jul",
                            "Aug", "Sep", "Okt",
                            "Nov", "Dez"];
                            var resultString = '<table>'; 
                            for (var i = 0; i < result.result.length; i++) {
                                var d = new Date(result.result[2-i].ts);  
                                //var datestring = ("0" + d.getDate()).slice(-2) + "." + monthNames[d.getMonth()] + " " + ("0" + d.getHours()).slice(-2) + ":" + ("0" + d.getMinutes()).slice(-2);
                                //resultString += '<tr><td style="font-size:small;>' + datestring + '</td> <td style="font-size:normal;font-weight:bold">'+ result.result[4-i].val + '</td></tr>';  
                                var datestringDate = ("0" + d.getDate()).slice(-2) + "." + monthNames[d.getMonth()] + " ";
                                var datestringTime = ("0" + d.getHours()).slice(-2) + ":" + ("0" + d.getMinutes()).slice(-2);
                                resultString += '<tr><td style="font-size:large;padding-top:11px"> '+ datestringDate + '<br/>'
                                             +'<span style="font-size:x-large">' + datestringTime + '</span>'
                                             +'</td> <td style="font-size:x-large;padding-left:10px;padding-top:11px">'+ result.result[2-i].val + '</td></tr>';  
                                //console.log(JSON.stringify(result.result[i]));
                            }
                            resultString += "</table>"; 
                            //console.log(resultString);
                            setState('javascript.0.scriptEnabled.LastMessagesFiFoHTML'/*LastMessagesFiFoHTML*/, resultString);
                        });
                        
                        }, 2000); //SetTimeout Ende
                        
                        });
                        
                        
                        
                        sigi234 H 2 Replies Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @adarof last edited by

                          @adarof

                          Hallo, muss der DP javascript.0.localLoggerMailStripped angelegt werden?

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            adarof @sigi234 last edited by adarof

                            @sigi234 Das ist ein Datenpunkt, wo ich meine Werte nacheinander reinschreibe, die auch in der Liste auftauchen sollen.

                            Bei mir erzeuge ich also 2 Spalten: 1x Datum/UHrzeit und einmal Meldung (für alles mögliche):
                            Unbenannt.PNG

                            sigi234 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @adarof last edited by

                              @adarof sagte in IoBroker.vis-history:

                              Das ist ein Datenpunkt, wo ich meine Werte nacheinander reinschreibe

                              Also ja.

                              1 Reply Last reply Reply Quote 0
                              • H
                                Hardwearhansi @adarof last edited by

                                @adarof Ja mir reichen die orginalen widgets ja auch die werden ja als json ausgegeben und auf der vis vorschau und auch am browser angezeigt aber nicht in der iobroker app an meinem Tablet hindoch auf meinem handy in der vis schon dass versteh ich nicht...

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

                                  @Hardwearhansi
                                  Ich habe leider schon Probleme deinen Bandwurmsatz ohne Interpunktion und Groß-/Kleinschreibung zu verstehen 😞

                                  • Was klappt wo und wie?
                                  • und was wo und wie nicht?
                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Hardwearhansi @Homoran last edited by

                                    @Homoran Tut mir leid also Dieses Widget hier:

                                    887.png

                                    Wird mir auf meinem Tablet nicht angezeigt jedoch auf meinem Handy schon beide Iobroker Vis App aus dem Playstore von Android

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

                                      @Hardwearhansi sagte in IoBroker.vis-history:

                                      also Dieses Widget hier:

                                      Welches ist das?
                                      So sieht bei mir das history-event-list Widget aus.
                                      Das wird bei mir in der App (Android!) vollkommen korrekt angezeigt.

                                      Also:

                                      • welche App?
                                      • welches Widget?
                                      • Welche Version von
                                        • App?
                                        • vis?
                                        • Android?
                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      633
                                      Online

                                      32.0k
                                      Users

                                      80.4k
                                      Topics

                                      1.3m
                                      Posts

                                      13
                                      39
                                      9677
                                      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