API to leave a linkplay group... and stay that way

Greyspace

Member
Joined
Nov 25, 2022
Messages
16
A few people here were nice enough to post the http api command to join a WiiM to an existing linkplay group:
https://<ip>/httpapi.asp?command=ConnectMasterAp:JoinGroupMaster:eth<master ip>
I've been playing around with Scrypted (great stuff, btw, and someone on here could probably write an incredible WiiM plug-in for it) to give some additional control and automation to my WiiM setup with some really fun results. But I've got a funny little problem, where I try to get one of my Minis to leave a linkplay group. I thought logically, this will work:

https://<ip>/httpapi.asp?command=ConnectMasterAp:LeaveGroupMaster:eth<master ip> (tried with and w/o the last :eth<master ip>)

I tried from a browser, and it works and I got an [OK]. Woohoo...for about five seconds. Then that Mini is right back in the group! I can't seem to figure out how to get the darn Mini to leave the group and stay out. Anybody know the API for it? Is it a command that needs to be sent to the GroupMaster instead? Related, does anybody have a more thorough API doc than the one WiiM has posted? There's obviously more API commands than what's in that published set.
 
A few people here were nice enough to post the http api command to join a WiiM to an existing linkplay group:
https://<ip>/httpapi.asp?command=ConnectMasterAp:JoinGroupMaster:eth<master ip>
I've been playing around with Scrypted (great stuff, btw, and someone on here could probably write an incredible WiiM plug-in for it) to give some additional control and automation to my WiiM setup with some really fun results. But I've got a funny little problem, where I try to get one of my Minis to leave a linkplay group. I thought logically, this will work:

https://<ip>/httpapi.asp?command=ConnectMasterAp:LeaveGroupMaster:eth<master ip> (tried with and w/o the last :eth<master ip>)

I tried from a browser, and it works and I got an [OK]. Woohoo...for about five seconds. Then that Mini is right back in the group! I can't seem to figure out how to get the darn Mini to leave the group and stay out. Anybody know the API for it? Is it a command that needs to be sent to the GroupMaster instead? Related, does anybody have a more thorough API doc than the one WiiM has posted? There's obviously more API commands than what's in that published set.
Sorry that nobody replied. Counterintuitivly, the IP you call to join a linkplay group is that of the sub-unit, but the IP you call to leave is that of the master. You kicked out subdevices by addressing the masters IP. I'll post an example tomorrow if you are still interested
 
Thank you, dhess83,

From the Arylic API info, I was able to get this to work. As you stated, it's the master device that kicks out members of a MRG. Posting the command below just in case it's useful for someone in the future.

https://<masterIP>/httpapi.asp?command=multiroom:SlaveKickout:<slaveIP>
 
I forgot to reply with the example after posting. Sorry about that. In case it is useful, I also found that you can kick all subunits at once (possibly useful when having 3 or more units playing together)
https://<masterIP>/httpapi.asp?command=multiroom:Ungroup

Kicking out all the subunits at once was quicker for me than querying the individual subunits. While not everything in the Acrylic API works for Wiims, this was one nugget I found that did.
 
Back
Top