Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. VIS 1.2.10 Problem mit Bindings

    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

    UNSOLVED VIS 1.2.10 Problem mit Bindings

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: RASPI4
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte&
      Betriebssystem: Raspian
      Node-Version: 12.18.2
      Nodejs-Version: 12.18.2
      NPM-Version: 6.14.5
      Installationsart: Script
      Image genutzt: Nein
      Ort/Name der Imagedatei: n.a.

      Mit dem neuen Updates des VIS Adapters geht folgendes Binding nicht mehr:

      {val:chromecast.0.ccAudioWohnzimmer.status.playing; val== "true" ? "#00DE00" : "#FFFFFF"}

      Wenn das Ding spielt (true) ist der Rahmen grün, wenn gestoppt (false) ist er weiß....

      ...der Rahmen bleibt aber immer weiß!

      Wenn ich VIS wieder downgrade auf die V 1.2.9 dann geht es wieder!

      Liebe Grüße
      Tom

      crunchip arteck 2 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @etv last edited by crunchip

        @etv gibt hier z.b. auch schon einen Beitrag
        Frage vorne weg,
        hast du nur Probleme mit bindings oder verwendest du auch MDCSS2.x

        etv 1 Reply Last reply Reply Quote 0
        • etv
          etv @crunchip last edited by

          @crunchip , nope nur Bindings - hab bei meinem VIS nur den Adapter und die Google Fonts, sonst nix dabei....alles "out of the box"

          Liebe Grüße
          Tom

          1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @etv last edited by arteck

            @etv sagte in VIS 1.2.10 Problem mit Bindings:

            {val:chromecast.0.ccAudioWohnzimmer.status.playing; val== "true" ? "#00DE00" : "#FFFFFF"}

            {val:chromecast.0.ccAudioWohnzimmer.status.playing;(val === true)?"#00DE00":"#FFFFFF"}
            

            on mit oder ohne klammer ..sollte gehen

            etv 1 Reply Last reply Reply Quote 0
            • etv
              etv @arteck last edited by

              @arteck ...nö - leider nicht - Rahmen bleibt immer auf weiß = ist meine Standard Farbe, d.h. er erkennt die Formel nimma....

              Wie gesagt mit 1.2.9 funktioniert es

              Liebe Grüße
              Tom

              K 1 Reply Last reply Reply Quote 0
              • K
                Knoddel @etv last edited by

                {val:0_userdata.0.Sicherheit.Fensterstatus; val == "true" ? "#13dd4b": "#f81627"}
                

                bei mir dasselbe

                1 Reply Last reply Reply Quote 0
                • Röstkartoffel
                  Röstkartoffel last edited by

                  Hilft euch das weiter?

                  https://forum.iobroker.net/topic/36216/boolsche-werte-in-css-ausdrücken/5
                  
                  arteck 1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active @Röstkartoffel last edited by arteck

                    @Röstkartoffel bei mir gehts

                    fe30b2b2-9b94-4d52-91cc-dbe0d753f79f-grafik.png

                    bin auf 1.2.11

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

                      habe alles auf neusten (latest) stand gebracht - web, socket javascript und vis- meine bindings funktionieren auch noch 😞

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

                        @liv-in-sky

                        bei mir funktioniert das leider mit der 1.2.11 (und Rest aktuelle auf latest) auch nicht mit 1.2.9 ohne Probleme.
                        Könntest du mal deinen Code für ein Binding hier einstellen?!

                        Bei mir sieht das so aus aktuell

                        {val:javascript.0.scriptEnabled.Alexa.Sprachausgabe_Waschmaschine; val == "true" ? "#13dd4b" : "#f81627"}
                        
                        Steff liv-in-sky 2 Replies Last reply Reply Quote 0
                        • Steff
                          Steff @Knoddel last edited by

                          Ich hänge mich hier mal mit dran.
                          Auch bei funktionieren die Bindings bei Update auf die 1.2.11 nicht mehr. Mit der 1.2.9 ist noch alles OK.
                          Bin auf latest. Habe ansonsten noch die MD-Widgets von @Scrounger drauf.

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

                            @Knoddel

                            {val:controll-own.0.AAATEST.TestLogic; val == true ? "#13dd4b" : "#f81627"}
                            

                            smart77.gif

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

                              @liv-in-sky ja ... bei manchen funzt es ja. Bei mir tut es auch nicht. MDCSS2 und nur basic/jqui widgets in verwendung.

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

                                @harrym es funktionierte nicht, wenn true in anführungszeichen ist ???

                                kein MDCSS2 bei mir

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

                                  @liv-in-sky

                                  {val:radar2.0.Google_Ping;val=="true"? "mdui-green-bg mdui-green-ol": "mdui-red-bg mdui-red-ol"} mdui-tooltip?text:Internet;background:lightgrey mdui-{0_userdata.0.mdui.vis.tooltip_text_color}
                                  

                                  tut in 1.2.9 ... alle Versionen oberhalb => nada

                                  und in der aktuellen version auch ' versucht, mit den leerzeichen versucht ... NIX

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

                                    @harrym

                                    hat schon jmd bei @Bluefox nachgefragt? steht bei github drin bzw eine issue auf github aufgemacht ?

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

                                      @liv-in-sky hat nix mit bluefox und seinen css klassen/ js zu tun. da hängt es woanders.

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

                                        @harrym da kann ich leider nix mehr beitragen
                                        hast du mal die anführungszeichen bei true von deinem beispiel eintfernt und getestet ?

                                        bei mir:

                                        • vis 1.2.10
                                        • jscript: 4.6.26
                                        • web 3.0.12
                                        • socket 3.0.13
                                        harrym 1 Reply Last reply Reply Quote 0
                                        • harrym
                                          harrym @liv-in-sky last edited by

                                          @liv-in-sky alles schon getestet. hab ja schon erfahrung gesammelt mim broker und co 😉

                                          Scrounger 1 Reply Last reply Reply Quote 0
                                          • Scrounger
                                            Scrounger Developer @harrym last edited by

                                            @harrym
                                            Funktioniert bei mir auch:

                                            {val:0_userdata.0.MDW.Buttons.bool; val == true ? "ja" : "nein"}
                                            

                                            tmp.gif

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            525
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            vis binding
                                            10
                                            32
                                            1600
                                            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