stormboy / node-pioneer-avr

A node module for controlling a Pioneer receiver via IP protocol
9 stars 11 forks source link

query: how do you go about discovering that a pioneer AVR is on your network #1

Closed mrose17 closed 10 years ago

mrose17 commented 10 years ago

i.e., SSDP, or ...

mrose17 commented 10 years ago

my guess is that they are doing two things: first, ~nUPnP and second UPnP.

could you run

    % cd steward/steward
    % node ../scripts/list-ssdp.js

let it run for a while, kill it, and then include the output? thanks!

stormboy commented 10 years ago

Using my UPnP module at https://github.com/stormboy/node-upnp-controlpoint it discovers a device type of urn:schemas-upnp-org:device:MediaRenderer:1 representing the AV receiver. That allows discovery of the IP address. The port is static as far as I know.

I'll try what you've suggested.

stormboy commented 10 years ago
SSDP listening on http://0.0.0.0:56999
SSDP response
{ rinfo: { address: '192.168.0.9', family: 'IPv4', port: 3911, size: 226 } }
SSDP response
{ rinfo: { address: '192.168.0.2', family: 'IPv4', port: 3081, size: 289 } }
SSDP response
{ rinfo: 
   { address: '192.168.0.111',
     family: 'IPv4',
     port: 4014,
     size: 316 } }

{ address: '192.168.0.2', family: 'IPv4', port: 3081, size: 289 }
{ 'CACHE-CONTROL': 'max-age=1800',
  DATE: 'Wed, 30 Apr 2014 01:27:26 GMT',
  EXT: '',
  LOCATION: 'http://192.168.0.2:49152/rootdesc1.xml',
  SERVER: 'Linux/2.6.17, UPnP/1.0, Intel SDK for UPnP devices /1.2',
  ST: 'upnp:rootdevice',
  USN: 'uuid:Upnp-BasicDevice-1_0-00408C6F9B07::upnp:rootdevice' }
http://192.168.0.2:49152/rootdesc1.xml
{ 'content-length': '1069',
  'content-type': 'text/xml',
  date: 'Wed, 30 Apr 2014 01:27:26 GMT',
  'last-modified': 'Sun, 20 Apr 2014 10:12:07 GMT',
  server: 'Linux/2.6.17, UPnP/1.0, Intel SDK for UPnP devices /1.2',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:Basic:1',
        friendlyName: 'AXIS 211 - 00408C6F9B07',
        manufacturer: 'AXIS',
        manufacturerURL: 'http://www.axis.com',
        modelDescription: 'AXIS 211 Network Camera',
        modelName: 'AXIS 211',
        modelNumber: 211,
        modelURL: 'http://www.axis.com',
        serialNumber: '00408C6F9B07',
        UDN: 'uuid:Upnp-BasicDevice-1_0-00408C6F9B07',
        serviceList: 
         { service: 
            { serviceType: 'urn:axis-com:service:BasicService:1',
              serviceId: 'urn:axis-com:serviceId:BasicServiceId',
              controlURL: '/upnp/control/BasicServiceId',
              eventSubURL: '/upnp/event/BasicServiceId',
              SCPDURL: '/scpd_basic.xml' } },
        presentationURL: 'http://192.168.0.2:80/' },
     URLBase: 'http://192.168.0.2:49152/' } }

{ address: '192.168.0.111',
  family: 'IPv4',
  port: 4014,
  size: 316 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.111:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP80)',
  ST: 'uuid:RINCON_000E582197DE01400',
  USN: 'uuid:RINCON_000E582197DE01400',
  'X-RINCON-BOOTSEQ': '259',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.111:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP80)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.111 - Sonos ZP80',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP80',
        modelDescription: 'Sonos ZP80',
        modelName: 'Sonos ZP80',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.16.3-2',
        serialNum: '00-0E-58-21-97-DE:1',
        UDN: 'uuid:RINCON_000E582197DE01400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP80.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'r8: 16.0-7',
        roomName: 'Lounge',
        displayName: 'ZP80',
        zoneType: 1,
        feature1: 3211265,
        feature2: 24946,
        feature3: 196641,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.111 - Sonos ZP80 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP80',
                modelDescription: 'Sonos ZP80 Media Server',
                modelName: 'Sonos ZP80',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
                UDN: 'uuid:RINCON_000E582197DE01400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Lounge - Sonos ZP80 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP80',
                modelDescription: 'Sonos ZP80 Media Renderer',
                modelName: 'Sonos ZP80',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
                UDN: 'uuid:RINCON_000E582197DE01400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E582197DE01400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP80.png' } } } ] } } } }

{ address: '192.168.0.9', family: 'IPv4', port: 3911, size: 226 }
{ 'CACHE-CONTROL': 'max-age=1800',
  EXT: '',
  LOCATION: 'http://192.168.0.9:8080/description.xml',
  SERVER: 'KnOS/3.2 UPnP/1.0 DMP/3.5',
  ST: 'upnp:rootdevice',
  USN: 'uuid:5F9EC1B3-ED59-79BB-4530-00E036FB1554::upnp:rootdevice' }
http://192.168.0.9:8080/description.xml
{ 'content-type': 'text/xml;charset="utf-8"',
  'content-length': '3282' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     'xmlns:ms': ' urn:microsoft-com:wmc-1-0',
     'xmlns:pnpx': 'http://schemas.microsoft.com/windows/pnpx/2005/11',
     'xmlns:df': 'http://schemas.microsoft.com/windows/2008/09/devicefoundation',
     specVersion: { major: 1, minor: 0 },
     device: 
      { 'ms:X_MS_SupportsWMDRM': true,
        'av:X_ipRemoteReady': 
         { 'xmlns:av': 'http://www.pioneerelectronics.com/xmlns/av',
           '$t': 1 },
        'av:X_ipRemoteTcpPort': 
         { 'xmlns:av': 'http://www.pioneerelectronics.com/xmlns/av',
           '$t': 8102 },
        'dlna:X_DLNADOC': 
         { 'xmlns:dlna': 'urn:schemas-dlna-org:device-1-0',
           '$t': 'DMR-1.50' },
        'pnpx:X_compatibleId': 'MS_DigitalMediaDeviceClass_DMR_V001',
        'pnpx:X_deviceCategory': 'MediaDevices',
        'pnpx:X_hardwareId': 'VEN_0033&DEV_000C&REV_01',
        'df:X_deviceCategory': 'Multimedia.DMR',
        deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
        friendlyName: 'VSX-2021',
        manufacturer: 'PIONEER CORPORATION',
        manufacturerURL: 'http://www.pioneerelectronics.com',
        modelDescription: 'Digital Media Client',
        modelName: 'VSX-2021/SYXJ5',
        modelNumber: 'Digital Media Client',
        UDN: 'uuid:5F9EC1B3-ED59-79BB-4530-00E036FB1554',
        UPC: '123810928305556upc',
        iconList: 
         { icon: 
            [ { mimetype: 'image/jpeg',
                width: 48,
                height: 48,
                depth: 24,
                url: '/pioneer_icon_sm.jpg' },
              { mimetype: 'image/jpeg',
                width: 120,
                height: 120,
                depth: 24,
                url: '/pioneer_icon_lrg.jpg' },
              { mimetype: 'image/png',
                width: 48,
                height: 48,
                depth: 24,
                url: '/pioneer_icon_sm.png' },
              { mimetype: 'image/png',
                width: 120,
                height: 120,
                depth: 24,
                url: '/pioneer_icon_lrg.png' } ] },
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                SCPDURL: '/RenderingControl/desc.xml',
                controlURL: '/RenderingControl/ctrl',
                eventSubURL: '/RenderingControl/evt' },
              { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                SCPDURL: '/ConnectionManager/desc.xml',
                controlURL: '/ConnectionManager/ctrl',
                eventSubURL: '/ConnectionManager/evt' },
              { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                serviceId: 'urn:upnp-org:serviceId:AVTransport',
                SCPDURL: '/AVTransport/desc.xml',
                controlURL: '/AVTransport/ctrl',
                eventSubURL: '/AVTransport/evt' } ] },
        presentationURL: 'http://192.168.0.9/1000/pioneer_friendlyname.asp' } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.102',
     family: 'IPv4',
     port: 2823,
     size: 317 } }

{ address: '192.168.0.102',
  family: 'IPv4',
  port: 2823,
  size: 317 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.102:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  ST: 'uuid:RINCON_000E58100E4401400',
  USN: 'uuid:RINCON_000E58100E4401400',
  'X-RINCON-BOOTSEQ': '334',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.102:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.102 - Sonos ZP100',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP100',
        modelDescription: 'Sonos ZP100',
        modelName: 'Sonos ZP100',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.3.0-1',
        serialNum: '00-0E-58-10-0E-44:G',
        UDN: 'uuid:RINCON_000E58100E4401400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP100.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'm16: 1.0-12170   r8: 0.8-16',
        roomName: 'Kids Bedroom',
        displayName: 'ZP100',
        zoneType: 2,
        feature1: 83951617,
        feature2: 25010,
        feature3: 196657,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.102 - Sonos ZP100 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Server',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E58100E4401400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Kids Bedroom - Sonos ZP100 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Renderer',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E58100E4401400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58100E4401400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP100.png' } } } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.131',
     family: 'IPv4',
     port: 1829,
     size: 317 } }

{ address: '192.168.0.131',
  family: 'IPv4',
  port: 1829,
  size: 317 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.131:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  ST: 'uuid:RINCON_000E5813101E01400',
  USN: 'uuid:RINCON_000E5813101E01400',
  'X-RINCON-BOOTSEQ': '428',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.131:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.131 - Sonos ZP100',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP100',
        modelDescription: 'Sonos ZP100',
        modelName: 'Sonos ZP100',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.3.2-2',
        serialNum: '00-0E-58-13-10-1E:0',
        UDN: 'uuid:RINCON_000E5813101E01400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP100.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'm16: 1.0-12170   r8: 0.8-16',
        roomName: 'Upstairs',
        displayName: 'ZP100',
        zoneType: 2,
        feature1: 83951617,
        feature2: 25010,
        feature3: 196657,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.131 - Sonos ZP100 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Server',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E5813101E01400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Upstairs - Sonos ZP100 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Renderer',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E5813101E01400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E5813101E01400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP100.png' } } } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.106',
     family: 'IPv4',
     port: 2064,
     size: 316 } }

{ address: '192.168.0.106',
  family: 'IPv4',
  port: 2064,
  size: 316 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.106:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  ST: 'uuid:RINCON_000E581328E201400',
  USN: 'uuid:RINCON_000E581328E201400',
  'X-RINCON-BOOTSEQ': '86',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.106:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.106 - Sonos ZP100',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP100',
        modelDescription: 'Sonos ZP100',
        modelName: 'Sonos ZP100',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.3.2-2',
        serialNum: '00-0E-58-13-28-E2:G',
        UDN: 'uuid:RINCON_000E581328E201400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP100.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'm16: 1.0-12170   r8: 0.8-16',
        roomName: 'Garden',
        displayName: 'ZP100',
        zoneType: 2,
        feature1: 83951617,
        feature2: 25010,
        feature3: 196657,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.106 - Sonos ZP100 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Server',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E581328E201400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Garden - Sonos ZP100 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Renderer',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E581328E201400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E581328E201400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP100.png' } } } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.117',
     family: 'IPv4',
     port: 3972,
     size: 317 } }

{ address: '192.168.0.117',
  family: 'IPv4',
  port: 3972,
  size: 317 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.117:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (WD100)',
  ST: 'uuid:RINCON_000E5863169001400',
  USN: 'uuid:RINCON_000E5863169001400',
  'X-RINCON-BOOTSEQ': '147',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.117:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (WD100)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.117 - Sonos DOCK',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'WD100',
        modelDescription: 'Sonos DOCK',
        modelName: 'Sonos DOCK WD100',
        modelURL: 'http://www.sonos.com/store/products/DOCK',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.7.0.1-2',
        serialNum: '00-0E-58-63-16-90:D',
        UDN: 'uuid:RINCON_000E5863169001400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-WD100.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: {},
        roomName: 'DOCK',
        displayName: 'DOCK',
        zoneType: 6,
        feature1: 4,
        feature2: 41236,
        feature3: 196608,
        internalSpeakerSize: -1,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                serviceId: 'urn:upnp-org:serviceId:AVTransport',
                controlURL: '/AVTransport/Control',
                eventSubURL: '/AVTransport/Event',
                SCPDURL: '/xml/AVTransport1.xml' } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.105',
     family: 'IPv4',
     port: 2267,
     size: 317 } }
SSDP response
{ rinfo: 
   { address: '192.168.0.107',
     family: 'IPv4',
     port: 4604,
     size: 317 } }

{ address: '192.168.0.105',
  family: 'IPv4',
  port: 2267,
  size: 317 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.105:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  ST: 'uuid:RINCON_000E581045C401400',
  USN: 'uuid:RINCON_000E581045C401400',
  'X-RINCON-BOOTSEQ': '536',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.105:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP100)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.105 - Sonos ZP100',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP100',
        modelDescription: 'Sonos ZP100',
        modelName: 'Sonos ZP100',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.3.0-1',
        serialNum: '00-0E-58-10-45-C4:C',
        UDN: 'uuid:RINCON_000E581045C401400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP100.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'm16: 1.0-12170   r8: 0.8-16',
        roomName: 'Kitchen',
        displayName: 'ZP100',
        zoneType: 2,
        feature1: 83951617,
        feature2: 25010,
        feature3: 196657,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.105 - Sonos ZP100 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Server',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E581045C401400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Kitchen - Sonos ZP100 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP100',
                modelDescription: 'Sonos ZP100 Media Renderer',
                modelName: 'Sonos ZP100',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP100',
                UDN: 'uuid:RINCON_000E581045C401400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E581045C401400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP100.png' } } } ] } } } }

{ address: '192.168.0.107',
  family: 'IPv4',
  port: 4604,
  size: 317 }
{ 'CACHE-CONTROL': 'max-age = 1800',
  EXT: '',
  LOCATION: 'http://192.168.0.107:1400/xml/device_description.xml',
  SERVER: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP80)',
  ST: 'uuid:RINCON_000E5820ED1201400',
  USN: 'uuid:RINCON_000E5820ED1201400',
  'X-RINCON-BOOTSEQ': '1531',
  'X-RINCON-HOUSEHOLD': 'HHID_PiMUimjinYHzvyMs4yOtp5qX3bf' }
