Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response when turning off speaker #59

Open
mqchen opened this issue Sep 19, 2018 · 7 comments
Open

No response when turning off speaker #59

mqchen opened this issue Sep 19, 2018 · 7 comments

Comments

@mqchen
Copy link

mqchen commented Sep 19, 2018

Hi,
I have 2 Sonos One speakers and I can only control one of them with Homebridge. The other shows the status but I can't control it.

The Living Room Speaker is controllable and fine, but the Dining Room Speaker only shows playback status and can't be controlled.

Anyone experience this as well? Any ideas on how to fix it?

config.js

   {
      "accessory": "Sonos",
      "name": "Living Room Speaker",
      "room": "Living Room",
      "mute": false
    },
    {
      "accessory": "Sonos",
      "name": "Dining Room Speaker",
      "room": "Dining Room",
      "mute": false
    }

The log output when I try to turn both off:

[9/19/2018, 9:13:09 PM] [Living Room Speakers] Setting power to true
[9/19/2018, 9:13:09 PM] [Living Room Speakers] Playback attempt with success: true
[9/19/2018, 9:13:10 PM] [Dining Room Speakers] Setting power to false
[9/19/2018, 9:13:10 PM] [Dining Room Speakers] Pause attempt with success: undefined

(From the logfile it seems that Homebridge for some reason tries to pause Living Room Speaker instead of stopping playback.

Home app:
img_2148
img_2149

@Moskvitch
Copy link

Same problem here, only worse: I also have two Sonos Connect's both became unresponsive about yesterday

@Moskvitch
Copy link

Ha! Just "fixed" it - there was simply NOTHING queued to play - open your Sonos app and make sure something is actually on the playlist.
As for this:
(From the logfile it seems that Homebridge for some reason tries to pause Living Room Speaker instead of stopping playback.)
that is the result of your "mute": false setting - if set to true - it will mute (continuing playback in the background, only making your playlist run out of songs sooner :)
I just set mine to an Apple station, so there would always be something to play (but not this one time :) )

@marcel-burkhalter
Copy link

I have the same issue. Using latest versions of homebridge and homebridge-sonos.
Fix from @Open-Elec-RU didn't help for me. Anyone an idea?

@Moskvitch
Copy link

Another thing I noiced - if you group two Sonos players, the “secondary”, the one you added when the primary was playing something will display the question mark and be unusable in Homekit. You can still control playback of the group using the primary Sonos switch in Homekit.

@dilbert1982
Copy link

having the same issue, even when something is playing on that speaker it is not possible to pause the music...

@cgilis
Copy link

cgilis commented Mar 24, 2020

Another thing I noiced - if you group two Sonos players, the “secondary”, the one you added when the primary was playing something will display the question mark and be unusable in Homekit. You can still control playback of the group using the primary Sonos switch in Homekit.

Same here.. @nfarina any ideas?

@JohnathonMohr
Copy link
Collaborator

I have a pull request open (just published it tonight) to fix the issue of not being able to control the "secondary" player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants