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

sonos.getTopology() does not work after upgrading to Sonos version 9.1 #332

Closed
magnlund opened this issue Sep 5, 2018 · 12 comments · Fixed by #334
Closed

sonos.getTopology() does not work after upgrading to Sonos version 9.1 #332

magnlund opened this issue Sep 5, 2018 · 12 comments · Fixed by #334

Comments

@magnlund
Copy link

magnlund commented Sep 5, 2018

After upgrading to Sonos Version 9.1 sonos.getTopolgy() does not work anylonger and therefore sonos.JoinGroup() fails

Expected Behavior

http://IP_ADRESS:1400/status/topology seems to be empty and therefore sonos.getTopology() fails with error message "Cannot read property 'ZonePlayer' of undefined"

Possible Solution

I would really like an update on this cause grouping management is essential in my HA setup. Thanks in advance

Versions (and Environment)

Node version: 8.9.3
node-sonos version: 1.4.1
OS:

@ebaauw
Copy link
Contributor

ebaauw commented Sep 5, 2018

This got me scared, but it looks like homebridge-zp is still working. Please be aware that upgrading the ZonePlayer causes it to reboot, losing all subscriptions. There's no notification (that I've seen, or handle) to clients with an open subscription, so effectively clients are no longer receiving events until they renew the subscription or are restarted.

@magnlund
Copy link
Author

magnlund commented Sep 6, 2018 via email

@ebaauw
Copy link
Contributor

ebaauw commented Sep 6, 2018

That’s what I needed to do.

@magnlund
Copy link
Author

magnlund commented Sep 6, 2018 via email

@magnlund
Copy link
Author

magnlund commented Sep 6, 2018 via email

@ebaauw
Copy link
Contributor

ebaauw commented Sep 6, 2018

http://IP_ADRESS:1400/status/topology

These are undocumented debug pages, and have been known to change unannounced. Best not base node-sonos (or any client) on this. Use the zoneGroupTopology service instead.

@magnlund
Copy link
Author

magnlund commented Sep 6, 2018 via email

@bencevans
Copy link
Owner

🎉 This issue has been resolved in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@magnlund
Copy link
Author

Just installed 1.5.0. Works like a charm. Thank you SO MUCH for this quick response

@jcleek
Copy link

jcleek commented Sep 10, 2018

Can you tell me how exactly you installed the new version and got it to work? I have tried both packages listed by bencevans and neither cause it to work. Homebridge crashes on SONOS.

@magnlund
Copy link
Author

magnlund commented Sep 11, 2018 via email

@jcleek
Copy link

jcleek commented Sep 11, 2018

ah, ok. Thank you sir. Hopefully someone smarter than me can get this working with homebridge.

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

Successfully merging a pull request may close this issue.

4 participants