http://192.168.0.107:1400/xml/device_description.xml
{ 'content-type': 'text/xml',
  'transfer-encoding': 'chunked',
  server: 'Linux UPnP/1.0 Sonos/24.1-74200 (ZP80)',
  connection: 'close' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:ZonePlayer:1',
        friendlyName: '192.168.0.107 - Sonos ZP80',
        manufacturer: 'Sonos, Inc.',
        manufacturerURL: 'http://www.sonos.com',
        modelNumber: 'ZP80',
        modelDescription: 'Sonos ZP80',
        modelName: 'Sonos ZP80',
        modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
        softwareVersion: '24.1-74200',
        hardwareVersion: '1.1.16.3-2',
        serialNum: '00-0E-58-20-ED-12:1',
        UDN: 'uuid:RINCON_000E5820ED1201400',
        iconList: 
         { icon: 
            { id: 0,
              mimetype: 'image/png',
              width: 48,
              height: 48,
              depth: 24,
              url: '/img/icon-ZP80.png' } },
        minCompatibleVersion: '22.0-00000',
        displayVersion: 4.3,
        extraVersion: 'r8: 16.0-7',
        roomName: 'Office',
        displayName: 'ZP80',
        zoneType: 1,
        feature1: 3211265,
        feature2: 24946,
        feature3: 196641,
        internalSpeakerSize: -1,
        bassExtension: 0,
        satGainOffset: 0,
        ampOnTime: 425,
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AlarmClock:1',
                serviceId: 'urn:upnp-org:serviceId:AlarmClock',
                controlURL: '/AlarmClock/Control',
                eventSubURL: '/AlarmClock/Event',
                SCPDURL: '/xml/AlarmClock1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:MusicServices:1',
                serviceId: 'urn:upnp-org:serviceId:MusicServices',
                controlURL: '/MusicServices/Control',
                eventSubURL: '/MusicServices/Event',
                SCPDURL: '/xml/MusicServices1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:AudioIn:1',
                serviceId: 'urn:upnp-org:serviceId:AudioIn',
                controlURL: '/AudioIn/Control',
                eventSubURL: '/AudioIn/Event',
                SCPDURL: '/xml/AudioIn1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:DeviceProperties:1',
                serviceId: 'urn:upnp-org:serviceId:DeviceProperties',
                controlURL: '/DeviceProperties/Control',
                eventSubURL: '/DeviceProperties/Event',
                SCPDURL: '/xml/DeviceProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:SystemProperties:1',
                serviceId: 'urn:upnp-org:serviceId:SystemProperties',
                controlURL: '/SystemProperties/Control',
                eventSubURL: '/SystemProperties/Event',
                SCPDURL: '/xml/SystemProperties1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ZoneGroupTopology:1',
                serviceId: 'urn:upnp-org:serviceId:ZoneGroupTopology',
                controlURL: '/ZoneGroupTopology/Control',
                eventSubURL: '/ZoneGroupTopology/Event',
                SCPDURL: '/xml/ZoneGroupTopology1.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:GroupManagement:1',
                serviceId: 'urn:upnp-org:serviceId:GroupManagement',
                controlURL: '/GroupManagement/Control',
                eventSubURL: '/GroupManagement/Event',
                SCPDURL: '/xml/GroupManagement1.xml' },
              { serviceType: 'urn:schemas-tencent-com:service:QPlay:1',
                serviceId: 'urn:tencent-com:serviceId:QPlay',
                controlURL: '/QPlay/Control',
                eventSubURL: '/QPlay/Event',
                SCPDURL: '/xml/QPlay1.xml' } ] },
        deviceList: 
         { device: 
            [ { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
                friendlyName: '192.168.0.107 - Sonos ZP80 Media Server',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP80',
                modelDescription: 'Sonos ZP80 Media Server',
                modelName: 'Sonos ZP80',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
                UDN: 'uuid:RINCON_000E5820ED1201400_MS',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                        serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                        controlURL: '/MediaServer/ContentDirectory/Control',
                        eventSubURL: '/MediaServer/ContentDirectory/Event',
                        SCPDURL: '/xml/ContentDirectory1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaServer/ConnectionManager/Control',
                        eventSubURL: '/MediaServer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' } ] } },
              { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
                friendlyName: 'Office - Sonos ZP80 Media Renderer',
                manufacturer: 'Sonos, Inc.',
                manufacturerURL: 'http://www.sonos.com',
                modelNumber: 'ZP80',
                modelDescription: 'Sonos ZP80 Media Renderer',
                modelName: 'Sonos ZP80',
                modelURL: 'http://www.sonos.com/products/zoneplayers/ZP80',
                UDN: 'uuid:RINCON_000E5820ED1201400_MR',
                serviceList: 
                 { service: 
                    [ { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                        controlURL: '/MediaRenderer/RenderingControl/Control',
                        eventSubURL: '/MediaRenderer/RenderingControl/Event',
                        SCPDURL: '/xml/RenderingControl1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                        serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                        controlURL: '/MediaRenderer/ConnectionManager/Control',
                        eventSubURL: '/MediaRenderer/ConnectionManager/Event',
                        SCPDURL: '/xml/ConnectionManager1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                        serviceId: 'urn:upnp-org:serviceId:AVTransport',
                        controlURL: '/MediaRenderer/AVTransport/Control',
                        eventSubURL: '/MediaRenderer/AVTransport/Event',
                        SCPDURL: '/xml/AVTransport1.xml' },
                      { serviceType: 'urn:schemas-sonos-com:service:Queue:1',
                        serviceId: 'urn:sonos-com:serviceId:Queue',
                        controlURL: '/MediaRenderer/Queue/Control',
                        eventSubURL: '/MediaRenderer/Queue/Event',
                        SCPDURL: '/xml/Queue1.xml' },
                      { serviceType: 'urn:schemas-upnp-org:service:GroupRenderingControl:1',
                        serviceId: 'urn:upnp-org:serviceId:GroupRenderingControl',
                        controlURL: '/MediaRenderer/GroupRenderingControl/Control',
                        eventSubURL: '/MediaRenderer/GroupRenderingControl/Event',
                        SCPDURL: '/xml/GroupRenderingControl1.xml' } ] },
                'X_Rhapsody-Extension': 
                 { xmlns: 'http://www.real.com/rhapsody/xmlns/upnp-1-0',
                   deviceID: 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E5820ED1201400',
                   deviceCapabilities: { interactionPattern: { type: 'real-rhapsody-upnp-1-0' } } },
                'qq:X_QPlay_SoftwareCapability': { 'xmlns:qq': 'http://www.tencent.com', '$t': 'QPlay:2' },
                iconList: 
                 { icon: 
                    { mimetype: 'image/png',
                      width: 48,
                      height: 48,
                      depth: 24,
                      url: '/img/icon-ZP80.png' } } } ] } } } }
