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 @Langer last edited by

      @langer

      ja - da kannst du das alles einstellen im setting - zur not machen wir das gemeinsam über anydesk

      @langer sagte in Script fürTabelle der Batterie Zustände:

      @liv-in-sky

      Ich glaube das geht oben in der Variablen Deklaration, oder?

      MfG
      Wastl

      Ps.
      Ich versuche gerade aus dem TR-064 Adapter Devices die DP in einer Tabelle darzustellen. Sollten Fragen auftauchen könnte ich Dich nochmals um Hilfe fragen?

      klar - da könntest du eine vorlage von mir nutzen - musst halt definieren, wieviele spalten diu haben willst und was darin angezeigt werden soll

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

        @liv-in-sky

        Ich wollte Dein Skript für "IPDevices" hernehmen und anpassen.

        MfG
        Wastl

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

          @langer joi- geht auch

          1 Reply Last reply Reply Quote 0
          • Horst Böttcher
            Horst Böttcher @liv-in-sky last edited by

            @liv-in-sky
            wie bekommt man nuki dazugefügt

            liv-in-sky L 2 Replies Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Horst Böttcher last edited by

              @horst-böttcher

              da müßte ich mal die datenpunkte sehen - kannst du mal ein bild der objecte unter dem adapter zeigen ?

              1 Reply Last reply Reply Quote 0
              • L
                locito09 @Horst Böttcher last edited by

                @horst-böttcher
                Nuki zeigt ja den Batterie stand in Prozent an

                Horst Böttcher 1 Reply Last reply Reply Quote 0
                • Horst Böttcher
                  Horst Böttcher @locito09 last edited by

                  @locito09
                  !mal opener und smartlock gesteuert über nuki-extended adapter
                  eca80dab2a5c1ebe5b4dc50117bc8c9c.png
                  1f4ef24bdc48e1495a08fe783f88d481.png

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Horst Böttcher last edited by

                    @horst-böttcher

                    werd ich die nächsten tage ansehen

                    gehe bitte in den object tab und makiere nuki-extended
                    anschliessend kannst du oben auf datei json export gehen - diese datei bitte im forum posten

                    stimmt das:

                    beim opener ist es der dp batteryCritical
                    beim smartlock ist der dp auch batteryCritical

                    das wäre am einfachsten umzusetzen

                    Horst Böttcher 1 Reply Last reply Reply Quote 0
                    • Horst Böttcher
                      Horst Böttcher @liv-in-sky last edited by

                      @liv-in-sky musste ich leider extern machen für hier war es zu gross Link Text

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Horst Böttcher last edited by liv-in-sky

                        @horst-böttcher

                        du kannst es als txt-datei hier reinsetzen/-ziehen - nichtr den inhalt rein-kopieren

                        dann kasnn es nicht zu groß sein

                        Horst Böttcher 1 Reply Last reply Reply Quote 0
                        • Horst Böttcher
                          Horst Böttcher @liv-in-sky last edited by

                          @liv-in-sky nuki-extended.txt

                          liv-in-sky 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Horst Böttcher last edited by

                            @horst-böttcher

                            teste mal das script - hier zum download
                            https://github.com/liv-in-sky/battery-iobroker-vis-table

                            du mußt oben im setting nuki=true setzen

                            Horst Böttcher 1 Reply Last reply Reply Quote 1
                            • Horst Böttcher
                              Horst Böttcher @liv-in-sky last edited by

                              @liv-in-sky

                              e566d5d8cc0c56f80d39ea05c90fc8a4.png

                              ja es schein zu gehen ab wieviel prozent zeigt er low an

                              liv-in-sky 1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Horst Böttcher last edited by liv-in-sky

                                @horst-böttcher

                                weiß ich nicht - nutze den adapter ncht - da musst du im passendem thread nachfragen (wegen prozent)

                                zieh das widget mal etwas in die breite - sieht besser aus

                                farben , hintergrund schriftart kann alles eingestellt werden

                                Horst Böttcher 1 Reply Last reply Reply Quote 0
                                • Horst Böttcher
                                  Horst Böttcher @liv-in-sky last edited by

                                  @liv-in-sky ok danke dir gute Arbeit 👍

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

                                    @Idefix

                                    ich nutze das eigentlich nicht

                                    was ich noch gefunden habe ist diese ansicht - dort ist sortiert nach namen

                                    Image 1.png

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

                                      @liv-in-sky

                                      so sieht es bei mir aus, nur irgendwie durcheinander
                                      hm.jpg

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

                                        @idefix01

                                        das ist leider richtig so - das sortieren für die json , welche du nutzt, wird nicht sortiert

                                        am einfachsten für mich wäre eine sortierung nach namen - könnt ich dir morgen mal einbauen

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

                                          @idefix01

                                          füge das am ende des scripts ein - ganz unten:

                                           function sortierMalMD(myObjF) {
                                          
                                               
                                                       myObjF.sort(function (alpha, beta) {
                                                       if ((alpha.name.toUpperCase()).trim() > (beta.name.toUpperCase()).trim())
                                                          return 1;
                                                       if ((beta.name.toUpperCase()).trim() > (alpha.name.toUpperCase()).trim())
                                                          return -1;
                                                       return 0;
                                                      });}
                                          

                                          und noch diese zeile an dieser stelle mit dem pfeil:

                                          sortierMalMD(myJsonWidget2)
                                          

                                          Image 1.png

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

                                            @liv-in-sky

                                            Super, ich danke Dir, hat perfekt funktioniert

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            806
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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