Comments (5)
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.
Works out of the box as described :-)
Many thanks.
But I have no idea how to create a PR :-(
from sonos2mqtt.
π This issue has been resolved in version 3.1.1-beta.7 π
The release is available on:
Your semantic-release bot π¦π
from sonos2mqtt.
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.
π This issue has been resolved in version 3.1.2 π
The release is available on:
Your semantic-release bot π¦π
from sonos2mqtt.
Related Issues (20)
- No status changes HOT 3
- Problem with docker image HOT 6
- Sonos Favorites Question HOT 9
- [Feature] Notification before TTS HOT 5
- [Feature] Support for audio formats on HDMI input HOT 4
- Don't set position to `NOT_IMPLEMENTED` HOT 1
- Not all Sonos players are available in MQTT HOT 2
- Configuration in Synology Docker Container HOT 2
- Docker container is very long to stop HOT 2
- bug: SONOS2MQTT_FRIENDLYNAMES env var doesn't work HOT 3
- Randomize AddToQueue HOT 1
- Frage: Ist es mΓΆglich den amazon:effect zu nutzen? HOT 2
- Support for certificates HOT 1
- favlist Readig empty after getting Sonos Favorites HOT 1
- Add loudness state to player state HOT 1
- Sonos2Mqtt Unraid validate distrinct = true HOT 4
- sonos2mqtt stops after reboot HOT 2
- notify-function does not work properly
- How to start playing a Sonos Radio, might be specific issue with "VRT Radio 1" HOT 2
- Group volume and balance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonos2mqtt.