SSDP response
{ rinfo: { address: '192.168.0.27', family: 'IPv4', port: 1900, size: 237 } }

{ address: '192.168.0.27', family: 'IPv4', port: 1900, size: 237 }
{ 'CACHE-CONTROL': 'max-age=100',
  EXT: '',
  LOCATION: 'http://192.168.0.27:80/description.xml',
  SERVER: 'FreeRTOS/6.0.5, UPnP/1.0, IpBridge/0.1',
  ST: 'upnp:rootdevice',
  USN: 'uuid:2f402f80-da50-11e1-9b23-0017880a6fdc::upnp:rootdevice' }
http://192.168.0.27:80/description.xml
{ 'content-type': 'text/xml', connection: 'Keep-Alive' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     URLBase: 'http://192.168.0.27:80/',
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:Basic:1',
        friendlyName: 'Outhwaite Hue (192.168.0.27)',
        manufacturer: 'Royal Philips Electronics',
        manufacturerURL: 'http://www.philips.com',
        modelDescription: 'Philips hue Personal Wireless Lighting',
        modelName: 'Philips hue bridge 2012',
        modelNumber: 929000226503,
        modelURL: 'http://www.meethue.com',
        serialNumber: '0017880a6fdc',
        UDN: 'uuid:2f402f80-da50-11e1-9b23-0017880a6fdc',
        presentationURL: 'index.html',
        iconList: 
         { icon: 
            [ { mimetype: 'image/png',
                height: 48,
                width: 48,
                depth: 24,
                url: 'hue_logo_0.png' },
              { mimetype: 'image/png',
                height: 120,
                width: 120,
                depth: 24,
                url: 'hue_logo_3.png' } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.25',
     family: 'IPv4',
     port: 51636,
     size: 263 } }

{ address: '192.168.0.25',
  family: 'IPv4',
  port: 51636,
  size: 263 }
{ Location: 'http://192.168.0.25:1759/',
  'Cache-Control': 'max-age=1800',
  Server: 'UPnP/1.0 DLNADOC/1.50 Platinum/0.6.9.1',
  EXT: '',
  USN: 'uuid:f00da692-0ea2-4c71-a3e8-445d19756f46::upnp:rootdevice',
  ST: 'upnp:rootdevice',
  Date: 'Tue, 29 Apr 2014 15:27:27 GMT' }
http://192.168.0.25:1759/
{ date: 'Tue, 29 Apr 2014 15:27:27 GMT',
  'content-length': '2847',
  'content-type': 'text/xml; charset="utf-8"',
  server: 'UPnP/1.0 DLNADOC/1.50 Platinum/0.6.9.1' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     'xmlns:dlna': 'urn:schemas-dlna-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:MediaRenderer:1',
        friendlyName: 'XBMC (raspbmc)',
        manufacturer: 'Team XBMC',
        manufacturerURL: 'http://www.xbmc.org/',
        modelDescription: 'XBMC Media Center - Media Renderer',
        modelName: 'XBMC Media Center',
        modelURL: 'http://www.xbmc.org/',
        modelNumber: '12.2 Git:20131204-5a51fa8',
        serialNumber: {},
        UDN: 'uuid:f00da692-0ea2-4c71-a3e8-445d19756f46',
        presentationURL: 'http://192.168.0.25/',
        'dlna:X_DLNADOC': 
         { 'xmlns:dlna': 'urn:schemas-dlna-org:device-1-0',
           '$t': 'DMR-1.50' },
        iconList: 
         { icon: 
            [ { mimetype: 'image/png',
                width: 256,
                height: 256,
                depth: 24,
                url: '/icon-flat-256x256.png' },
              { mimetype: 'image/png',
                width: 120,
                height: 120,
                depth: 24,
                url: '/icon-flat-120x120.png' } ] },
        serviceList: 
         { service: 
            [ { serviceType: 'urn:schemas-upnp-org:service:AVTransport:1',
                serviceId: 'urn:upnp-org:serviceId:AVTransport',
                SCPDURL: '/AVTransport/f00da692-0ea2-4c71-a3e8-445d19756f46/scpd.xml',
                controlURL: '/AVTransport/f00da692-0ea2-4c71-a3e8-445d19756f46/control.xml',
                eventSubURL: '/AVTransport/f00da692-0ea2-4c71-a3e8-445d19756f46/event.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                SCPDURL: '/ConnectionManager/f00da692-0ea2-4c71-a3e8-445d19756f46/scpd.xml',
                controlURL: '/ConnectionManager/f00da692-0ea2-4c71-a3e8-445d19756f46/control.xml',
                eventSubURL: '/ConnectionManager/f00da692-0ea2-4c71-a3e8-445d19756f46/event.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:RenderingControl:1',
                serviceId: 'urn:upnp-org:serviceId:RenderingControl',
                SCPDURL: '/RenderingControl/f00da692-0ea2-4c71-a3e8-445d19756f46/scpd.xml',
                controlURL: '/RenderingControl/f00da692-0ea2-4c71-a3e8-445d19756f46/control.xml',
                eventSubURL: '/RenderingControl/f00da692-0ea2-4c71-a3e8-445d19756f46/event.xml' } ] } } } }
