Navigation

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

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    [gelöst] Jarvis DropDownAction

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

      @MCU

      Version 1.0.9

      Hier:
      Jarvis.PNG

      Die Idee wäre mit der Auswahl eine Playlist aus der Favoriten Liste aus zu wählen.
      Diese kann dann Abgespielt werden. Der Part im IoBroker würde Klappen. Nur die Auswahl liste fehlt mir.

      Wenn du noch weitere Infos brauchst melden.

      Gruss SilBroker

      M Zefau 2 Replies Last reply Reply Quote 0
      • M
        MCU @silbroker last edited by

        @silbroker https://forum.iobroker.net/topic/37661/showcase-jarvis-just-another-remarkable-vis/55

        S 1 Reply Last reply Reply Quote 1
        • Zefau
          Zefau @silbroker last edited by

          @silbroker https://github.com/Zefau/ioBroker.jarvis/wiki/de-Devices#json-eingabefelder

          1 Reply Last reply Reply Quote 1
          • S
            silbroker @MCU last edited by

            @MCU @Zefau

            Danke

            Klappt jetzt wie gewünscht.

            Gruss SilBroker

            M P 2 Replies Last reply Reply Quote 0
            • M
              MCU @silbroker last edited by

              @silbroker Dann bitte ein [gelöst] am Anfang der Überschrift vom 1. Post. Danke.

              1 Reply Last reply Reply Quote 0
              • P
                pix @silbroker last edited by

                @silbroker Hallo,

                Frage: wie hast du das gemacht? Hast du die Favoritenliste in den Datenpunkt-Eigenschaften etwa so geschrieben?

                {
                "B 5 aktuell":"B 5 aktuell",
                "Ed Sheeran":"Ed Sheeran"
                }
                

                Tipp: DU kannst den Sonos-Datenpunkt STATE_SIMPLE (boolean) verwenden, um mit einem Switch Action Element Pause und Play zu schalten.

                Datenpunkt state_simple
                Anzeige

                Gruß
                Pix

                P 1 Reply Last reply Reply Quote 1
                • P
                  pix @pix last edited by

                  Habs mittlerweile selbst hinbekommen. Hatte die Liste in das falsche Feld eingetragen. Statt Anzeigenvariable in Datenpunkt Eigenschaften.

                  Hier mal das Gerät "Sonos"


                  Ikon- und Farbwechsel bei Änderung der Lautstärke, Änderung der Zustände von Mute und Play/Pause. Der letzte Punkt ist eine Szene aus dem Szenen-Adapter, die per ActionButton (mit Icon "Play") gestartet wird.

                  Screenshot Sonos

                  "c5242204-6ea7-48e6-aadd-838db6648ca1": {
                        "id": "c5242204-6ea7-48e6-aadd-838db6648ca1",
                        "function": "speaker",
                        "states": {
                           "state_simple": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.state_simple"
                              },
                              "action": "sonos.0.root.10_0_10_34.state_simple",
                              "icon": {
                                 "true": "play",
                                 "false": "pause"
                              },
                              "label": "Pause / Play",
                              "actionElement": "SwitchAction"
                           },
                           "play": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.play"
                              },
                              "action": "sonos.0.root.10_0_10_34.play",
                              "icon": "play",
                              "label": "Play",
                              "actionElement": "IconButtonAction",
                              "IconButtonActionConfig": {
                                 "showState": false
                              },
                              "LastChangeBodyConfig": {
                                 "time": "ts"
                              },
                              "hide": true
                           },
                           "pause": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.pause"
                              },
                              "action": "sonos.0.root.10_0_10_34.pause",
                              "actionElement": "IconButtonAction",
                              "label": "Pause",
                              "icon": "pause",
                              "LastChangeBodyConfig": {
                                 "time": "ts"
                              },
                              "hide": true
                           },
                           "Mute": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.muted"
                              },
                              "action": "sonos.0.root.10_0_10_34.muted",
                              "actionElement": "SwitchAction",
                              "label": "Mute",
                              "icon": {
                                 "true": "volume-mute",
                                 "false": "volume-mute"
                              },
                              "display": "",
                              "LastChangeBodyConfig": {
                                 "time": "lc"
                              },
                              "iconStyle": {
                                 "true": {
                                    "color": "orange",
                                    "font-weight": "bold"
                                 }
                              }
                           },
                           "volume": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.volume"
                              },
                              "action": "sonos.0.root.10_0_10_34.volume",
                              "label": "Lautstärke",
                              "properties": {
                                 "min": "0",
                                 "max": "25"
                              },
                              "bodyElement": "LevelBody",
                              "icon": {
                                 "0": "volume-mute",
                                 "<5": "volume-low",
                                 "<=20": "volume-medium",
                                 ">20": "volume-high",
                                 ">30": "volume-vibrate"
                              },
                              "iconStyle": {
                                 "0": {
                                    "color": "yellow"
                                 },
                                 ">13": {
                                    "color": "orange"
                                 },
                                 ">18": {
                                    "color": "red"
                                 }
                              }
                           },
                           "artist": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.current_artist"
                              },
                              "label": "Derzeitiger Künstler",
                              "icon": "format-list-bulleted-square"
                           },
                           "sender": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.current_station"
                              },
                              "icon": "format-list-bulleted-square",
                              "label": "Derzeitiger Sender",
                              "hide": true
                           },
                           "titel": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.current_title"
                              },
                              "label": "Derzeitiger Titel",
                              "iconStyle": "",
                              "icon": "format-list-bulleted-square",
                              "LastChangeBodyConfig": {
                                 "time": "lc"
                              }
                           },
                           "favoriten": {
                              "state": {
                                 "node": "sonos.0.root.10_0_10_34.favorites_set"
                              },
                              "action": "sonos.0.root.10_0_10_34.favorites_set",
                              "actionElement": "DropdownAction",
                              "icon": "format-list-bulleted-square",
                              "label": "Favoriten",
                              "properties": "",
                              "display": {
                                 "1LIVE - Das junge Radio des WDR.": "1LIVE",
                                 "Absolut Radio": "Absolut Radio",
                                 "B5 aktuell": "B5 aktuell",
                                 "Badewanne CCH": "Badewanne CCH",
                                 "Biberlied (Zähneputzen)": "Zähneputzen CCH",
                                 "Blue Note 101": "Blue Note 101",
                                 "Classic Rock": "Classic Rock",
                                 "Deutschlandfunk": "Deutschlandfunk",
                                 "Deutschlandfunk Nova": "Deutschlandfunk Nova",
                                 "Deutschlandfunk Kultur": "Deutschlandradio Kultur",
                                 "Ed Sheeran": "Ed Sheeran",
                                 "ENERGY München": "ENERGY München",
                                 "MegaStarFM": "MegaStarFM",
                                 "N-JOY 94.2 (Top 40)": "N-JOY"
                              }
                           },
                           "b5_an": {
                              "state": {
                                 "node": "scene.0.sonos_kueche_radio"
                              },
                              "label": "B5 Aktuell",
                              "action": "scene.0.sonos_kueche_radio",
                              "actionElement": "IconButtonAction",
                              "icon": {
                                 "default": "play",
                                 "true": "volume-high"
                              },
                              "LastChangeBodyConfig": {
                                 "time": "ts"
                              },
                              "IconButtonActionConfig": {
                                 "showState": false,
                                 "icon": "play"
                              }
                           }
                        },
                        "options": {},
                        "attributes": {
                           "_created": 1606132479954,
                           "_updated": 1606224476113
                        },
                        "name": "Sonos Küche",
                        "icon": "music-circle"
                     },
                  

                  Gruß
                  Pix

                  Zefau S 3 Replies Last reply Reply Quote 1
                  • Zefau
                    Zefau @pix last edited by

                    @pix Genau, siehe auch https://github.com/Zefau/ioBroker.jarvis/wiki/de-Devices#datenpunkt-eigenschaften

                    1 Reply Last reply Reply Quote 0
                    • S
                      silbroker @pix last edited by

                      @pix

                      Sorry habe ich erst jetzt gesehen. Ja genau. Und danke für den Tipp mit dem SwitchAction werde ich gleich ausprobieren.

                      Gruss SilBroker

                      1 Reply Last reply Reply Quote 0
                      • S
                        silbroker @pix last edited by

                        @pix

                        Wiso habe ich weniger Konfigurationsmöglichkeiten als du bei den Geräten?

                        Datenpunkt (Anzeige)
                        Datenpunkt Stil (JSON Format)
                        Anzeigevariante (JSON Format)
                        Label
                        Einheit
                        Datenpunkt (Trigger)
                        Icon (JSON Format)
                        Icon Stil (JSON Format)

                        Gruss

                        SilBroker

                        Zefau 1 Reply Last reply Reply Quote 0
                        • Zefau
                          Zefau @silbroker last edited by

                          @silbroker du bist auf Version 1.0.x und er ist auf 1.1.x-beta.xx

                          S 1 Reply Last reply Reply Quote 1
                          • S
                            silbroker @Zefau last edited by silbroker

                            @Zefau

                            Wenn kommt diese Definitiv?

                            Gruss

                            SilBroker

                            Zefau 1 Reply Last reply Reply Quote 0
                            • Zefau
                              Zefau @silbroker last edited by

                              @silbroker Ende November

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                silbroker @Zefau last edited by

                                @Zefau

                                Danke für deine Arbeit. Dann warte ich gespannt darauf.

                                Gruss SilBroker

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                464
                                Online

                                32.0k
                                Users

                                80.5k
                                Topics

                                1.3m
                                Posts

                                vis
                                4
                                16
                                3648
                                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