Posts: 92
Threads: 16
Joined: Jan 2020
Reputation:
2
Hi.
I want to make a button in visu that triggers a specific zone to be included in the playing source.
The exact same function that you get if you hold down the PLAY button on a sonos speaker.
Is this possible to make from a groupadress?
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
02.08.2020, 20:28
(This post was last modified: 02.08.2020, 20:31 by Erwin van der Zwart.)
Hi,
Should be possible, we can add a player to a coordinator, so we could check playing state and then add it.
But i wonder what the system does when you have 2 Sonos playing from a different source, where will the 3th player be added when press and hold the play button? Last activated playing source?
BR,
Erwin
Posts: 92
Threads: 16
Joined: Jan 2020
Reputation:
2
I think in the Sonos system it steps between the different sources when you keep holding the play button.
How and where do I set this up?
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
Hi,
Right now the script discovers devices before using them.
You could make it a bit faster by doing the discovery separately and store the results in storage and use it in this script, downside is that if a IP adress changes then you need to run the discovery again. You could also do a discovery scheduled every hour and when something changes (however this might be rare) it will be discovered within 1 hour.
BR,
Erwin