Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Discovers other devices than Sonos #3

Open
esba opened this issue Feb 4, 2017 · 1 comment
Open

Discovers other devices than Sonos #3

esba opened this issue Feb 4, 2017 · 1 comment
Assignees

Comments

@esba
Copy link

esba commented Feb 4, 2017

When doing SonosDiscovery.discover(), I can see other devices in the list, not only Sonos. For instance it also finds my Philips Hue bridge.

Example of found Sonos device (uudi removed):
Device{ip='192.168.10.107', descriptionUrl='http://192.168.10.107:1400/xml/device_description.xml', server='Linux UPnP/1.0 Sonos/35.3-37210 (ZPS1)', serviceType='urn:schemas-upnp-org:device:ZonePlayer:1', usn='uuid:RINCON_XXXXXXXXXXXXXXXXX::urn:schemas-upnp-org:device:ZonePlayer:1'}

Example of non-Sonos device, Hue Brigde (uudi removed):
Device{ip='192.168.10.105', descriptionUrl='http://192.168.10.105:80/description.xml', server='Linux/3.14.0 UPnP/1.0 IpBridge/1.16.0', serviceType='upnp:rootdevice', usn='uuid:XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX::upnp:rootdevice'}

I can see you are using SSDPClient.discover(1000, "**urn:schemas-upnp-org:device:ZonePlayer:1**"); when discovering, but doesn't seem to work correct.
I don't know if the issues is in the sonos-controller library or in the SSDP library. Great library anyway, I really enjoy testing all the capabilities!

PS. Sorry to bother you again ;)

@esba esba changed the title Find other devices than Sonos Discovers other devices than Sonos Feb 4, 2017
@vmichalak vmichalak added the bug label Feb 4, 2017
@vmichalak vmichalak self-assigned this Feb 4, 2017
@vmichalak
Copy link
Owner

Sorry, I don't have Philips Hue and i don't understand why your Philips Hue Bridge respond to SSDP Request. I check and the request is correctly sended ... It's really strange

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants