Link Search Menu Expand Document

ConnectionManagerService

The ConnectionManagerService is available on these models: Sonos One (S13) S2 / Sonos Roam (S27) S2 / Sonos Play:5 (S6) S2 / Sonos Sub (Sub) S2 / Sonos Play:1 (S1) S1 / Sonos Play:5 (S5) S1 / Sonos Playbar (S9) S1.

  1. Available actions
    1. GetCurrentConnectionIDs
    2. GetCurrentConnectionInfo
    3. GetProtocolInfo
  2. Events
    1. Subscribe to events
    2. Event variables

Service data

name value
Control URL http://192.168.x.x:1400/MediaRenderer/ConnectionManager/Control
Event subscription URL http://192.168.x.x:1400/MediaRenderer/ConnectionManager/Event
Discovery url http://192.168.x.x:1400/xml/ConnectionManager1.xml
Service ID urn:upnp-org:serviceId:ConnectionManager
Service type urn:schemas-upnp-org:service:ConnectionManager:1

Sample request

POST /MediaRenderer/ConnectionManager/Control
Host: 192.168.x.x:1400
soapaction: "urn:schemas-upnp-org:service:ConnectionManager:1#{ActionName}"
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <s:Body>
    {ActionBodyHere}
  </s:Body>
</s:Envelope>

Available actions

GetCurrentConnectionIDs

Action body:

<u:GetCurrentConnectionIDs xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
</u:GetCurrentConnectionIDs>

No input arguments

Outputs:

parameter type description
ConnectionIDs string  

GetCurrentConnectionInfo

Action body:

<u:GetCurrentConnectionInfo xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
  <ConnectionID>i4</ConnectionID>
</u:GetCurrentConnectionInfo>

Inputs:

parameter type description
ConnectionID i4  

Outputs:

parameter type description
RcsID i4  
AVTransportID i4  
ProtocolInfo string  
PeerConnectionManager string  
PeerConnectionID i4  
Direction string Possible values: Input / Output
Status string Possible values: OK / ContentFormatMismatch / InsufficientBandwidth / UnreliableChannel / Unknown

GetProtocolInfo

Action body:

<u:GetProtocolInfo xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
</u:GetProtocolInfo>

No input arguments

Outputs:

parameter type description
Source string  
Sink string  

Events

The ConnectionManagerService has variables that might be emitted if you subscribe to events.

Subscribe to events

SUBSCRIBE /MediaRenderer/ConnectionManager/Event
Host: 192.168.x.x:1400
callback: <http://...>
NT: upnp:event
Timeout: Second-3600

Event variables

Variable Sends events* type possible values
CurrentConnectionIDs string  
SinkProtocolInfo string  
SourceProtocolInfo string  

If the variable has a in the Sends events column, the service discovery specifies this variable emits events. Other properties might be send as a part of LastChange


This file is automatically generated with @svrooij/sonos-docs, do not edit manually.

Device Software generation Software version Discovery date
Sonos One (S13) S2 63.2-90210 2021-07-21T23:31:19.273Z
Sonos Roam (S27) S2 63.2-90210 2021-07-21T23:31:31.207Z
Sonos Play:5 (S6) S2 63.2-90210 2021-07-21T23:31:45.324Z
Sonos Sub (Sub) S2 63.2-90210 2021-07-21T23:31:40.304Z
Sonos Play:1 (S1) S1 57.6-88280 2021-07-21T14:51:41.469Z
Sonos Play:5 (S5) S1 57.6-88280 2021-07-21T14:51:44.187Z
Sonos Playbar (S9) S1 57.6-88280 2021-07-21T14:51:47.050Z