Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is easy discover of devices still possible? #10

Closed
sschuberth opened this issue Dec 27, 2020 · 1 comment
Closed

Question: Is easy discover of devices still possible? #10

sschuberth opened this issue Dec 27, 2020 · 1 comment
Labels
question Further information is requested

Comments

@sschuberth
Copy link

Sorry for this question type of issue, but I'm currently looking at which Java library to use for a Sonos project I'm planning. Compared to this (a bit dated) library, whose basic usage is to simply run List<SonosDevice> devices = SonosDiscovery.discover();, the prerequisites for this library seem rather complex. Is this due to Sonos having changed something on their side (and that dated library would not work anymore), or is it due to this library doing something different than the other library, or is it due to something else?

Thanks for any insights!

@nightowlengineer
Copy link
Owner

Apologies for the delayed (!) reply here. The API integration here is a different method to the more 'local' control offered through other methods. My reading of the documentation is that they hope to make the two consistent over the long term, but who knows when that will happen. This type of integration is more suited for web apps and similar where you want to offer some unique features on top of Sonos control, versus the more local control which is usually focused around providing a 'better' level of control for devices (in my opinion).

That said, the prereqs aren't overly onerous, but OAuth is certainly a lot more complex than 'just' discovering local network devices for sure.

@nightowlengineer nightowlengineer added the question Further information is requested label May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants