Anbei sL und was ich so an Fragen habe

Folgende Befehle sind mal durchgeklickt aber nicht wirklich getestet. Entsprechen aber der Logok und machen so umgesetzt in meinen Augen Sinn:
joingroup Join another group by name name of other device
leavegroup Remove current device from the group it's in
mute 🔈 Mute the volume
next ⏩ Go to next song in queue
notify 🔔 Play a notification sound and restore playback see notifications
pause Pause playback
play ▶️ Start playback
playmode 🔀 Change the playmode, when using queue NORMAL, REPEAT_ALL, SHUFFLE or SHUFFLE_NOREPEAT.
previous ⏪ Go to previous song in queue
queue ➕ Add a song to the queue Track uri
seek 🕞 Seek in the current track Time like 0:02:45
selecttrack Select another track in the current queue number
setavtransporturi 🔡 Set the current playback uri, for advanced cases. playback or track uri (check out the trackUri topic to find the required value)
sleep 💤 Set a sleeptimer for x minutes number
speak 💬 Generate text-to-speech file and play as notification 🎉 see text-to-speech
stop 🚫 Stop Playback
switchtoline Switch to line-in (on supported devices)
switchtoqueue Switch to queue
switchtotv Switch to TV input (on supported devices, eg. playbar)
toggle Toggle between pause and play
unmute 🔇 Unmute the volume
volume 🔈 Set the volume to a value number (between 1 and 100)
volumedown ➖ Decrease volume with 5 or number optional number
volumeup ➕ Increase volume with 5 or number optional number
stop:noArg sonos/RINCON_7828CAF427B201400/control { "command": "stop" }
play:noArg sonos/RINCON_7828CAF427B201400/control { "command": "play" }
volume:slider,0,1,100 sonos/RINCON_7828CAF427B201400/control { "command": "volume", "input": $EVTPART1 }
leavegroup:noArg sonos/RINCON_7828CAF427B201400/control { "command": "leavegroup" }
mute:on,off { $EVTPART1 eq "on" ? 'sonos/RINCON_7828CAF427B201400/control { "command": "mute" }' : 'sonos/RINCON_7828CAF427B201400/control { "command": "unmute" }'}
next:noArg sonos/RINCON_7828CAF427B201400/control { "command": "next" }
pause:noArg sonos/RINCON_7828CAF427B201400/control { "command": "pause" }
playmode:NORMAL,REPEAT_ALL,SHUFFLE,SHUFFLE_NOREPEAT sonos/RINCON_7828CAF427B201400/control { "command": $EVTPART1 }
previous:noArg sonos/RINCON_7828CAF427B201400/control { "command": "previous" }
queue sonos/RINCON_7828CAF427B201400/control { "command": "queue", "input": $EVTPART1 }
seek sonos/RINCON_7828CAF427B201400/control { "command": "seek", "input": $EVTPART1 }
selecttrack sonos/RINCON_7828CAF427B201400/control { "command": "selecttrack", "input": $EVTPART1 }
setavtransporturi sonos/RINCON_7828CAF427B201400/control { "command": "setavtransporturi", "input": $EVTPART1 }
sleep sonos/RINCON_7828CAF427B201400/control { "command": "sleep", "input": $EVTPART1 }
switchtoline:noArg sonos/RINCON_7828CAF427B201400/control { "command": "switchtoline" }
switchtoqueue:noArg sonos/RINCON_7828CAF427B201400/control { "command": "switchtoqueue" }
switchtotv:noArg sonos/RINCON_7828CAF427B201400/control { "command": "switchtotv" }
toggle:noArg sonos/RINCON_7828CAF427B201400/control { "command": "toggle" }
Hier gibt es die Möglichkeit entweder nur den Befehl zu senden (+5/-5) oder man kann manuell eine Zahl eingeben. Bin mir nicht sicher wenn ich { "command": "volumedown" EVTPART1 } nutze ob dann EVTPART1 in dem Moment etwas enthalten könnte. Deswegen habe ich das gesplittet. Das wisst ihr aber sicher...
volumedown_5:noArg sonos/RINCON_7828CAF427B201400/control { "command": "volumedown" }
volumedown_5:noArg sonos/RINCON_7828CAF427B201400/control { "command": "volumedown" }
volumedown_manuel noArg sonos/RINCON_7828CAF427B201400/control { "command": "volumedown", "input": $EVTPART1 }
volumeup_5:noArg sonos/RINCON_7828CAF427B201400/control { "command": "volumeup" }
volumeup_manuel noArg sonos/RINCON_7828CAF427B201400/control { "command": "volumeup", "input": $EVTPART1 }
Hier brauche ich Denkanstöße...
joingroup:So hatte ich mir das gedacht. Geht natürlich nicht. Ideen? Dropdown Menü, REGEX für alle Sonos sonos/RINCON_7828CAF427B201400/control { "command": $EVTPART1 }
notify: Ist die Payload aber übersteigt meine Ideen erstmal ohne zu gucken. Hier bräuchte man ja Text Felder, Dropdown usw{
"command": "notify",
"input": {
"trackUri": "
https://cdn.smartersoft-group.com/various/pull-bell-short.mp3",
"onlyWhenPlaying": false,
"timeout": 10,
"volume": 8,
"delayMs": 700
}
}
speak Payload anbei. Befehl: sonos/RINCON_7828CAF427B201400/speak {
"text": "Someone at the front-door",
"endpoint": "
https://your.tts.endpoint/api/generate",
"lang": "en-US",
"gender": "male",
"volume": 50,
"onlyWhenPlaying": false,
"delayMs": 700
}
EDIT: BITTE BEACHTEN - Leichte Verbesserungen an sL List um 18:42 Uhr