Giter Club home page Giter Club logo

Comments (5)

nfarina avatar nfarina commented on June 8, 2024

What Sonos devices do you have exactly? Right now the code restricts the type of device to "3" which is something I sort of guessed. Could you try adding the zoneType to the log statement in Sonos.js:18?

from homebridge.

maxandersen avatar maxandersen commented on June 8, 2024

Sonos 1, 5 and connect. No 3's ;)

// 1 = Connect
// 5 = Play:5
// 9 = Play:1
// 11 = Bridge2/Boost

from homebridge.

maxandersen avatar maxandersen commented on June 8, 2024

I submitted a PR to make it detect them - but when I use "speakers on" or "speakers off" the event are received and executed but nothing happens.

from homebridge.

maxandersen avatar maxandersen commented on June 8, 2024

here is the output I get, but nothing seem to change:

{ characteristics: [ { aid: 1, iid: 9, ev: true } ] }
Enable Event: true
{ characteristics: [ { aid: 1, iid: 9, value: true } ] }
[Speakers] Playback attempt with success: true
[Speakers] Set volume to 25
{ characteristics: [ { aid: 1, iid: 9, value: false } ] }
[Speakers] Stop attempt with success: true
{ characteristics: [ { aid: 1, iid: 9, value: true } ] }
[Speakers] Playback attempt with success: true
[Speakers] Set volume to 25
{ characteristics: [ { aid: 1, iid: 9, value: false } ] }

from homebridge.

nfarina avatar nfarina commented on June 8, 2024

Closing this as it should be fixed by the new Sonos platform - if you are still having problems please reopen!

from homebridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.