Create multiple groups with same speakers

Beantwortet

Kommentare

130 Kommentare

  • Bodi

    So what was the whole hype around BluOS 4.0 then? 4.0 was supposed to introduce a new framework which would allow for faster development and get rid of legacy things like this? Weird.

    0
  • David McTague

    HI @Tony

    Fixed groups are different - these are permanently intended groups such as Stereo Pairs or home Theatre Setups and not designed to be in multiple groups at once as they are acting as a single Player; https://support.bluos.net/hc/en-us/articles/360000220107. Once placed in these configurations, they are not designed to be flipped around and moved but designed to act as a single functional virtual unit.

    I understand the thinking behind this. 

    Although not designed to do this, it is possible. If the user can do it through the app, then that series of inputs can be replicated with a single button (you can see my previous comment and apple shortcut as proof of this).

    You can also see a short video of it working here

    I appreciate your recent detailed response, but would love more info on why the hardware or firmware can't do this?

    0
  • Ben Bell

    After reading this thread I assume my +1 won't matter, but

    +1

    Needed feature

    0
  • Ischa Vieten

    @David McTague, it looks like you've build a nice workaround to quickly switch between different groups! Could you maybe explain a bit more in detail how we can customize this, so it works for other setups as well? Thanks in advance

    0
  • Yannick

    +1 as many before!

    Got my second bluesound player just now, and it's only now that I find out about this big caveat. 'Working on it' since 2020 really makes me think that it should be a far in progress feature.

    0
  • David McTague

    Some more info on working around this. It is achievable with an API call. I did it with Apple Shortcuts but you can also test the API calls by pasting them in your browser address bar (with the appropriate variables filled in).

    I did this for a customer who has a Pulse Soundbar for front Channel and a Node for the surround Channel. He didn't want the Surround Channel playing when he was listening to stereo music.

    Here is the API call to set the Pulse Soundbar and the node to a home theatre group:

     

    http://{FRONT IP}:11000/AddSlave?channelMode=front&group={NAME FOR GROUP}&ports=11000,11000&slaveChannelMode=side&slaves={REAR IP}&distance={DISTANCE TO FRONT SPEAKER}&slaveDistance={DISTANCE TO REAR SPEAKERS}

     

    {FRONT IP} - IP address of front player

    {NAME FOR GROUP} - What you want the home theatre group called

    {REAR IP} - IP address of rear player (in my case the node)

    {DISTANCE TO...} - distance in meters to speakers

     

    My shortcut also the ran a couple of API calls to set the initial volume (avoid peoples ears getting blasted).

     

    http://{FRONT IP}:11000/Volume?level={FRONT SPEAKER VOLUME}&tell_slaves=0

     

    http://{FRONT IP}:11000/SlaveVolume?slave={REAR IP}&port=11000&db={REAR SPEAKER VOLUME}

     

    *a note for these. Front speaker Volume is a scale of I think 0 to 30? (It's been a while, I hade a value of 10 there). The rear speaker volume is in DB (I used a value of -2).

     

    The API call bellow ungroups the players (in my case the Node from the Pulse Soundbar):

     

    http://{FRONT IP}:11000/RemoveSlave?slaves={REAR IP}&ports=11000

     

    Would be great if I didn't have to do it this way and BluOS/Bluesound could integrate this (I understand this is not super easy from a user interface standpoint).

    0
  • Ischa Vieten

    @David McTague, thanks for the explanation! I want to give it a try, but how does this work if you have more than just 2 speakers? I have a NODE (connected to 2 passieve speakers) and 3 PULSE M speakers set up in the living room and kitchen. Also 2 of these PULSE M’s are setup to work as a stereo pair.

    I don’t need the stereo pair when watching a movie, and the volume on the other PULSE M can be lowered. When listing to music, all speakers should be actived.

    Hope you can give some insights on how to fix this with multiple IP’s. Thanks in advance.

    0
  • David McTague

    @Ischa Vieten. I unfortunately no longer have a test set up at work.
    But I may be able to help point you in the right direction.

     

    https://www.bluesound.com/zz/downloads

    The bottom of this page has a link to the api documentation you can download.

    It's not complete but helps give a good insight to how the player grouping is done.

     

    I'm not sure how you go about grouping a stereo pair. But I think one player (IP address) of the stereo pair will be the master, and you would use that IP address to group it with other players. (I woudn't make the player from the stereo pair the master of the multi-player group). But I've never tried this and not sure if it works.

    To make a stereo pair with the api call would be something like this:

     

    http://{LEFT IP}:11000/AddSlave?channelMode=left&group={NAME FOR GROUP}&ports=11000,11000&slaveChannelMode=right&slaves={RIGHT IP}

     

    To make a normal multi-player group:

     

    http://{MASTER IP}:11000/AddSlave?slaves={SLAVE1 IP},{SLAVE2 IP}&ports=11000,11000 

     

    Removing groups is still the same as previous post.

     

    I found the Apple shortcuts app helpful as you can run multiple api calls in succession from one button press. But testing is easier in a browser calling from the address bar.

    It is also possible using the browser inspector to see the calls BluOS itself makes when changing settings or making groups. This is starting to get to the edge of my skill set but it is possible. Can be helpful for finding things that aren't in the api documentation.

     

     

    0
  • Xavier
    I spent quite a while searching online for a way to set up a Home Theatre Group using the BluOS API.
     
    My setup uses a Power Node connected to the TV, with two Pulse M speakers acting as the rear channels.
     
    I checked the official API documentation from https://www.bluesound.com/zz/downloads, a 64-page document, and found the following line:
     
    BluOS also supports fixed grouping, which is out of scope for this document.
     
    So, the official API documentation explicitly says it will not cover the API. Great.
     
    Next, I turned to GitHub, hoping someone else had figured it out. I came across this repository
     
    It mentions:
    Supports grouping players in different modes:
    • Multi-player group
    • Stereo pair
    • Home theater group
    But in the actual code, it says:
    elseif ($GroupType -eq 'HomeTheater') {
    throw "HomeTheater groups not supported yet"
    }
     
    So clearly, they ran into the same problem: the Bluesound API "documentation".
     
    At that point, I decided to capture what the BluOS app was actually doing. Using a debug proxy tool, Fiddler , I was able to see the real API calls the app made when creating a fixed group.
     
    And finally, that revealed the actual URL parameters for creating a Home Cinema Group.
     
    Here you go, Internet:
     
    Create a Home Theatre Group using the API:
    http://{IP-NODE}:11000/AddSlave?channelMode=front&distance=4&group=Cinema&ports=11000%2C11000&slaveChannelMode=side_left%2Cside_right&slaveDistance=1.6%2C1.6&slaves={IP-PULSE-M-LEFT}%2{IP-PULSE-M-RIGHT}
    • "distance=4" is the distance between your seating position and the speakers connected to your Power Node. In my case, 4 meters.
    • "slaveDistance=1.6%2C1.6" is the distance between your seating position and the two rear speakers. In my case, 1.6 meters for both.
    • "%2C" represents an escaped comma (","). When I tried using normal commas, the command failed. Replacing them with the escaped version made it work.
    Remove Group using the API:
    http://{IP-NODE}:11000/RemoveSlave?slaves={IP-PULSE-M-LEFT}{IP-PULSE-M-RIGHT}&ports=11000,11000
    Interestingly, this command works fine with regular commas.
     
    Create a Multi-Player Group using the API:
    http://{IP-NODE}:11000/AddSlave?channelMode=default&group=Musik&ports=11000%2C11000&slaveChannelMode=default%2Cdefault&slaves={IP-PULSE-M-LEFT}%2C{IP-PULSE-M-RIGHT}
    Again, regular commas will not work here.
     
     
    Now, you can set up a Siri Shortcut to switch between the two groups. Make sure to always remove any existing group first before creating a new one.
     
    If only Bluesound allowed multiple groups with the same speakers, we wouldn't have to jump through all of these hoops.
     
    But I doubt that day will ever come.
    0
  • Lasse

    Anyone has an API call to be done for an pulsebar, 2 flexes and an sub to create the HT group ?

    Secondly, aren’t the presets reset everytime doing this, deletion, recreation of it ?

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.