SSDP response
{ rinfo: 
   { address: '192.168.0.113',
     family: 'IPv4',
     port: 40948,
     size: 246 } }

{ address: '192.168.0.113',
  family: 'IPv4',
  port: 40948,
  size: 246 }
{ ST: 'upnp:rootdevice',
  USN: 'uuid:a7a6e12e-672a-4646-a9a2-00043065f294::upnp:rootdevice',
  LOCATION: 'http://192.168.0.113:80/UPnP/ServiceDescription/Basic.xml',
  SERVER: 'Linux/2.4 UPnP/1.0 Netgem/1.0',
  EXT: '',
  'CACHE-CONTROL': 'max-age=60' }
http://192.168.0.113:80/UPnP/ServiceDescription/Basic.xml
{ date: 'Tue, 29 Apr 2014 15:27:29 GMT',
  server: 'Netgem/1.0 (HTTPserver)',
  'accept-ranges': 'bytes',
  'content-length': '2026',
  'content-type': 'text/xml; charset="utf-8"',
  connection: 'Keep-Alive',
  'keep-alive': 'timeout=15, max=9',
  'access-control-allow-origin': '*' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { modelURL: 'http://www.netgem.com',
        iconList: 
         { icon: 
            [ { mimetype: 'image/png',
                width: 48,
                height: 48,
                depth: 32,
                url: '/UPnP/icons/small.png' },
              { mimetype: 'image/png',
                width: 120,
                height: 120,
                depth: 32,
                url: '/UPnP/icons/large.png' } ] },
        deviceType: 'urn:netgem:device:Netbox:1',
        friendlyName: 'T-Box [65:F2:94]',
        manufacturer: 'Netgem',
        manufacturerURL: 'http://www.netgem.com/',
        modelDescription: 'Netgem set-top-box - Software version 5.4.04-237',
        modelName: 'N8000',
        modelNumber: 285212930,
        UDN: 'uuid:a7a6e12e-672a-4646-a9a2-00043065f294',
        presentationURL: 'http://192.168.0.113:80/',
        deviceList: 
         { device: 
            { deviceType: 'urn:netgem:device:Netbox:1',
              serviceList: 
               { service: 
                  [ { serviceType: 'urn:NWT:0',
                      serviceId: 'upnp:id:NWT',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:PVR:0',
                      serviceId: 'upnp:id:PVR',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:EPG:0',
                      serviceId: 'upnp:id:EPG',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:RemoteControl:0',
                      serviceId: 'upnp:id:RemoteControl',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:Ruby:0',
                      serviceId: 'upnp:id:Ruby',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:Live:0',
                      serviceId: 'upnp:id:Live',
                      SCPDURL: 'http://192.168.0.113:80/' },
                    { serviceType: 'urn:BigPondMovies:0',
                      serviceId: 'upnp:id:BigPondMovies',
                      SCPDURL: 'http://192.168.0.113:80/' } ] } } } } } }

{ address: '192.168.0.113',
  family: 'IPv4',
  port: 40953,
  size: 231 }
{ ST: 'upnp:rootdevice',
  USN: 'uuid:0b117403-889a-4765-a80c-00043065f294::upnp:rootdevice',
  LOCATION: 'http://192.168.0.113:5678/description.xml',
  SERVER: 'Linux/2.4 UPnP/1.0 Netgem/1.0',
  EXT: '',
  'CACHE-CONTROL': 'max-age=900' }
http://192.168.0.113:5678/description.xml
{ date: 'Tue, 29 Apr 2014 15:27:29 GMT',
  server: 'Netgem/1.0 (RemoteControlServer)',
  'accept-ranges': 'bytes',
  'content-length': '564',
  'content-type': 'text/xml; charset="utf-8"',
  connection: 'Keep-Alive',
  'keep-alive': 'timeout=15, max=9' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:Basic:1',
        friendlyName: 'T-Box [65:F2:94]',
        manufacturer: 'Netgem',
        manufacturerURL: 'http://www.netgem.com/',
        modelName: 'T-Box',
        modelNumber: '8000 v5.4.04-237',
        modelURL: 'http://www.netgem.com/',
        UDN: 'uuid:0b117403-889a-4765-a80c-00043065f294',
        presentationURL: '/description.xml' } } }

{ address: '192.168.0.25',
  family: 'IPv4',
  port: 38739,
  size: 284 }
{ Location: 'http://192.168.0.25:1863/DeviceDescription.xml',
  'Cache-Control': 'max-age=1800',
  Server: 'UPnP/1.0 DLNADOC/1.50 Platinum/0.6.9.1',
  EXT: '',
  USN: 'uuid:0122f9bb-f217-9f2c-5e7c-8059840656d5::upnp:rootdevice',
  ST: 'upnp:rootdevice',
  Date: 'Tue, 29 Apr 2014 15:27:28 GMT' }
http://192.168.0.25:1863/DeviceDescription.xml
{ date: 'Tue, 29 Apr 2014 15:27:28 GMT',
  'content-length': '2937',
  'content-type': 'text/xml; charset="utf-8"',
  server: 'UPnP/1.0 DLNADOC/1.50 Platinum/0.6.9.1' }
{ root: 
   { xmlns: 'urn:schemas-upnp-org:device-1-0',
     'xmlns:dlna': 'urn:schemas-dlna-org:device-1-0',
     specVersion: { major: 1, minor: 0 },
     device: 
      { deviceType: 'urn:schemas-upnp-org:device:MediaServer:1',
        friendlyName: 'XBMC (raspbmc)',
        manufacturer: 'Microsoft Corporation',
        manufacturerURL: 'http://www.xbmc.org/',
        modelDescription: 'XBMC Media Center - Media Server',
        modelName: 'XBMC Media Center',
        modelURL: 'http://www.xbmc.org/',
        modelNumber: '12.2 Git:20131204-5a51fa8',
        serialNumber: {},
        UDN: 'uuid:0122f9bb-f217-9f2c-5e7c-8059840656d5',
        presentationURL: 'http://192.168.0.25/',
        'dlna:X_DLNADOC': 
         { 'xmlns:dlna': 'urn:schemas-dlna-org:device-1-0',
           '$t': 'DMS-1.50' },
        iconList: 
         { icon: 
            [ { mimetype: 'image/png',
                width: 256,
                height: 256,
                depth: 24,
                url: '/icon-flat-256x256.png' },
              { mimetype: 'image/png',
                width: 120,
                height: 120,
                depth: 24,
                url: '/icon-flat-120x120.png' } ] },
        serviceList: 
         { service: 
            [ { serviceType: 'urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1',
                serviceId: 'urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar',
                SCPDURL: '/X_MS_MediaReceiverRegistrar/0122f9bb-f217-9f2c-5e7c-8059840656d5/scpd.xml',
                controlURL: '/X_MS_MediaReceiverRegistrar/0122f9bb-f217-9f2c-5e7c-8059840656d5/control.xml',
                eventSubURL: '/X_MS_MediaReceiverRegistrar/0122f9bb-f217-9f2c-5e7c-8059840656d5/event.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ContentDirectory:1',
                serviceId: 'urn:upnp-org:serviceId:ContentDirectory',
                SCPDURL: '/ContentDirectory/0122f9bb-f217-9f2c-5e7c-8059840656d5/scpd.xml',
                controlURL: '/ContentDirectory/0122f9bb-f217-9f2c-5e7c-8059840656d5/control.xml',
                eventSubURL: '/ContentDirectory/0122f9bb-f217-9f2c-5e7c-8059840656d5/event.xml' },
              { serviceType: 'urn:schemas-upnp-org:service:ConnectionManager:1',
                serviceId: 'urn:upnp-org:serviceId:ConnectionManager',
                SCPDURL: '/ConnectionManager/0122f9bb-f217-9f2c-5e7c-8059840656d5/scpd.xml',
                controlURL: '/ConnectionManager/0122f9bb-f217-9f2c-5e7c-8059840656d5/control.xml',
                eventSubURL: '/ConnectionManager/0122f9bb-f217-9f2c-5e7c-8059840656d5/event.xml' } ] } } } }
