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.
    • H
      hofmannha @hofmannha last edited by

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

      @liv-in-sky
      Hallo,
      bin auf deine Batterieanzeige gestoßen und habe großes Interesse daran.
      Würdest Du mir das Finale Script mal zur Verfügung stellen?
      Könntest Du mir mal ein Screenshot von deinen angelegten Datenpunkte geben?
      Ich habe Homematic-Sensoren und Xiaome Sensoren.
      Bin noch in den Anfängen vom ioBroker.
      Gruß

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

        @hofmannha das aktuelle script ist im ersten post dieses threads https://forum.iobroker.net/post/355416

        beim anlegen der datenpunkte achte auf den typ ( steht im script) - je nachdem, welches widget du nutzen willst ( in der vis) schaltest du durch "brauchexxxWidget= true" und musst auch den datenpunkt dafür anlegen

        ich habe alle datenpunkte angelegt, weil ich auch alle 3 widgets nutze (zum testen und entwickeln)

        du solltest die datenpunkte unter 0_userdata.0 anlegen - wie diese heißen obliegt dir - du musst sie halt im script auch eintragen z.b 0_userdata.0.Tabellen.Batterien.akku und 0_userdata.0.Tabellen.Batterien.AkkuAlarm usw

        Image 1.png

        als nächstes stellst du im script ein, welche hersteller/marken du nutzt alle anderen stellst du auf false

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

          @liv-in-sky
          Vielen vielen Dank. Das hilft mir schon mal weiter.

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

            @liv-in-sky
            Hallo,
            habe alles geändert, aber irgendwie kriege ich keine Tabellen in der vis.
            akku.PNG
            Ich habe von Die material list und material table benutzt.
            Was mache ich falsch?

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

              @hofmannha
              akku2.PNG

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

                @hofmannha zeig mal deine script settings - so bis zur zeile 51

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

                  @liv-in-sky
                  ein Fehler habe ich gefunden.
                  Hier die Settings.

                  code_text
                  ![06f896e5-2533-446e-971f-77b1d20f875e-grafik.png](/assets/uploads/files/1584372463562-06f896e5-2533-446e-971f-77b1d20f875e-grafik-resized.png) ```
                  
                  Ich habe nur Homematic Sensoren und Xiaomi.
                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • H
                    hofmannha @liv-in-sky last edited by

                    @liv-in-sky
                    akku3.PNG
                    Hier fehlen die Sensoren von Xiaomi

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

                      @liv-in-sky
                      akku4.PNG

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

                        @hofmannha bitte code immer im code tag posten

                        Image 4.png

                        also bevor du den code reinkopierst, wählst du das symbol und dann kopiere/ersetze den code_text mit deinem code - sonst ist das so schwer zu lesen

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

                          @liv-in-sky
                          alles klar, das wußte ich nicht. Bin eben noch Anfänger.

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

                            @liv-in-sky akku5.PNG

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

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

                              @liv-in-sky
                              alles klar, das wußte ich nicht. Bin eben noch Anfänger.

                              kein problem - aber bitte mache es auch - du kannst deinen post auch nachträglich beabeiten

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

                                @hofmannha wir können auch gerne eine teamviewer oder anydesk session machen, wenn interesse dann im chat weiter

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

                                  @liv-in-sky

                                  6ef15c2e-e5fc-4556-8fc1-bc8e350e01b6-grafik.png

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

                                    @hofmannha nur code - also scripte - in den code tag - bilder ganz normal einstellen 🙂

                                    //////////////////////////////////////////////////////////////////

                                    let htmlColorDeviceUeberschrift="#01DFD7" ;            //  Farbe der Geräte Marken  A0C2A0
                                    let HTMLbrandSetting="b";    
                                    

                                    smart1.gif

                                    //////////////////////////////////////////////////////////////////

                                    der spoiler versteckt z.b ein bild oder einen code

                                    let htmlColorDeviceUeberschrift="#01DFD7" ;            //  Farbe der Geräte Marken  A0C2A0
                                    let HTMLbrandSetting="b";    
                                    

                                    smart12.gif

                                    ein bild:

                                    infok.png

                                    smart13.gif

                                    ein bild im spoiler:


                                    infok.png

                                    smart14.gif

                                    //////////////////////////////////////////////////////////////////

                                    spoiler beschriften:

                                    einen


                                    nix drin

                                    smart15.gif

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

                                      @hofmannha zum script zurück - geht jetzt alles ?

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

                                        @liv-in-sky
                                        ich melde mich morgen. Die Regierung hat eine andere Aufgabe.
                                        Vorerst mal vieln Dank

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

                                          @liv-in-sky
                                          kannst Du mir noch mal die Änderung im Script schicken?

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

                                            @hofmannha welche änderung ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            779
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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