[Nearing Release] Sonos Advanced Controller

I installed it via the libraries and code, and no devices were returned.
I then installed it via HPM, and one device was created, which does not work.
Logs from the created device show:

dev:31682024-07-25 06:45:00.237warnnull: No address associated with hostname

dev:31682024-07-25 06:44:44.612warnnull: No address associated with hostname

Thoughts?

The older Sonos Integration still works, and shows all devices, but I wanted the other features through the Advanced app.

I would delete it all and install in from HPM to ensure all the drivers are installed correctly.

Then start again.

Okay. Just did that.
It discovered all of my sonos speakers.
WHen I wnt to create the devices, only one was created, and when I tried to save preferences on it the app crashed.

Here is the log file from that one device:

Looking at the logs for the Sonos Advanced COntroller, it seems like it cannot connect to any of the speakers (Could not connect to 192.x.x.x)

1 Like

My Sonos speakers are getting a connection error using Sonos Integration so tried to install Sonos Advanced Controller via HPM and it fails. Tried installing via raw github file and get library not found on line 24: #include dwinks.UtilitiesAndLoggingLibrary Any ideas on how to remedy? TIA

There is a library component to download and install via gihub. It worked for me.

Ok, thanks.

If you have not read this you may find it interesting...

What happened to the Sonos app?

2 Likes

I've scanned this thread but haven't found an answer to my question (but I may have missed something)...

I'm using the Advanced Controller successfully in my setup. However, what I haven't quite figured out is how to use the "Get Favorites" button in the device. I saw near the beginning of this thread that @KurtSanders included a screen capture showing a couple of his Sonos favorites presumably as output from the "Get Favorites" function.

Perhaps a stupid question, but how & where do I use that button to get a full listing of my favorites. They aren't displaying on the right side of the screen with all other other device (Sonos) information. Do I need to look in a log somewhere? Do I need to create a dashboard to see the output?

Any assistance would be appreciated. I don't have a huge number of Sonos favorites in my system - maybe 10-12 - but I'd like the full list so I don't have to guess the favorite number.

Thanks in advance for any guidance.

@SF_Sig I am no longer seeing any 'Sonos Favorites' in any if my SAC devices, even after invoking the 'Initialize' and 'Get Favorites' commands in my SAC devices.

@daniel.winks Perhaps the 'Get Favorites' was an earlier SAC feature where this SAC function/method worked and now Sonos is not returning the list of Favorites?

As a side note, the macOS Sonos Controller app does not show any Sonos favorites except an NPR radio, which is weird, but my iOS S2 Sonos Controller app and Sonos Web Browser does... I do have say that Sonos has really changed their various controller apps and it is very frustrating to have to switch between macOS , WebOS and iOS to see some features in one and not in the other.

iOS S2 Sonos Controller

Web Browser Sonos Controller (https://play.sonos.com/en-us/web-app)

macOS Sonos Controller

Get Favorites is still working for me.

Remember, Favorites do not appear in the speaker devices created by SAC. They appear in the child devices created when you enable this switch↓ in the speaker device and then click the "Save Preferences" button.

03

When that preference is enabled, you will find the child device directly below the speaker in which it was created.

If you open the child device and press Get Favorities, your favorities should appear in a list below as a State variable.

As for Sonos own apps, many people are have all kinds of trouble with them right now. But this should not affect SAC, and hasn't for me so far.

@bthrock

As I stated, my favorites are incomplete, and I suspect that Sonos's device software is at fault. The only favorites that is being discovered by SAC is NPR, which reflects my macOS Sonos app's favorite's view, but does not reflect the iOS and WebOS favorites.

But if I add a new Sonos playlist to a new Sonos Favorites using macOS Sonos app, SAC picks up the new ones. Perhaps the old Sonos favorites have to be recreated to synchronize across all Sonos S2 controller apps, macOS, WebOS and SAC favorites child device.

My apologies, Kurt, I was trying to reply to both you @SF_Sig and really should have written two replies or parsed the message so as not to conflate the issues.

My intended point to you was only that I believe SAC is working as it always has. However, as I'm sure you know, SAC, like many third-party Sonos integrations, functions locally, issuing commands to and receiving data (include "favorites") from the local devices, while the new Sonos apps work via the API ("in the cloud"). Given the terrible state of the new Sonos app, it doesn't really surprise me to hear that there may be a disconnect between the two that wasn't there before.

Anyway, at this junction I suspect that clumsily-written apps are more likely to blame than device firmware, but I'm not discounting the possibility of the latter. I'm just basing that on what I've seen so far with the various local (UPnP, websocket, etc.) and API-based integrations I have active today,

You've got me curious, though, and I should probably build some automated tests to follow this local v. cloud issue more closely. I know that's not helpful to you at the moment, and again I'm sorry again for the poorly structured reply to your initial post.

1 Like

Thank you both, @KurtSanders and @bthrock for your replies.

@KurtSanders - I have noticed flakey behavior between the new (latest release) iOS app on my phone and the MacOS app. And I'm aware of all the issues with the re-designed/re-architected app. That said, I've never had an issue with my favorites on either of those. What I was really after was the list of favorites with the favorite # - as that is obviously needed to use the SAC LoadFavorite function. I had somehow expected that clicking "Get Favorites" would display them somewhere on my device parameters, until...

Thanks, @bthrock , for pointing me to that switch to create a child device for favorites. Had no idea that switch was even there and, even if I had seen it, I probably wouldn't have thought that's what it was for. I've turned it on, and now have a complete list of my favorites, along with their numbers, to work with. Huge help, and much appreciated!

2 Likes

@bthrock @SF_Sig

Just got off the technical support line with Sonos and (after they checked my Sonos system) they confirmed that there is a known bug with managing 'Sonos Favorites' with the Sonos controller clients/apps (Windows/macOS/iOS/WebOS). Their developers are {supposedly} working to resolve this issue so that Sonos customers can effectively manage their Sonos Favorites.

My Sonos Favorites are in a horrible disarray since the introduction of the new S2 iOS Sonos controller and various macOS controller updates. I cannot create, delete or play from the favorites list. The macOS app hides the favorites ghosts, but will not create new. Total mess #SonosDoBetter

Sonos did not commit to a date for this fix. :rage:

3 Likes

That's great info. Thanks for passing it along!

2 Likes

Hi first time trying to set up Sonos Controller not completely sure on the set up. Getting this error in the log.
Thanks

Might want to post the error, your Sonos types and type of router you are using.

I put off trying this as i was "ok" with the built-in app. but after doing some work to the system, I decided to pull that app and use this to see how does,

So, When I add all my 7 sonos speakers, it sees all 7 and I add "create" them by checking the boxes etc and creating.

After that, the Hub's "devices" tab only sees the first one in the list. And if I try to make a "notification" app, it only sees/offers the one speaker again, and if chosen, it doesn't function as expected. Maybe I forgot something, but any idea what I'm doing wrong?

The old app functioned ok. But I liked the stuff this new app seems to do.

PS: I'm not creating a "group" if that means anything. Not sure if I have to. But looking at it and trying, it did not seem to be allowing it. It also doesn't see all of the 7 speakers, just one.

Thanks. Sorry if this is a dumb issue issue I've created for myself :slight_smile: haha.

I see others are sorta in the same boat, so I will just wait to see where it all goes! Thanks!

Unfortunately, the developer of this app has been unresponsive since April 2024. I encountered a similar issue when uninstalled, deleted, re-installed and re-setup all my players. My setup was a bit chaotic, as I had helped with a lot of the initial testing.

What worked for me was running the full setup process repeatedly for each of my devices—just the setup, not the installation. Eventually, all the players showed up as Devices. I hope this approach helps you too.

Hopefully, the developer will return to this project soon.

1 Like