Skip to content

create group with one out of three currently playing speakers #256

Answered by hklages
bednim asked this question in Q&A
Discussion options

You must be logged in to vote

"most recent reported playing speaker" is a bit tricky.

Idea:

With sonos-event you can subscribe to many events - maybe playbackstate - with an intelligent filter (wait 5 seconds, ...). Playbackstate often changes for instance when switching Radio stations, playing a new track, ....

Then you can store the name of the player in a flow variable, overwriting the value before.

Then you use that value to group your player.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bednim
Comment options

@bednim
Comment options

Answer selected by bednim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants