Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS Background Color mit Datenpunkt steuern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    VIS Background Color mit Datenpunkt steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @adarof last edited by

      @adarof sagte in VIS Background Color mit Datenpunkt steuern:

      Folgender Datenpunkt:

      bestätige den Wert mal

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

        @homoran
        Keine Änderung
        ff5c8e34-16e3-44ff-9d36-963bfe6f1828-image.png
        ergibt immernoch
        ffa2dfad-a472-49ea-875b-2f7cc692e2fd-image.png
        ...und ich erwarte ja, dass egal ob if oder else eine Farbe gesetzt wird.

        Gruss -

        Homoran 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @adarof last edited by Homoran

          @adarof warum hast du die Farbe in Anführungszeichen?

          edit: ist ok so!

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

            @adarof 🤦

            falsches Feld!
            eins tiefer in color!

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

              @homoran Ahh - Danke; das wars. Nun tut das Test Widget. Dankeschön 🙂
              Das hatte ich in den Dokus anders verstanden - und eigentlich auch ausprobiert ... nun kommt das ABER:
              Bei mir tut das nur mit Anführungsstrichen um die Farbe selber-- und die Kombi (Feld -color mit Anführungszeichen) hab ich hoffensichtlich gestern nicht probiert vor meiner Hilfssuche ✌

              Und schon tut es auch, was es soll im eigentlichen Anwendungsfall:
              55e4123d-7b85-4711-bdbb-ddb83ac8df97-image.png
              (eAuto ist bei 80% geladen und lädt gerade mit 4.6kWh weiter)
              Wird gemacht bei mir durch:

              {val:evcc.0.loadpoint.1.status.chargeCurrent ; val >=  0 ? "#49ff24" : "#ffffff" }
              
              OliverIO 1 Reply Last reply Reply Quote 0
              • OliverIO
                OliverIO @adarof last edited by

                @adarof

                Wird die chargecurrent jemals unter 0 fallen? Also bspw -10?

                A 1 Reply Last reply Reply Quote 0
                • skvarel
                  skvarel Developer @OliverIO last edited by skvarel

                  @oliverio .. doch, bei unseren inventwo Widgets. Das hat jkvarel extra einprogrammiert

                  .... bezieht sich auf "bindings funktionieren nie im editor nur in der runtime"

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

                    @oliverio Stimmt Danke.

                    val > 0
                    

                    wäre sinnvoller (und bei <0 kann es gleich rot werden - FALLS das birektionale Laden mal von VW freigegeben wird und meine Wallbox auch könnte ;-))

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

                      @OliverIO Zu früh gefreut - Tut auch noch garnicht wie erwartet:
                      ....doch, tut - man muss nur ne passende Variable nehmen 8-)

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

                        @adarof

                        Und ich vermute mal, dass da kein number, sondern string ankommt

                        {val:evcc.0.loadpoint.1.status.chargeCurrent ; parseFloat(val) > 0 ? "#49ff24" : "#ffffff" }
                        
                        A 1 Reply Last reply Reply Quote 0
                        • A
                          adarof @OliverIO last edited by

                          @oliverio Wohu - Ja, Danke - nun täte es auch an dem Datenpunkt (hatte nun aber nen anderen nehmen wollen)

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          899
                          Online

                          32.0k
                          Users

                          80.4k
                          Topics

                          1.3m
                          Posts

                          vis
                          9
                          26
                          2788
                          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