Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Visualisierung
  4. [gelöst] Jarvis DropDownAction

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    864

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

[gelöst] Jarvis DropDownAction

Geplant Angeheftet Gesperrt Verschoben Visualisierung
vis
16 Beiträge 4 Kommentatoren 4.1k Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S silbroker

    @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 Online
    M Online
    MCU
    schrieb am zuletzt editiert von
    #4

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

    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

    S 1 Antwort Letzte Antwort
    1
    • S silbroker

      @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

      ZefauZ Offline
      ZefauZ Offline
      Zefau
      schrieb am zuletzt editiert von
      #5

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

      Meine Adapter: https://zefau.github.io/iobroker/

      1 Antwort Letzte Antwort
      1
      • M MCU

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

        S Offline
        S Offline
        silbroker
        schrieb am zuletzt editiert von
        #6

        @MCU @Zefau

        Danke

        Klappt jetzt wie gewünscht.

        Gruss SilBroker

        M P 2 Antworten Letzte Antwort
        0
        • S silbroker

          @MCU @Zefau

          Danke

          Klappt jetzt wie gewünscht.

          Gruss SilBroker

          M Online
          M Online
          MCU
          schrieb am zuletzt editiert von
          #7

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

          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

          1 Antwort Letzte Antwort
          0
          • S silbroker

            @MCU @Zefau

            Danke

            Klappt jetzt wie gewünscht.

            Gruss SilBroker

            P Offline
            P Offline
            pix
            schrieb am zuletzt editiert von
            #8

            @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

            ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

            P 1 Antwort Letzte Antwort
            1
            • P pix

              @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 Offline
              P Offline
              pix
              schrieb am zuletzt editiert von
              #9

              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

              ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

              ZefauZ S 3 Antworten Letzte Antwort
              1
              • P pix

                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

                ZefauZ Offline
                ZefauZ Offline
                Zefau
                schrieb am zuletzt editiert von
                #10

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

                Meine Adapter: https://zefau.github.io/iobroker/

                1 Antwort Letzte Antwort
                0
                • P pix

                  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

                  S Offline
                  S Offline
                  silbroker
                  schrieb am zuletzt editiert von
                  #11

                  @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 Antwort Letzte Antwort
                  0
                  • P pix

                    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

                    S Offline
                    S Offline
                    silbroker
                    schrieb am zuletzt editiert von
                    #12

                    @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

                    ZefauZ 1 Antwort Letzte Antwort
                    0
                    • S silbroker

                      @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

                      ZefauZ Offline
                      ZefauZ Offline
                      Zefau
                      schrieb am zuletzt editiert von
                      #13

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

                      Meine Adapter: https://zefau.github.io/iobroker/

                      S 1 Antwort Letzte Antwort
                      1
                      • ZefauZ Zefau

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

                        S Offline
                        S Offline
                        silbroker
                        schrieb am zuletzt editiert von silbroker
                        #14

                        @Zefau

                        Wenn kommt diese Definitiv?

                        Gruss

                        SilBroker

                        ZefauZ 1 Antwort Letzte Antwort
                        0
                        • S silbroker

                          @Zefau

                          Wenn kommt diese Definitiv?

                          Gruss

                          SilBroker

                          ZefauZ Offline
                          ZefauZ Offline
                          Zefau
                          schrieb am zuletzt editiert von
                          #15

                          @silbroker Ende November

                          Meine Adapter: https://zefau.github.io/iobroker/

                          S 1 Antwort Letzte Antwort
                          1
                          • ZefauZ Zefau

                            @silbroker Ende November

                            S Offline
                            S Offline
                            silbroker
                            schrieb am zuletzt editiert von
                            #16

                            @Zefau

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

                            Gruss SilBroker

                            1 Antwort Letzte Antwort
                            0
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            804

                            Online

                            32.6k

                            Benutzer

                            82.1k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe