Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. [gelöst] Jarvis - Wert setzen StateList Widget?

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    [gelöst] Jarvis - Wert setzen StateList Widget?

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BigChris @MCU last edited by

      @mcu
      Ich denke ich habe es gefunden, vielen Dank.
      Man kann den ButtonAction als Taster definieren und dann entprechend die Daten übergeben und die Label benennen. Klasse.
      Ich mag Jarvis 🙂

      1 Reply Last reply Reply Quote 0
      • B
        BigChris @MCU last edited by

        @mcu
        Eine Frage habe ich aber jetzt doch noch.
        Ich hatte ja das Icon so definiert, dass es sich ja nach Status ändert auf der Anzeige. Das passiert nur ja leider nicht mehr.
        Bekommt man das wieder hin? Das das Icon vorne auf den "State" reagiert und nicht auf den lockAction?

        M 1 Reply Last reply Reply Quote 0
        • M
          MCU @BigChris last edited by

          @bigchris Zeig mal die Zeile aus dem Layout

          B 1 Reply Last reply Reply Quote 0
          • B
            BigChris @MCU last edited by

            @mcu
            meinst du wie es im View aussieht?
            nuki3.png

            oder dies hier:
            nuki4.png

            M 1 Reply Last reply Reply Quote 0
            • M
              MCU @BigChris last edited by MCU

              @bigchris Das untere, aber ist doch der status als Body State.
              f3a68c14-25af-4648-a8ce-b8219895b0a5-image.png
              das steht doch noch im status, oder?
              Scheint noch ein Fehler zu sein.

              B 1 Reply Last reply Reply Quote 1
              • B
                BigChris @MCU last edited by

                @mcu
                ja, das steht da noch drin.
                Sobald aber bei actionState das lockAction eingetragen wird mit dem Trigger Element ändert sich das Icon vorne nicht mehr wie es bei state definiert ist. Es scheint dann auf dem Gewerk icon zu bleiben

                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @BigChris last edited by MCU

                  @bigchris Ok, du musst dann im Geräte-DP lockaction alle Werte für das Icon von state eintragen

                  {
                    "{0_userdata.0.DP.dp2}= 12345": "mdi:door-closed-lock"
                  }
                  

                  Ist der state ein string?
                  Gib mir mal den Icon JSON

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    BigChris @MCU last edited by BigChris

                    @mcu
                    Ja, das sollte ein String sein

                    {
                      "0": "mdi:tool-time",
                      "1": "mdi:door-closed-lock",
                      "2": "mdi:car-engine-start",
                      "3": "mdi:door",
                      "4": "mdi:car-engine-start",
                      "253": "mdi:error",
                      "254": "mdi:error"
                    }
                    

                    So funktioniert es nicht bei lockAction

                    {
                      "{mqtt.0.nuki.37BBFFDD.state}= 1": "mdi:door-closed-lock"
                    }
                    

                    Ich denke ich habe es, hinter dem = darf kein Leerzeichen stehen, also so:

                    {
                      "{mqtt.0.nuki.37BBFFDD.state}=1": "mdi:door-closed-lock"
                    }
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @BigChris last edited by MCU

                      @BigChris So funktioniert es?

                      {
                        "{mqtt.0.nuki.37BBFFDD.state}=0": "mdi:tool-time",
                        "{mqtt.0.nuki.37BBFFDD.state}=1": "mdi:door-closed-lock",
                        "{mqtt.0.nuki.37BBFFDD.state}=2": "mdi:car-engine-start",
                        "{mqtt.0.nuki.37BBFFDD.state}=3": "mdi:door",
                        "{mqtt.0.nuki.37BBFFDD.state}=4": "mdi:car-engine-start",
                        "{mqtt.0.nuki.37BBFFDD.state}=253": "mdi:error",
                        "{mqtt.0.nuki.37BBFFDD.state}=254": "mdi:error"
                      }
                      

                      Sonst so.

                      {
                        "'{mqtt.0.nuki.37BBFFDD.state}'='0'": "mdi:tool-time",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='1'": "mdi:door-closed-lock",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='2'": "mdi:car-engine-start",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='3'": "mdi:door",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='4'": "mdi:car-engine-start",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='253'": "mdi:error",
                        "'{mqtt.0.nuki.37BBFFDD.state}'='254'": "mdi:error"
                      }
                      
                      B 1 Reply Last reply Reply Quote 1
                      • B
                        BigChris @MCU last edited by

                        @mcu
                        Ja - super!
                        Vielen Dank für Deine unermüdlichen Einsatz!

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.1k
                        Online

                        32.2k
                        Users

                        80.9k
                        Topics

                        1.3m
                        Posts

                        3
                        17
                        151
                        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