stormboy commented 10 years ago
curl http://192.168.0.9:8080/description.xml
<?xml version="1.0"?>
<root
  xmlns="urn:schemas-upnp-org:device-1-0"
  xmlns:ms=" urn:microsoft-com:wmc-1-0"
  xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11"
  xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation">
    <specVersion>
        <major>1</major>
        <minor>0</minor>
    </specVersion>
    <device
      ms:X_MS_SupportsWMDRM="true">
        <av:X_ipRemoteReady xmlns:av="http://www.pioneerelectronics.com/xmlns/av">1</av:X_ipRemoteReady>
        <av:X_ipRemoteTcpPort xmlns:av="http://www.pioneerelectronics.com/xmlns/av">8102</av:X_ipRemoteTcpPort>
        <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
        <pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001
                </pnpx:X_compatibleId>
        <pnpx:X_deviceCategory>MediaDevices
                </pnpx:X_deviceCategory>
        <pnpx:X_hardwareId>VEN_0033&amp;DEV_000C&amp;REV_01
                </pnpx:X_hardwareId>
        <df:X_deviceCategory>Multimedia.DMR
                </df:X_deviceCategory>
        <deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
        <friendlyName>VSX-2021</friendlyName>
        <manufacturer>PIONEER CORPORATION</manufacturer>
        <manufacturerURL>http://www.pioneerelectronics.com</manufacturerURL>
        <modelDescription>Digital Media Client</modelDescription>
        <modelName>VSX-2021/SYXJ5</modelName>
        <modelNumber>Digital Media Client</modelNumber>
        <UDN>uuid:5F9EC1B3-ED59-79BB-4530-00E036FB1554</UDN>
        <UPC>123810928305556upc</UPC>
        <iconList>
            <icon>
                <mimetype>image/jpeg</mimetype>
                <width>48</width>
                <height>48</height>
                <depth>24</depth>
                <url>/pioneer_icon_sm.jpg</url>
            </icon>
            <icon>
                <mimetype>image/jpeg</mimetype>
                <width>120</width>
                <height>120</height>
                <depth>24</depth>
                <url>/pioneer_icon_lrg.jpg</url>
            </icon>
            <icon>
                <mimetype>image/png</mimetype>
                <width>48</width>
                <height>48</height>
                <depth>24</depth>
                <url>/pioneer_icon_sm.png</url>
            </icon>
            <icon>
                <mimetype>image/png</mimetype>
                <width>120</width>
                <height>120</height>
                <depth>24</depth>
                <url>/pioneer_icon_lrg.png</url>
            </icon>
        </iconList>
        <serviceList>
            <service>
                <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
                <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
                <SCPDURL>/RenderingControl/desc.xml</SCPDURL>
                <controlURL>/RenderingControl/ctrl</controlURL>
                <eventSubURL>/RenderingControl/evt</eventSubURL>
            </service>
            <service>
                <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
                <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
                <SCPDURL>/ConnectionManager/desc.xml</SCPDURL>
                <controlURL>/ConnectionManager/ctrl</controlURL>
                <eventSubURL>/ConnectionManager/evt</eventSubURL>
            </service>
            <service>
                <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
                <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
                <SCPDURL>/AVTransport/desc.xml</SCPDURL>
                <controlURL>/AVTransport/ctrl</controlURL>
                <eventSubURL>/AVTransport/evt</eventSubURL>
            </service>
        </serviceList>
        <presentationURL>http://192.168.0.9/1000/pioneer_friendlyname.asp</presentationURL>
    </device>
stormboy commented 10 years ago

The AVR is at 192.168.0.9 I included the device description file too. The port is described in the entry:

<av:X_ipRemoteTcpPort xmlns:av="http://www.pioneerelectronics.com/xmlns/av">8102</av:X_ipRemoteTcpPort>
mrose17 commented 10 years ago

thanks! so what we can do is write a driver for the steward that looks for the device via UPnP, and when it finds it, i can use this module to talk to it… you'll have to do the debugging though (-;

mrose17 commented 10 years ago

i've got most of the driver written (adding something to the HTML5/D3 client is another matter).

regardless, here's one question:

when you connect to the receiver, does it automatically send anything, e.g., power, volume, muted, or source.

when it tells you what the input is (via an "FN"), does it always send an "RGB"? if so, does the "RGB" get sent before or after the "FN"?

thanks!