Skip to content

How to ensure every player is online before creating groups. #301

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

You must be logged in to vote

Hi.

Best is to keep the SONOS player always on - that's why SONOS players do not have a build in on/off switch. :-) (except the Roam)

If you switch on or/off a SONOS player via power supply it takes several minutes until the new status is updated.

Option 0: Don't swich off - easiest to implement and 100% reliable

Option 1: You wait 15 minutes (or maybe also 10 minutes or even shorter). After that period the standard commands such as household.test.player or household.get.groups should provide the correct data (no garantee - it is in the hand of your network and SONOS).

Option 2: Install the sister package sonos-events and listen to the group event. Store the data in a flow or global varia…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jongliko
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jongliko
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants