Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Script fürTabelle der Batterie Zustände

    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

    Script fürTabelle der Batterie Zustände

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

      @hofmannha ich sehe hier erstmal keinen fehler - sind die datenpunkte jetzt beschrieben ?

      falls du den firefox nutzt - nutze lieber chrome- der firefox kopiert dir immer eine leerzeile in das script

      gut wäre es, wenn du nur mal die html tabelle nutzt - ohne material design - also ein html standard widget (das HTML widget ganz oben bei der auswahl) mit binding und das mal kontrollierst - du kannst es dann ja wieder löschen

      Image 5.png

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

        @liv-in-sky

        Nur zur Info , schau mal sein Skript an !

        1.JPG

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

          @Glasfaser @hofmannha

          gut gesehen !!!

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

            @liv-in-sky
            funktioniert nicht.
            Habe das material list von Dir kopiert.Akku.PNG )

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

              @hofmannha
              Aber wo sind die Xiaomi Sensoren?

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

                @hofmannha
                Mit dem html standard widget funktioniert nicht.

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

                  @hofmannha teamviewer oder anydesk ? geht schneller

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

                    @liv-in-sky
                    Machen wir morgen.

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

                      @liv-in-sky
                      Guten Morgen,
                      wenn Zeit hast, könnten wir über Anydesc eine Verbindung machen

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

                        @hofmannha ja hab ich - bin im chat

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

                          @liv-in-sky
                          unter der Adresse 3cccccccc

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

                            Hallo @liv-in-sky,
                            Habe mal wieder etwas besonderes 😉

                            Angeregt durch diesen Thread Habe ich einen HM-Sen-MDIR-O (HomeMatic Bewegungsmelder für Outdoor) herausgekramt und festgestellt, dass anscheinend wegen eines Fehlers in der Firmware der Datenpunkt Lowbat zwar existiert aber nicht befeuert wird.

                            In den Objekten bleibt der Wert daher leer.
                            Dein Script (uralte never-change-Version) gibt full-bat aus.

                            kann man das irgendwie abfangen, wenn wert NULL statt true dann ⚠ statt "full-bat"?

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

                              @Homoran

                              ich glaube wir befinden uns an dieser stellen

                              Image 1.png
                              Image 4.png

                              habe es so geändert - problem - du bekommst halt immer warnings im log

                              Image 3.png

                              du musst auch alle jsonx.. werte audsdeinem script entfernen, da diese zur neuen version gehören

                              oder du machst einfach "händisch" den wert auf false , aber dann hast du halt eine rote zeile - dauerhaft

                              Homoran 2 Replies Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @liv-in-sky last edited by

                                @liv-in-sky
                                Danke!
                                sehe ich mir heute abend an.

                                @liv-in-sky sagte in Script fürTabelle der Batterie Zustände:

                                oder du machst einfach "händisch" den wert auf false , aber dann hast du halt eine rote zeile - dauerhaft

                                Ist auch nicht anders als dauehaft grün 😉

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

                                  @Homoran evtl- theortisch könnte man den datenpunkt zu einer zahl umwandeln ( wenn der adapter nicht "murrt") und dann eine abfrage "type of" auf den datenpunkt und wenn dieser number ist, dann warning !

                                  oder vielleicht gibt es noch andere tricks, die uns noch einfallen - ein dauerndes warning finde ich nicht gut

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

                                    @Homoran schau mal nach, was passiert, wenn du den datenpunkt in eine zahl verwandelst - "schockt" das den adapter und er bring einen fehler/warning ?

                                    H 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @liv-in-sky last edited by

                                      @liv-in-sky Danke!

                                      Ihr habt mich irgendwann mal abgehängt.
                                      Auch das Material-Gedöns habe ich nur am Rande mitbekommen. Leider keine Zeit mich da auch noch einzuarbeiten, obwohl ich alles mit Material richtig gut finde.

                                      Vielleicht versuche ich heute abend mal die aktuelle Version.
                                      Muss ich mich da auf große Änderungen einstellen?

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

                                        @Homoran wenn du die brauche..widget von den material designs nicht brauchst - musst du nicht mal einen datenpunkt anlegen

                                        sind halt neue settings dazugekommen - daher aufpassen beim zurückkopieren deines settings - aber sonst ist alles für html table benutzer gleichgeblieben

                                        material design ist nur ein add-on - ich mag meine tabellen immer noch so, wie wir sie entwickelt haben 🙂 kompakt und schnell in der übersicht !

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

                                          @liv-in-sky
                                          Hallo liv-in-sky,
                                          ich habe ein Homematic Türkontakt, wo Lowbat = true ist.
                                          In deiner Tabelle wird er als OK angezeigt.
                                          Nochmals vielen Dank für deine Mühe.
                                          Viele Grüße
                                          balkontuer2.PNG balkontuer.PNG

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

                                            brauche hilfe von homematic usern - im script ist eine abfrage nach :

                                            if LOWBAT=="LOW" -

                                            kann das sein oder hat sich da ein fehlerchen eingeschlichen - die LOWBAT sind doch boolean bei homeatic - kann das bitte jmd bestätigen ( @Homoran )

                                            diese abfrage ist bei tado richtig aber ich vermute bei homematich falsch

                                            Homoran H 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            434
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript monitoring template
                                            67
                                            1379
                                            418464
                                            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