Git Product home page Git Product logo

Comments (5)

svrooij avatar svrooij commented on May 29, 2024 1

Two versions (S1 and S2) means two instances of this app. Since a lot depends on the speakers talking to each other there is no other way. The app starts by asking which speaker the current speaker knows. The JoinGroup command also uses that endpoint.

You're right that there will be some issues with the events. Take a look at the getting started and the sonos event listener configuration

My guess that if you use these settings, you'll get a working solution. You create 2 instances of this app with these environment variables:

Setting Instance 1 Instance 2
SONOS_LISTENER_HOST {ip-of-docker-host} {ip-of-docker-host}
SONOS_LISTENER_PORT 6239 or not set 6238
SONOS2MQTT_DEVICE {ip-of-v1-speaker} {ip-of-v2-speaker}
SONOS2MQTT_PREFIX sonos or not set sonosv2

You then expose port 6239 to instance 1 (as in the example docker compose) and port 6238 to instance 2.

This will have all the messages from/to the v1 system starting with topic sonos/ and sonosv2/ for the v2 speakers.

Would you care to send a PR with your findings? this file could be improved for this exact situation.

I also own some old play5 speakers, but I don't see the point in splitting my system so I cannot test this out.

from sonos2mqtt.

jmerifjKriwe avatar jmerifjKriwe commented on May 29, 2024

Works out of the box as described :-)
Many thanks.

But I have no idea how to create a PR :-(

from sonos2mqtt.

github-actions avatar github-actions commented on May 29, 2024

πŸŽ‰ This issue has been resolved in version 3.1.1-beta.7 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

from sonos2mqtt.

svrooij avatar svrooij commented on May 29, 2024

I've also setup building the documentation from the beta branch. Which can be found here https://sonos2mqtt-beta.svrooij.io/

Info about a splitted system can be found at this page https://sonos2mqtt-beta.svrooij.io/splitted-system.html

from sonos2mqtt.

github-actions avatar github-actions commented on May 29, 2024

πŸŽ‰ This issue has been resolved in version 3.1.2 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

from sonos2mqtt.

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.